/etc/init.d/dbus checks for dbus-daemon in wrong location

Bug #1624285 reported by RJVB
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

dbus 1.6.18-0ubuntu4.3 for Ubuntu 14.04 installs a /etc/init.d/dbus script that checks for /usr/bin/dbus-daemon instead of /bin/dbus-daemon .

Evidently this is not a critical failure as something still starts a system dbus on my system:

5 102 2423 1 1 0 41004 3304 - Ss ? 3:07 dbus-daemon --system --fork

Who, I haven't figured out yet. The usual suspect systemd seems to be innocent here, because AFAICT it's supposed to start the daemon with a different set of options:

ExecStart=//bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

This makes it a little bit tricky to figure out how to relaunch the system dbus daemon...

Revision history for this message
dino99 (9d9) wrote :

Looks good at first glance as it is:

/bin is a place for most commonly used terminal commands, like ls, mount, rm, etc.

/usr contains the majority of user utilities and applications, and partly replicates the root directory structure, containing for instance, among others, /usr/bin/ and /usr/lib.

some years back it was like your thinking.
https://help.ubuntu.com/community/LinuxFilesystemTreeOverview

Changed in dbus (Ubuntu):
status: New → Incomplete
Revision history for this message
RJVB (rjvbertin) wrote :

What's incomplete here?

Maybe I was wrong thinking that it should be clear that I'm *not* suggesting that things are installed to the wrong places.

It's only the script in /etc/init.d that might need a correction

- DAEMON=/usr/bin/dbus-daemon
- UUIDGEN=/usr/bin/dbus-uuidgen
+ DAEMON=/bin/dbus-daemon
+ UUIDGEN=/bin/dbus-uuidgen

with those changes it should work again if there are no outdated settings or assumptions later on in the script.

If the script is no longer supposed to be used it should be removed from the package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dbus (Ubuntu) because there has been no activity for 60 days.]

Changed in dbus (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.