hwclockfirst should run before checkroot in rcS.d

Bug #28072 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
util-linux (Debian)
Fix Released
Unknown
util-linux (Ubuntu)
Invalid
High
LaMont Jones

Bug Description

Automatically imported from Debian bug report #344818 http://bugs.debian.org/344818

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 10:32:39 -0500 (EST)
From: "Troy A. Johnson" <email address hidden>
To: <email address hidden>
Subject: hwclockfirst should run before checkroot in rcS.d

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 10:53:01 -0500 (EST)
From: "Troy A. Johnson" <email address hidden>
To: <email address hidden>
Subject: minor correction

Last line of my email should have read:

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

-Troy

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 20:04:28 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: [Pkg-sysvinit-devel] Bug#344818: hwclockfirst should run before
 checkroot in rcS.d

reassign 344818 util-linux
stop

Yes, it would be good if util-linux's initscripts set the hardware clock
before S10checkroot.sh.
--
Thomas Hood

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 27 Dec 2005 13:08:08 -0500
From: Joey Hess <email address hidden>
To: <email address hidden>
Subject: hwclockfirst.sh is run too late, after fsck

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

We're seeing this problem with certian ADS bitsyxb hardware that doesn't ha=
ve
a valid time until hwclock is run. Possible results range from fsck never
running even after the max interval between checks has been reached, to it
running at every single boot.

We've avoided this problem by adding a link to call hwclockfirst.sh
before the fsck.

--=20
see shy jo

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDsYMHd8HHehbQuO8RAhMaAJsHYYzKKpylwQYk9ufZpHzWh+1MUQCfW9IL
6jH24edjhunStfIvFLzVBgs=
=0NoL
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 14:15:16 +0100
From: Thomas Hood <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: housekeeping

severity 344818 serious
tags 344818 patch
merge 344818 342887
retitle 300559 util-linux: hwclock hangs up Dell PW 670
retitle 339831 util-linux: [hwclock] Typos in hwclock.sh
stop

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Marking as duplicate based on debbugs merge (342887,344818)

This bug has been marked as a duplicate of bug 26926.

Changed in util-linux:
status: Unconfirmed → Fix Released
Changed in util-linux:
status: Fix Released → Unconfirmed
Changed in util-linux:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.