Wrong dbus service name

Bug #1552572 reported by Robert Ma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Wishlist
Dustin Kirkland 

Bug Description

According to various dbus spec/docs [1][2], the "Name=" property in the dbus service description file should be the FQDN of the app. i.e., in usr/share/dbus-1/services/us.kirkland.terminals.byobu.service , it should look like:

Name=us.kirkland.terminals.byobu

The current "Name=byobu" will cause dbus fail to find the service when launching via byobu.desktop. On an Archlinux running dbus 1.10.6 and GNOME 3.18.3, the following error message could be seen in syslog when launching the current byobu.desktop (or when running the "Exec" command of the desktop file directly):

byobu.desktop: Error creating terminal: The name us.kirkland.terminals.byobu was not provided by any .service files

The issue would be fixed once the Name is changed to the FQDN. You may or may not see the error above in Ubuntu right now because of the different versions of various components, but anyway, using the FQDN is the correct, documented way and should not cause regression.

Reference:
[1] https://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-starting-services (see Figure 9)
[2] https://dbus.freedesktop.org/doc/system-activation.txt (see the example service file)

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug. Since this is reported to affect Arch, I'm reassigning it to the upstream project rather than Ubuntu specifically. If it also affects Ubuntu, we can always add a separate Ubuntu task.

affects: byobu (Ubuntu) → byobu
Changed in byobu:
importance: Undecided → Wishlist
status: New → In Progress
assignee: nobody → Dustin Kirkland  (kirkland)
Changed in byobu:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
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.