[Box Backup] I have the fear....

Ben Bennett boxbackup@fluffy.co.uk
Wed, 14 Mar 2007 19:51:31 -0400

On Wed, Mar 14, 2007 at 10:11:59PM +0000, Chris Wilson wrote:
> I can't reproduce the problem when the timestamps differ, but I do 
> understand how this bug could occur if the timestamps are the same. My 
> gentoo box does not touch the original file at all when updating, not even 
> changing its timestamp. So I think there may be something wrong with your 
> gentoo box (perhaps an old/buggy version of portage?)

Thanks for persevering at this.  I ran an emerge yesterday and had the
same problem.  So I can reproduce it, but I haven't assembled enough
information to assist in debug.  I will run it again soon (as soon as
there is new stuff to emerge) and get ls -l output of all files under
/etc after each stage.

I am using dispatch-conf to do my config updates... I have a suspicion
that that is the culprit.

However, I am not sure that I understand why a new version of the file
is created on the server with the original contents when the file is
changed locally.  I could understand if boxbackup didn't see any
change at all if the timestamps didn't change (but the filesize did,
does it consider that too?), but that is not what happens... it
detects a need to make a new version, but duplicates the existing
backed up version rather than the new contents.

	  Again... many many thanks for the help!