/etc/init.d/halt does not declare dependencies

Bug #739007 reported by Thilo-Alexander Ginkel
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Debian)
sysvinit (Ubuntu)

Bug Description

Binary package hint: sysvinit

Description: Ubuntu 10.10
Release: 10.10

  Installed: 2.87dsf-4ubuntu19
  Candidate: 2.87dsf-4ubuntu19

The init script /etc/init.d/halt does not declare any dependencies, which causes it to be inserted very early in the shutdown sequence when recalculating the script order using insserv.

This causes the system to be powered off before the shutdown is complete (as halt is inserted as S01halt) and ends up with dirty filesystems.

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

The same applies to /etc/init.d/reboot

Changed in sysvinit (Debian):
status: Unknown → New
Revision history for this message
David Clayton (dcstar) wrote :

This also affects new Ubuntu 10.04.3 installs.

Manually renaming /etc/rc0.d/S01halt to S99halt fixes it (as the same for /etc/rc6.d/S99reboot).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sysvinit (Ubuntu):
status: New → Confirmed
Revision history for this message
David Clayton (dcstar) wrote :

Ok, I have now found what was breaking my scripts - VMware Workstation 8/Player - I verified that the install process of this program changed all the run levels in /etc/rc0.d & /etc/rc6.d on my fresh 10.04 test system. I have reported it to the VMware forums.

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.