FS#3489 - dbus does not restart after irregular shutdown

Attached to Project: Arch Linux
Opened by Tom Killian (tomk) - Tuesday, 15 November 2005, 18:21 GMT
Last edited by Dale Blount (dale) - Tuesday, 15 November 2005, 18:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


dbus now writes its pid to /var/run/dbus/pid. If the system shuts down unexpectedly e.g. power failure, on reboot, the "Removing Leftover Files" section in rc.sysinit, does not remove this pid. The closest it comes is

/bin/rm -f /var/run/*.pid &>/dev/null

This causes dbus to fail. The pid must be removed manually, and dbus started again.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 15 November 2005, 18:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  Latest version of dbus removes the pidfile on startup if the pid belonging to it isn't running.