[systemd-devel] Help with pam_systemd..
Peeters Simon
peeters.simon at gmail.com
Mon Jun 11 12:49:23 PDT 2012
> 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)
Simon Peeters
More information about the systemd-devel
mailing list