[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #42319] NFS not preserving ownership causes har
From: |
anonymous |
Subject: |
[Rdiff-backup-bugs] [bug #42319] NFS not preserving ownership causes hardlinks to report "Update mirror temp file ... does not match" |
Date: |
Thu, 15 May 2014 21:48:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 |
Follow-up Comment #1, bug #42319 (project rdiff-backup):
More details of the investigation I performed ...
All files reporting UpdateError have multiple hard links:
# ls -il /bin/{ed,red}
2752571 -rwxr-xr-x. 2 root root 10240 Apr 26 20:52 /bin/ed
2752571 -rwxr-xr-x. 2 root root 10240 Apr 26 20:52 /bin/red
# ls -il /lib/terminfo/v/{vt100,vt100-am}
1969383 -rw-r--r--. 2 root root 1194 Aug 18 2010 /lib/terminfo/v/vt100
1969383 -rw-r--r--. 2 root root 1194 Aug 18 2010 /lib/terminfo/v/vt100-am
# ls -il /lib/terminfo/v/vt2?0
1969382 -rw-r--r--. 2 root root 1279 Aug 18 2010 /lib/terminfo/v/vt200
1969382 -rw-r--r--. 2 root root 1279 Aug 18 2010 /lib/terminfo/v/vt220
# ls -il /sbin/dm*_tool
3014987 -rwxr-xr-x. 2 root root 13168 Jun 22 2012 /sbin/dm_dso_reg_tool
3014987 -rwxr-xr-x. 2 root root 13168 Jun 22 2012 /sbin/dmevent_tool
# ls -il /sbin/{fsck.ext*,e2fsck}
3014769 -rwxr-xr-x. 5 root root 197352 Nov 22 12:56 /sbin/e2fsck
3014769 -rwxr-xr-x. 5 root root 197352 Nov 22 12:56 /sbin/fsck.ext2
3014769 -rwxr-xr-x. 5 root root 197352 Nov 22 12:56 /sbin/fsck.ext3
3014769 -rwxr-xr-x. 5 root root 197352 Nov 22 12:56 /sbin/fsck.ext4
3014769 -rwxr-xr-x. 5 root root 197352 Nov 22 12:56 /sbin/fsck.ext4dev
etc.
Applied debugging patch to rdiff-backup which added extra logging messages
into rpath.py equal_loose(). It being the function which triggers
rdiff-backup to report "Update mirror temp file ... does not match source"
errors. The patch adds "Loose compare ..." log messages to report every the
cause of every return path from the equal_loose().
(See attached: rdiff-backup-debug-causes-of-update-error-d1.patch
Not intended for applying upstream)
Log messages from rdiff-backup with verbose >= 7:
Sun May 4 14:41:54 2014 Processing changed file bin/red
Sun May 4 14:41:54 2014 Hard linking
/mnt/autofs/backup/bin/rdiff-backup.tmp.1 to /mnt/autofs/backup/bin/ed
Sun May 4 14:41:54 2014 Loose compare ('bin', 'red') to ('bin',
'rdiff-backup.tmp.1'): user group mismatch: user_group.map_rpath(first)=(0, 0)
!= second.getuidgid()=(99, 99)
Sun May 4 14:41:54 2014 UpdateError bin/red Updated mirror temp file
/mnt/autofs/backup/bin/rdiff-backup.tmp.1 does not match source
Sun May 4 14:41:54 2014 Deleting /mnt/autofs/backup/bin/rdiff-backup.tmp.1
Same "user group mismatch" issue for every UpdateError.
Identify that NFS share was not preserving uid and gids. (See testing in
earlier update).
Thanks,
Mike
(file #31383)
_______________________________________________________
Additional Item Attachment:
File name: rdiff-backup-debug-causes-of-update-error-d1.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?42319>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/