[Bug 1355966] Re: [FFE] Implement AbandonScope (etc)
Martin Pitt
martin.pitt at ubuntu.com
Wed Nov 5 07:37:47 UTC 2014
This is not Debian bug #756076. That is about cleaning up "closing"
loginctl sessions after logging out (which I implemented in upstream git
now). But this bug is about actually killing the leftover background
processes in the cgroup and the logind session if KillUserProcesses=yes
is set in /etc/systemd/logind.conf. (At least how I understand it).
** Changed in: systemd-shim (Debian)
Importance: Unknown => Undecided
** Changed in: systemd-shim (Debian)
Remote watch: Debian Bug tracker #756076 => None
** No longer affects: systemd-shim (Debian)
** Summary changed:
- [FFE] Implement AbandonScope (etc)
+ KillUserProcesses=yes does not work under systemd-shim
** Description changed:
+ When enabling KillUserProcesses=yes in /etc/systemd/logind.conf, user
+ background processes and logind sessions aren't actually being
+ killed/cleaned up after logout. This works fine under systemd, but not
+ under upstart with systemd-shim.
+
+ = Original report =
+
Currently, logout produces the following error in upstart systems:
systemd-logind[15351]: Failed to abandon scope session-c7.scope
systemd-logind[15351]: Failed to abandon session scope: No such interface 'org.freedesktop.systemd1.Scope' on object at path /org/freedesktop/systemd1/unit/session_2dc7_2escope
Whlie the cgroup is being autoremoved when empty, the more important
bug is that StopSession won't forcibly kill the cgroup. These methods
should be added at some point.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cgmanager in Ubuntu.
https://bugs.launchpad.net/bugs/1355966
Title:
KillUserProcesses=yes does not work under systemd-shim
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1355966/+subscriptions
More information about the Ubuntu-server-bugs
mailing list