run-parts: /etc/cron.daily/man-db exited with return code 2
Ich habe an der Datei noch nie was verändert, weiß nicht mal 100 %, was die macht :D
Den Crontab gibts seit anfang an, hab Debian noch CaptainCrunchs Howto installiert.
Hier die Datei man-db:
Code: Select all
#!/bin/sh
#
# Last modification: Thu, 5 Jul 2001 03:32:35 +0100
# man-db cron daily
# expunge old catman pages which have not been read in a week
if [ -d /var/cache/man ]; then
cd /
start-stop-daemon --start --pidfile /dev/null --startas /bin/sh
--oknodo --chuid man -- -c
"find /var/cache/man -type f -name '*.gz' -atime +6 -print0 |
xargs -r0 rm -f"
fi
# regenerate man database
if [ -x /usr/bin/mandb ]; then
# --pidfile /dev/null so it always starts; mandb isn't really a daemon,
# but we want to start it like one.
start-stop-daemon --start --pidfile /dev/null
--startas /usr/lib/man-db/mandb --oknodo --chuid man
-- --no-purge >/dev/null 2>/dev/null
fi
