[lug] corrupt route table

Warren Sanders sanders at MontanaLinux.Org
Sun Nov 11 14:27:40 MST 2001


In addition to my details...

Running RH 6.2 kernel-2.2.19-6.2.7 with the latest updates besides the latest
kernel of course.
 
 
Two files in my cron.weekly are:
-rwxr-xr-x    1 root     root          277 Mar  3  2000 0anacron
-rwxr-xr-x    1 root     root          399 Aug 24 11:03 makewhatis.cron
 
0anacron reads:
#!/bin/sh
#
# anacron's cron script
#
# This script updates anacron time stamps. It is called through run-parts
# either by anacron itself or by cron.
#
# The script is called "0anacron" to assure that it will be executed
# _before_ all other scripts.
 
anacron -u cron.weekly
 
makewhatis.cron reads:
#!/bin/bash
 
LOCKFILE=/var/lock/makewhatis.lock
 
# the lockfile is not meant to be perfect, it's just in case the
# two makewhatis cron scripts get run close to each other to keep
# them from stepping on each other's toes.  The worst that will
# happen is that they will temporarily corrupt the database...
[ -f $LOCKFILE ] && exit 0
trap "rm -f $LOCKFILE" EXIT
touch $LOCKFILE
makewhatis -w
exit 0

-- 
Warren Sanders
http://MontanaLinux.Org




More information about the LUG mailing list