[Pkg-sysvinit-devel] Bug#344818: hwclockfirst should run before checkroot in rcS.d

Troy A. Johnson troyj at ecn.purdue.edu
Mon Dec 26 15:32:39 UTC 2005


Package: sysv-rc
Version: 2.86.ds1-6

A comment at the beginning of /etc/init.d/checkroot.sh says that 
hwclockfirst should be started beforehand, however that is not the order 
in /etc/rcS.d.

In /etc/rcS.d, checkroot is S10 whereas hwclockfirst is S22.  This 
numbering means that the root file system is checked before the hardware 
clock is read.

On my system, the incorrect order causes fsck to warn that the superblock 
has a modification date that is in the future.  Various attempts at fixing 
the fsck warning failed until I discovered that changing hwclockfirst to 
S08 (or anything less than S10) eliminates the warning.

Please correct your package so that /etc/rcS.d/S22hwclockfirst.sh is 
renamed S08checkroot.sh.  Thanks.

-Troy




More information about the Pkg-sysvinit-devel mailing list