Your message dated Sat, 26 Aug 2006 21:29:01 -0400
with message-id <[EMAIL PROTECTED]>
and subject line acked NMU
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: duplicity
Version: 0.4.2-2+sftp+amazons3+compression
Severity: serious

bckends.py contains this line:

             commandline = ("echo -e 'cd %s\nls -1' | %s -b - %s" %

echo -e is a bashism. When run on a system where /bin/sh -> dash, this
results in:

[EMAIL PROTECTED]:/usr/lib/python2.3/site-packages/duplicity>duplicity -v9 
--scp-command 'scp ' --ssh-command 'ssh ' --encrypt-key 146B71F8 --sign-key 
146B71F8 --remove-older-than 60D --include '/etc' --exclude '**' / scp://[EMAIL 
PROTECTED]//home/joey/lib/backup/kite/etc
Main action: inc
Reading results of 'echo -e 'cd /home/joey/lib/backup/kite/etc
ls -1' | sftp -b - [EMAIL PROTECTED]'
Invalid command.

And duplicity does full backups over and over (which can be really bad behavior
if you're set up for incrementals). 

Fix is simple, just replace the "echo -e" with a "printf".

(It might also be nice to check for read errors from the popen.)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages duplicity depends on:
ii  gnupg                         1.4.3-1    GNU privacy guard - a free PGP rep
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  librsync1                     0.9.7-1    Library which implements the rsync
ii  python                        2.3.5-10   An interactive high-level object-o
ii  python-gnupginterface         0.3.2-9    Python interface to GnuPG (GPG)

duplicity recommends no packages.

-- no debconf information

-- 
see shy jo


--- End Message ---
--- Begin Message ---
This NMU bug should be closed since the maintainer's current releases
include its fix.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to