Package: storebackup
Version: 1.18.4-2
Severity: normal
Hallo,
the file '/etc/cron.daily/storebackup' contains the line
'configs=`run-parts --list /etc/storebackup.d/`'. This line reads all
config-files for storebackup.
The problem is:
The command run-parts returns only executable. But these config files
contains no executable code or similar parts like '#! ...' .
(If the config files are based on the given example.) It would be strange to
make such files executable.
I think, that they exists two possibilities:
1. (tested)
change the line into 'configs=`ls /etc/storebackup.d/`'
2. (not tested, but should work in a similar way)
add '#!/usr/bin/storeBackup -f ' (I'm not sure, if this works. Maybe, the line
has to call perl.)
at the first line of the example config file, get the config files in
/etc/storebackup.d executable and
change /etc/cron.daily/storebackup into something like
...
if ! nice $file > "$tmplog" 2>&1
then
echo Error running backup for \"$file\" >&2
cat "$tmplog" >&2
delayed_error=1
fi
...
or simple
use 'run-parts /etc/storebackup.d/' directly
Best regards
Sven
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
Versions of packages storebackup depends on:
ii bzip2 1.0.2-5 high-quality block-sorting file co
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii perl 5.8.4-5 Larry Wall's Practical Extraction
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]