[systemd-devel] Help with pam_systemd..

Colin Guthrie gmane at colin.guthr.ie
Tue May 29 12:52:52 PDT 2012


'Twas brillig, and Kok, Auke-jan H at 27/05/12 08:05 did gyre and gimble:
> $ cat /usr/lib/systemd/user/dbus.service
> [Unit]
> Description=D-Bus System Message Bus
> Requires=dbus.socket
> 
> [Service]
> ExecStartPre=/usr/bin/dbus-uuidgen --ensure
> ExecStartPre=-/bin/rm -f /var/run/messagebus.pid
> ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork
> --systemd-activation
> ExecReload=/usr/bin/dbus-send --print-reply --session
> --type=method_call --dest=org.freedesktop.DBus /
> org.freedesktop.DBus.ReloadConfig
> OOMScoreAdjust=-900


Just a random observation from an uneducated user... but does the two
ExecStartPre's really belong here for a user session? Those commands
look like something that should be done only for the system dbus daemon
to me...

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list