Bug#739676: systemd-user PAM config breaks some libpam-* modules

2015-01-21 Thread Christian Kastner
Hi Martin, On 2015-01-21 11:35, Martin Pitt wrote: > On both my Debian sid and my Ubuntu system, the only difference > between common-session and common-session-noninteractive is that the > latter does not include libpam-systemd. Generally speaking, I believe (but haven't verified) that this will

Bug#739676: systemd-user PAM config breaks some libpam-* modules

2015-01-21 Thread Martin Pitt
Hey Christian, Christian Kastner [2014-12-28 21:55 +0100]: > Trying to run as a user instance, but $XDG_RUNTIME_DIR is not set. > > I assume that this is because common-session also includes > pam_systemd.so, whereas -noninteractive does not, so switching to the > latter drops it from systemd-u

Bug#739676: systemd-user PAM config breaks some libpam-* modules

2015-01-20 Thread Christian Kastner
On 2015-01-20 19:28, Felipe Sateler wrote: > For reference, the inclusion of common-session is a local debian > patch[1]. The original file referenced system-auth, which apparently > debian does not use. > > > [1] > http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/debian/patches/Adj

Bug#739676: systemd-user PAM config breaks some libpam-* modules

2015-01-20 Thread Felipe Sateler
On Mon, 05 Jan 2015 20:57:05 +0100 Christian Kastner wrote: > > If this second PAM session via systemd-user is indeed intended to be > merely a background thing, them common-session-noninteractive should be > the way to go anyway. But I'm not familiar enough with systemd to make > that call. For