Missing dependency on dbus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
computer-janitor (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Maverick |
Fix Released
|
High
|
Barry Warsaw | ||
Natty |
Fix Released
|
High
|
Barry Warsaw |
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.
removable file:/etc/
removable file:/etc/
[...]
(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
Related branches
- Colin Watson (community): Approve
- Artur Rona (community): Approve
-
Diff: 27 lines (+8/-1)2 files modifieddebian/changelog (+7/-0)
debian/control (+1/-1)
Changed in computer-janitor (Ubuntu Maverick): | |
status: | Triaged → Confirmed |
assignee: | nobody → Barry Warsaw (barry) |
milestone: | none → maverick-updates |
importance: | Undecided → High |
description: | updated |
Changed in computer-janitor (Ubuntu Maverick): | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
I am getting the same error. I just installed maverick server minimal install. The error I get is as follows
# computer-janitor find 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=1522 comm="/ usr/bin/ python) interface= "org.freedeskto p.DBus. Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=1524 comm="/ usr/bin/ python) )
Cannot contact Computer Janitor dbus service; try again.
# aptitude install dbus
<snip>
ERROR:dbus.