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

Bug #739007 reported by Thilo-Alexander Ginkel on 2011-03-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Debian)
New
Unknown
sysvinit (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: sysvinit

Description: Ubuntu 10.10
Release: 10.10

initscripts:
  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.

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

Changed in sysvinit (Debian):
status: Unknown → New
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).

Launchpad Janitor (janitor) wrote :

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

Changed in sysvinit (Ubuntu):
status: New → Confirmed
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  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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