dapper->hardy upgrade dbus reload fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: hal
During a dapper->hardy upgrade, the following error occured (I got a conffile prompt before, this might be releated):
[72.1738] hal: Configuring hal
n^M
Installing new version of config file /etc/hal/
Installing new version of config file /etc/dbus-
perl: warning: Setting locale failed.^M
perl: warning: Please check that your locale settings:^M
LANGUAGE = (unset),^M
LC_ALL = (unset),^M
LANG = "en_DK.UTF-8"^M
are supported and installed on your system.^M
perl: warning: Falling back to the standard locale ("C").^M
* Reloading system message bus config...^M
Failed to open connection to system message bus: Failed to connect to socket /var/run/
invoke-rc.d: initscript dbus, action "force-reload" failed.^M
perl: warning: Setting locale failed.^M
perl: warning: Please check that your locale settings:^M
LANGUAGE = (unset),^M
LC_ALL = (unset),^M
LANG = "en_DK.UTF-8"^M
are supported and installed on your system.^M
perl: warning: Falling back to the standard locale ("C").^M
* Starting Hardware abstraction layer hald^M
invoke-rc.d: initscript hal, action "start" failed.^M
dpkg: error processing hal (--configure):^M
subprocess post-installation script returned error exit status 2^M
Changed in hal: | |
status: | New → In Progress |
The output of sh -xv on the failing script:
+ set -e dbus/system_ bus_socket: Connection refused invoke- rc.d ']' dpkg/info/ /hal.postinst' , 'configure']
+ case "$1" in
+ getent passwd haldaemon
+ getent group powerdev
+ getent group plugdev
+ chown haldaemon:haldaemon /var/run/hal
+ '[' -x /etc/init.d/dbus ']'
+ invoke-rc.d dbus force-reload
* Reloading system message bus config...
Failed to open connection to system message bus: Failed to connect to socket /var/run/
invoke-rc.d: initscript dbus, action "force-reload" failed.
+ true
+ dpkg --compare-versions '' le-nl 0.5.8.1-3ubuntu7
+ '[' -x /etc/init.d/hal ']'
+ update-rc.d hal start 24 2 3 4 5 . stop 16 1 .
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
++ which invoke-rc.d
+ '[' -x /usr/sbin/
+ invoke-rc.d hal start
* Starting Hardware abstraction layer hald
invoke-rc.d: initscript hal, action "start" failed.
+ exit 1
['/bin/sh', '-x', '/var/lib/