[Bug 665740] Re: Missing dependency on dbus
Barry Warsaw
665740 at bugs.launchpad.net
Thu Jan 20 15:41:35 UTC 2011
** Changed in: computer-janitor (Ubuntu Maverick)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/665740
Title:
Missing dependency on dbus
Status in “computer-janitor” package in Ubuntu:
Fix Released
Status in “computer-janitor” source package in Maverick:
Fix Committed
Status in “computer-janitor” source package in Natty:
Fix Released
Bug description:
Binary package hint: computer-janitor
computer-janitor (2.0.4-0ubuntu1) seems to depend on dbus although it
doesn't specify that. On a minimal maverick installation on a server I
got "Cannot contact Computer Janitor dbus service; try again."
# computer-janitor find
Cannot contact Computer Janitor dbus service; try again.
# aptitude install dbus
[...]
# ERROR:dbus.proxies:Introspect error on :1.2:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.1" (uid=0 pid=9209 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=9211 comm="/usr/bin/python))
removable file:/etc/apache2/apache2.conf.dpkg-old
removable file:/etc/apache2/envvars.dpkg-old
[...]
(Not sure if the introspection error justifies another bug report)
SRU justification:
* This bug causes computer-janitor to be unusable in a minimal server install when the dbus package is missing, because the core functionality of c-j is in a dbus service
* Natty version 2.0.4-0ubuntu3 fixes the problem by adding an explicit dependency on dbus
* See attached branch for fix in development and stable versions.
* I'm unsure what could cause regressions, but it could be that servers that do not currently require dbus have some kind of breakage or unintended consequences when dbus is installed.
TEST CASE:
* Do a minimal server install of Maverick (install no extra services)
* apt-get install computer-janitor
$ computer-janitor find
^ This command will fail as shown above
More information about the Ubuntu-sponsors
mailing list