Michael Biebl wrote on 09/05/17 20:11: > 2017-05-09 20:35 GMT+02:00, Lennart Poettering <lenn...@poettering.net>: >> On Tue, 09.05.17 17:06, Jakob Schürz (wertsto...@nurfuerspam.de) wrote: >> >>> Hi There! >>> >>> I have two services running in systemd --user, which should only be >>> startet for login-users. >>> If i put the service-file by a deb-package in /usr/lib/systemd/user, the >>> service will also be started for Debian-exim, Debian-gdm and other users >>> with a UID below 1000. And this is not "good"... >> >> These users should not have a PAM session normally, and hence no >> logind session either, and hence no systemd --user instance >> either. There's something really strange if you actually do get PAM >> sessions for these... Any idea why you get them? >> > > Afaics, the logind/PAM session for gdm/Debian-gdm is deliberate. gdm > spawns that via gdm-launch-environment, see > /etc/pam.d/gdm-launch-environment, which in turn includes > pam_systemd.so
And I think this is needed and desirable for stuff like pulseaudio for audio feedback for the login window etc. which would be launched via socket activation from the systemd --user session ideally. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel