Package: rsnapshot Version: 1.3.1-1 Severity: important Tags: patch Hi, include_conf `script` is broken in 1.3.1. It will run the script, then try to run the output of the script again, then include THAT in the config file.
Fixed in upstream CVS, the appropriate changes are in the patch supplied. http://rsnapshot.cvs.sourceforge.net/viewvc/rsnapshot/rsnapshot/rsnapshot-program.pl?r1=1.405&r2=1.406 -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rsnapshot depends on: ii liblchown-perl 1.01-1 Perl interface to the lchown() sys ii logrotate 3.7.8-6 Log rotation utility ii perl 5.10.1-17 Larry Wall's Practical Extraction ii rsync 3.0.7-2 fast remote file copy program (lik Versions of packages rsnapshot recommends: ii openssh-client 1:5.5p1-6 secure shell (SSH) client, for sec rsnapshot suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/bin/rsnapshot (from rsnapshot package)
--- /usr/bin/rsnapshot 2010-08-10 14:05:03.529893050 +0100 +++ /usr/bin/rsnapshot 2011-02-20 02:23:30.134409968 +0000 @@ -508,8 +508,8 @@ # open the config file my $config_file = shift() || $config_file; my $CONFIG; - if($config_file =~ /^`.*`$/) { - open($CONFIG, "$config_file|") || + if($config_file =~ /^`(.*)`$/) { + open($CONFIG, "$1 |") || bail("Couldn't execute \"$config_file\" to get config information\nAre you sure you have permission?"); } else { $CONFIG = IO::File->new($config_file)