[systemd-devel] systemd based gnome-session

Kok, Auke-jan H auke-jan.h.kok at intel.com
Tue Jul 3 14:28:56 PDT 2012


On Tue, Jul 3, 2012 at 11:40 AM, Léo Gillot-Lamure
<leo.gillot at navaati.net> wrote:
> Hi.
>
> I've read the unit files you provide and I'm wondering about a possible
> race condition related to dbus activation.
>
> For example let's see the unit gconf.service:
>
>> [Unit]
>> Description=settings daemon for gnome
>>
>>
>> [Service]
>> Type=dbus
>> BusName=org.gnome.GConf
>> ExecStart=/usr/libexec/gconfd-2
>>
>>
>> [Install]
>> WantedBy=gnome.target
>> Alias=dbus-org.gnome.GConf.service
>
> Why this line Alias= ? Creating this alias is only useful if you add a
> line "SystemdService=dbus-org.gnome.GConf.service" to the
> file /usr/share/dbus-1/services/org.gnome.GConf.service (this is a major
> pain in the current dbus and systemd architecture…).
> Moreover, even if you did, I thought that bus activation in the user
> session was not implemented ? (I'd be very happy to be proved wrong
> here :).

Bus activation works fine, and always has, permitted you compiled dbus
with --systemd-activation etc.

DBus activation under the user session was broken, but with the patch
for DBus (pending) it also works.

Auke


More information about the systemd-devel mailing list