kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #53287
[Bug 1301962] Re: package update of bluez 4.98-2ubuntu7 (Precise) to 4.101-0ubuntu10 (Trusty) fails
And another round. This time I can really confirm that the missing
reload of the dbus service is the issue at hand.
> Initial state:
# pidof bluetoothd
630
# dpkg --configure bluez
Setting up bluez (4.101-0ubuntu11) ...
reload: Method "Reload" with signature "" on interface "com.ubuntu.Upstart0_6.Instance" doesn't exist
invoke-rc.d: initscript dbus, action "force-reload" failed.
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing package bluez (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bluez
# start bluetooth
start: Job failed to start
# pidof bluetoothd
630
> Try to trigger a reload of the dbus service via invoke-rc.d
# invoke-rc.d dbus force-reload
reload: Method "Reload" with signature "" on interface "com.ubuntu.Upstart0_6.Instance" doesn't exist
invoke-rc.d: initscript dbus, action "force-reload" failed.
# start bluetooth
start: Job failed to start
> Try to trigger a reload of the dbus service via Upstart's initctl
# initctl reload dbus
initctl: Method "Reload" with signature "" on interface "com.ubuntu.Upstart0_6.Instance" doesn't exist
# start bluetooth
start: Job failed to start
> Try to trigger a reload of the dbus service via SIGHUP to the dbus
system bus process
# kill -s SIGHUP $(ps ax | grep dbus | grep system | awk '{ print $1 }')
# start bluetooth
bluetooth start/post-stop, process 22101
> Success!
So the method how Upstart reloads services has changed between Precise
and Trusty. Trusty's version of initctl doesn't have backwards
compatibility with Precise's Upstart version when it comes to reloading
services and this is an issue for the dist-upgrade case.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1301962
Title:
package update of bluez 4.98-2ubuntu7 (Precise) to 4.101-0ubuntu10
(Trusty) fails
Status in “bluez” package in Ubuntu:
New
Bug description:
During an upgrade of a vanilla Precise install to Trusty I've
encountered already twice this issue:
$ sudo dpkg --configure bluez
Setting up bluez (4.101-0ubuntu10) ...
reload: Method "Reload" with signature "" on interface "com.ubuntu.Upstart0_6.Instance" doesn't exist
invoke-rc.d: initscript dbus, action "force-reload" failed.
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing package bluez (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bluez
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1301962/+subscriptions
References