Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420401

Summary: sys-apps/dbus-1.6.0: systemd unit dbus.socket is missing install section
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch

Description Dennis Schridde 2012-06-09 12:37:31 UTC
The dbus.socket systemd unit that comes with sys-apps/dbus-1.6.0 is missing an install section, which results in systemctl being unable to install the unit and hence not preparing the dbus system bus socket file. Attached patch fixes this.

Reproducible: Always
Comment 1 Dennis Schridde 2012-06-09 12:38:02 UTC
Created attachment 314785 [details, diff]
proposed patch
Comment 2 Wormo (RETIRED) gentoo-dev 2012-06-09 19:50:54 UTC
Thanks for submitting your patch, assigning to dbus ebuild maintainers
Comment 3 Maksim 'max_posedon' Melnikau 2012-07-01 14:35:05 UTC
There is no need to enable dbus socket/service for systemd.
systemd will start dbus anyway


max_posedon@localhost ~ % systemctl status dbus.service -n 0
dbus.service - D-Bus System Message Bus
          Loaded: loaded (/usr/lib64/systemd/system/dbus.service; static)
          Active: active (running) since Sun, 01 Jul 2012 17:27:41 +0300; 5min ago
        Main PID: 1725 (dbus-daemon)
          CGroup: name=systemd:/system/dbus.service
                  ├ 1725 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
                  ├ 2084 /usr/sbin/modem-manager
                  ├ 2340 /usr/libexec/udisks-daemon
                  └ 2343 udisks-daemon: not polling any devices

max_posedon@localhost ~ % systemctl status dbus.socket -n 0 
dbus.socket - D-Bus System Message Bus Socket
          Loaded: loaded (/usr/lib64/systemd/system/dbus.socket; static)
          Active: active (running) since Sun, 01 Jul 2012 17:27:41 +0300; 5min ago
          CGroup: name=systemd:/system/dbus.socket

max_posedon@localhost ~ % systemctl --version
systemd 185
gentoo
+PAM +LIBWRAP -AUDIT -SELINUX +IMA -SYSVINIT -LIBCRYPTSETUP
Comment 4 Dennis Schridde 2012-07-01 14:56:06 UTC
For me it did not happen automatically. I was using systemd-44 though.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-09-22 14:00:43 UTC
(In reply to comment #3)
> There is no need to enable dbus socket/service for systemd.
> systemd will start dbus anyway
> max_posedon@localhost ~ % systemctl --version
> systemd 185

(In reply to comment #4)
> For me it did not happen automatically. I was using systemd-44 though.

Closing this bug then if latest works as noted by Comment #3