[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#269668: rdiff-backup crashes trying to backup to NFS directory



Package: rdiff-backup
Version: 0.13.4-3
Severity: grave
Justification: renders package unusable


I have been using rdiff-backup for daily backups of a working directory
for a quite a while now. Recently it stopped working (I cannot say for
sure if it was after I upgraded to 0.13.4-3, but I think so).

I am backing up a subfolder of my ~ dir to a directory on another machine
mounted via NFS. I have rwx------ on the backup target directory. Now,
I keep getting crashes when rdiff backup starts (Traceback see below).

I have tried backing up to another local folder. That works fine.
I have tried to access the NFS folder not through the symbolic link in 
my ~, but through the path of the mount point. Didn't work either.

The strange thing is, I never changed the way I call rdiff-backup. This
was in a little shell script.

Kind regards


Andreas


neudecke@pegasus:~$ rdiff-backup --exclude-special-files ~/biologie/diplom/ /import/Linux/home/neudecke/Daten/diplom-rdiff-backup
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at /import/Linux/home/neudecke/Daten/diplom-rdiff-backup/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          Off
  Directory inc permissions                    On
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 273, in Backup
    backup_final_init(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 365, in backup_final_init
    Log.open_logfile(Globals.rbdir.append("backup.log"))
  File "/usr/lib/python2.3/site-packages/rdiff_backup/log.py", line 61, in open_logfile
    rpath.conn.log.Log.open_logfile_local(rpath)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/log.py", line 75, in open_logfile_local
    raise LoggerError("Unable to open logfile %s: %s"
rdiff_backup.log.LoggerError: Unable to open logfile /import/Linux/home/neudecke/Daten/diplom-rdiff-backup/rdiff-backup-data/backup.log: [Errno 21] Is a directory: '/import/Linux/home/neudecke/Daten/diplom-rdiff-backup/rdiff-backup-data/backup.log'



neudecke@pegasus:~$ rdiff-backup --exclude-special-files ~/biologie/diplom/ ~/daten/diplom-rdiff-backup
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at /home/neudecke/daten/diplo m-rdiff-backup/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          Off
  Directory inc permissions                    On
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Mai n
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in tak e_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 273, in Bac kup
    backup_final_init(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 365, in bac kup_final_init
    Log.open_logfile(Globals.rbdir.append("backup.log"))
  File "/usr/lib/python2.3/site-packages/rdiff_backup/log.py", line 61, in open_ logfile
    rpath.conn.log.Log.open_logfile_local(rpath)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/log.py", line 75, in open_ logfile_local
    raise LoggerError("Unable to open logfile %s: %s"
rdiff_backup.log.LoggerError: Unable to open logfile /home/neudecke/daten/diplom -rdiff-backup/rdiff-backup-data/backup.log: [Errno 21] Is a directory: '/home/ne udecke/daten/diplom-rdiff-backup/rdiff-backup-data/backup.log'



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (400, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-386
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages rdiff-backup depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  librsync1                   0.9.6-8      Binary diff library based on the r
ii  python2.3                   2.3.4-10sid  An interactive high-level object-o
ii  rdiff                       0.9.6-8      Binary diff tool for signature-bas

-- no debconf information



Reply to: