[systemd-devel] Help with pam_systemd..

Kok, Auke-jan H auke-jan.h.kok at intel.com
Wed May 30 22:11:10 PDT 2012


On Thu, May 31, 2012 at 4:42 AM, Shawn Ferris <shawn.ferris at gmail.com> wrote:
>> It looks like dbus will need a patch upstream to work properly in the
>> user session, so, I'm looking at that at this time.
>
> Is this potentially why on boot, mine might work 1 out of every 30
> boots or so? I thought it was timing (and I still believe it is, I
> don't know with what), but I've set up the dependencies so that
> user at .service is the very last thing to run, and it doesn't work.
> Well, most of the time.. It has worked like twice.
>
> Starting it manually works flawlessly every time, though I'm using
> "--address=systemd:".. I don't exactly know what you found, so it's
> probably not working as well as it looks. I still think there's
> something wrong with my pam_systemd though. Even with nothing else set
> up, if it's defined as optional, I wouldn't expect logins to be kicked
> out for any reason.

unlikely. dbus activation inside your user-session will be broken for
stuff like gconfd-2, gio, and others, but, your user session should still
run.

It would help if you could post your unit files somewhere.

tar up /usr/lib/systemd/user ?

Auke

>
> Shawn


More information about the systemd-devel mailing list