Kiss Gabor (Bitman) schrieb:
> Hi Christoph,
>
>>> I think these lines
>>> cd $dir
>>> db4.6_archive | xargs --no-run-if-empty rm -f
> (1)
>>> cd -
>>> might be replaced with
>>> db4.6_archive -h $dir -d
> (2)
>> -d is not what you want. It removes the logfiles which can be delet
Hi Christoph,
> > I think these lines
> > cd $dir
> > db4.6_archive | xargs --no-run-if-empty rm -f
(1)
> > cd -
> > might be replaced with
> > db4.6_archive -h $dir -d
(2)
>
> -d is not what you want. It removes the logfiles which can be deleted
> after backing them up. What we w
Hi Gabor,
Kiss Gabor (Bitman) schrieb:
> I think these lines
> cd $dir
> db4.6_archive | xargs --no-run-if-empty rm -f
> cd -
> might be replaced with
> db4.6_archive -h $dir -d
-d is not what you want. It removes the logfiles which can be deleted
after backing them up. Wh
/etc/cron.daily/sks prints unnecessary things on stdout. Therefore
root receives a mail every day. I mean "cd -" produces a "/".
Running it with -vx options shows it:
# The DB directory holds indexes and keys.
clean_directory /var/lib/sks/DB
+ clean_directory /var/lib/sks/DB
+ dir=/var/lib/sks/DB
Package: sks
Version: 1.1.0-3
Severity: normal
/etc/cron.daily/sks would call "db4.1_archive" but there is no such
command or shell function. Maybe db4.6_archive would work.
Gabor
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture
5 matches
Mail list logo