[Bug 849870] New: systemd --user keeps running for logged out user
https://bugzilla.novell.com/show_bug.cgi?id=849870 https://bugzilla.novell.com/show_bug.cgi?id=849870#c0 Summary: systemd --user keeps running for logged out user Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wolfgang@rosenauer.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- I've seen this in connection with gdm/Gnome but not sure if that is related. 1. created a testuser to verify some other bug 2. logged into Gnome 3. logged out of Gnome 4. remove the testuser from system using yast or userdel Result: User cannot be removed since it still is logged in. The process which still runs as that user is: systemd --user -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c1
systemd maintainers
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c2
Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c3
Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c7
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c8
Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c9
--- Comment #9 from Dr. Werner Fink
I see this as a systemd bug, with security implications.
IMHO it is not but you may report it upstream at https://bugs.freedesktop.org/enter_bug.cgi I'm curious about the results! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c10
--- Comment #10 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c11
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c12
--- Comment #12 from Jiří Suchomel
I would not fear for a question (you mentioned that YaST checks it already; what does it when there are processes running?).
YaST just shows an error popup that the user is logged in. Well, maybe changing it to question might have sense (maybe not in CLI mode) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c13
--- Comment #13 from Neil Rickert
IMHO it is not but you may report it upstream
I still see it as a security problem, but I won't report upstream for the moment. I shutdown that systemd user manager with: systemctl --user exit I then logged out. My ecryptfs private directory was still mounted. So perhaps the problem is not quite what I thought. I then ran (as root) pam-config -d --systemd and after that, the systemd user instance is not being started. And now the ecryptfs private directory is being properly unmounted. I'm now guessing that this might be a pam configuration problem. Perhaps the pam entry for "ecryptfs" has to come before that for "systemd" in the "common-session" definitions. Should I open a new bug report on that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c14
--- Comment #14 from Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c15
systemd maintainers
I then ran (as root)
pam-config -d --systemd
and after that, the systemd user instance is not being started. And now the ecryptfs private directory is being properly unmounted.
I'm now guessing that this might be a pam configuration problem. Perhaps the pam entry for "ecryptfs" has to come before that for "systemd" in the "common-session" definitions.
Should I open a new bug report on that?
Indeed you may clone this bug ... nevertheless I've added the maintainers of pam to carbon copy list. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c16
--- Comment #16 from Thorsten Kukuk
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c20
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c24
--- Comment #24 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c25
--- Comment #25 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c26
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c27
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c28
--- Comment #28 from Neil Rickert
https://bugzilla.novell.com/show_bug.cgi?id=849870
https://bugzilla.novell.com/show_bug.cgi?id=849870#c29
--- Comment #29 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=849870
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=849870
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=849870
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=849870
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=849870
http://bugzilla.novell.com/show_bug.cgi?id=849870#c30
--- Comment #30 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com