obsolete init script hwclock.sh after upstart migration

Bug #434767 reported by Michael Biebl
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Fix Released
Scott James Remnant (Canonical)

Bug Description

Binary package hint: util-linux

util-linux ships native upstart jobs.

After the upgrade the sysv init script
/etc/init.d/hwclock.sh and the symlinks
/etc/rc0.d/K25hwclock.sh /etc/rc6.d/K25hwclock.sh
are not removed.

hwclock.sh is marked as obsolete:
/etc/init.d/hwclock.sh 2e480c2fbb71772346116db514831114 obsolete

ProblemType: Bug
Architecture: i386
Date: Tue Sep 22 19:12:56 2009
DistroRelease: Ubuntu 9.10
Package: util-linux 2.16-1ubuntu3
 PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: util-linux
Uname: Linux 2.6.31-10-generic i686

Related branches

Revision history for this message
Michael Biebl (mbiebl) wrote :
Revision history for this message
Michael Biebl (mbiebl) wrote :

The package also still ships the directory
which is no longer required as the udev rules file has been removed/replaced.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

I'm not sure why this init script is obsolete, it shouldn't be - it's still used on shutdown

Changed in util-linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Actually it's not used on shutdown, I replace it with an Upstart job there too, so this does need to be cleaned up

Changed in util-linux (Ubuntu):
assignee: nobody → Scott James Remnant (scott)
milestone: none → ubuntu-9.10-beta
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package util-linux - 2.16-1ubuntu4

util-linux (2.16-1ubuntu4) karmic; urgency=low

  * Removed access checks for hardware clock when called with --systz,
    since we may not have the rtc device at the point we run hwclock.
    I believe this is the cause of LP: #436076.
  * Set kernel timezone even when the hardware clock is in UTC.
    LP: #426886.

  * Don't step the system clock, or save the hardware clock on upgrades
    in case the time isn't quite correct. LP: #430878.
  * Remove the hwclock.sh and hwclockfirst.sh scripts on upgrades, since
    these are now Upstart jobs. LP: #434767.

 -- Scott James Remnant <email address hidden> Thu, 24 Sep 2009 12:31:29 -0700

Changed in util-linux (Ubuntu):
status: Fix Committed → 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.