[Bug 852132] New: KillUserProcesses=yes does not work at least with KillOnlyUsers
https://bugzilla.novell.com/show_bug.cgi?id=852132 https://bugzilla.novell.com/show_bug.cgi?id=852132#c0 Summary: KillUserProcesses=yes does not work at least with KillOnlyUsers Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: systemd-maintainers@suse.de ReportedBy: werner@suse.com QAContact: qa-bugs@suse.de CC: werner@suse.com, fcrozat@suse.com Found By: Development Blocker: --- To see this /suse/werner> grep ^Kill /etc/systemd/logind.conf KillUserProcesses=yes KillOnlyUsers=linux after login, setting up a `batch job' with simply with sleep, and a simply logout: /suse/werner> ps aux | grep ^linux linux 3763 0.0 0.1 38096 2280 ? Ss 12:08 0:00 /usr/lib/systemd/systemd --user linux 3764 0.0 0.0 72912 1852 ? S 12:08 0:00 (sd-pam) linux 3816 0.0 0.0 4520 572 ? S 12:08 0:00 sleep 1000 .. I've rebooted the system before testing this to be sure that systemd-logind has read its corect configuration. This bug is related to bnc #849870 I'm asking me if upstream has something like QA managment :( -- 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=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c2
--- Comment #2 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c3
Frederic Crozat
@Frederic: Do you know if this is one of our/upstream patches of does this also happen with plain systemd 208?
Nothing there.. and I think it is being discussed in the upstream mailing list this week. -- 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=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c4
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c5
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c7
--- Comment #7 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c9
--- Comment #9 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c10
--- Comment #10 from Dr. Werner Fink
From manual page systemd.kill(5) I can read
KillMode= Specifies how processes of this service shall be killed. One of control-group, process, none. If set to control-group, all remaining processes in the control group of this unit will be terminated on unit stop (for services: after the stop command is executed, as configured with ExecStop=). If set to process, only the main process itself is killed. If set to none, no process is killed. In this case only the stop command will be executed on unit stop, but no process be killed otherwise. Processes remaining alive after stop are left in their control group and the control group continues to exist after stop unless it is empty. Defaults to control-group. it seems that the unit isn't stopped: linux:~ # systemctl list-units | grep 32003 user@32003.service loaded active running User Manager for 32003 user-32003.slice loaded active active user-32003.slice -- 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=852132
https://bugzilla.novell.com/show_bug.cgi?id=852132#c11
--- Comment #11 from Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com