Bug 740033

Summary: dbus-libs, not dbus, should own the service directories
Product: [Fedora] Fedora Reporter: Michal Schmidt <mschmidt>
Component: dbusAssignee: David Zeuthen <davidz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: davidz, lpoetter, mclasen, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-24 21:50:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dbus specfile patch none

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.