dbus is not started by upstart when the machine-id file is empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dbus
Release: Ubuntu 10.04 LTS
dbus version: 1.2.16-2ubuntu4
Maybe related: #288596
During installation, the /var/lib/
dbus can be started manually using dbus-daemon --system --fork from a root shell, and gdm starts normally afterwards.
Apparently, the pre-start script in /etc/init/dbus.conf does not properly handle the case where machine-id is present but invalid. The relevant command in the pre-start script is dbus-uuidgen --ensure, my guess is that dbus-uuidgen --ensure exits with error failing to validate the UUID, and this causes dbus not starting from upstart.
Not sure what the correct strategy would be in this case - an empty UUID file is clearly going to fail and hence should be removed before dbus-uuidgen --ensure runs.
[ ! -s /var/lib/
-- Michael
Me and another person had the same issue: http:// ubuntuforums. org/showthread. php?t=1470506