[Bug 665740] [NEW] Missing dependency on dbus

Launchpad Bug Tracker 665740 at bugs.launchpad.net
Wed Jan 19 21:58:15 UTC 2011


You have been subscribed to a public bug by Barry Warsaw (barry):

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

** Affects: computer-janitor (Ubuntu)
     Importance: High
     Assignee: Barry Warsaw (barry)
         Status: Fix Released

** Affects: computer-janitor (Ubuntu Maverick)
     Importance: High
     Assignee: Barry Warsaw (barry)
         Status: Confirmed

** Affects: computer-janitor (Ubuntu Natty)
     Importance: High
     Assignee: Barry Warsaw (barry)
         Status: Fix Released

-- 
Missing dependency on dbus
https://bugs.launchpad.net/bugs/665740
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list