[systemd-devel] Help with pam_systemd..
Kok, Auke-jan H
auke-jan.h.kok at intel.com
Mon Jun 11 12:57:35 PDT 2012
On Mon, Jun 11, 2012 at 12:49 PM, Peeters Simon <peeters.simon at gmail.com> wrote:
>> Note that we should probably not use "--address=systemd:" since it
>> passes DBUS_SESSION_BUS_ADDRESS=systemd:,guid=<hash>
>> to all dbus-activated services, which is entirely broken. However, we
>> want to point
>> to the user bus for this user, which is conveniently in
>> %t/dbus/user_bus_socket, just
>> as it is written in the user at .service as well. Dbus will append a ,guid=<hash>
>> but I didn't see that causing a problem.
>
> i made a bugreport (and patch) to fix this.
> (https://bugs.freedesktop.org/show_bug.cgi?id=50962)
> with the attached patch dbus will automaticly convert "systemd:" to
> the real addres of the sockets passed from systemd.
>
> this makes
> /usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation
>
> work as expected (for the --address= bit, the --systemd-activation is
> still to be broken here)
Oh cool - I'll have to test this - thanks a ton for taking the time to
attack this problem!
Auke
More information about the systemd-devel
mailing list