Bug 740033 - dbus-libs, not dbus, should own the service directories
Summary: dbus-libs, not dbus, should own the service directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dbus
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-20 18:33 UTC by Michal Schmidt
Modified: 2011-10-24 21:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-24 21:50:52 UTC


Attachments (Terms of Use)
dbus specfile patch (1.85 KB, patch)
2011-09-20 18:33 UTC, Michal Schmidt
no flags Details | Diff

Description Michal Schmidt 2011-09-20 18:33:34 UTC
Created attachment 524083 [details]
dbus specfile patch

Description of problem:

Packages that provide dbus services have to install files into some of these directories:
 /etc/dbus-1
 /etc/dbus-1/system.d
 /etc/dbus-1/session.d
 /usr/share/dbus-1
 /usr/share/dbus-1/services
 /usr/share/dbus-1/system-services
 /usr/share/dbus-1/interfaces

Because of the rpm directory ownership rules, the packages currently have to depend on the dbus package which owns these directories.
This is an overkill, because some of the packages do not really need the dbus daemon. They may:
 - provide the dbus service as a non-essential part of their functionality, or
 - use the D-Bus protocol over a private socket, without the dbus daemon
   (systemd does this)
We could create a new subpackage "dbus-filesystem" to own the directories, but
since it is likely that the packages depend on dbus-libs in any case, it's
sufficient to move the directories there. dbus Requires dbus-libs, so nothing breaks.

Version-Release number of selected component (if applicable):
dbus-1.4.10-3.fc16

Additional info:
A proposed patch attached.

Comment 1 Matthias Clasen 2011-10-24 21:50:52 UTC
I don't think there is anything wrong with requiring dbus. In fact, dbus is pretty much a core component of the system.


Note You need to log in before you can comment on or make changes to this bug.