Bug#769483: /usr/sbin/service restarts daemons in the current session cgroups when not running systemd

2014-11-23 Thread Matteo Panella
On 23/11/2014 19:03, Petter Reinholdtsen wrote: > You can perhaps provide details on how this work in Wheezy, to allow > us to understand what changed? Sure: in Wheezy this doesn't happen at all because there is no logind running without systemd (and by extension systemd-shim and cgmanager), so un

Bug#769483: /usr/sbin/service restarts daemons in the current session cgroups when not running systemd

2014-11-23 Thread Petter Reinholdtsen
[Matteo Panella] > If you need more details I'd be happy to provide them. You can perhaps provide details on how this work in Wheezy, to allow us to understand what changed? As far as I know, sysvinit do not have any relationship with cgroups at all, and thus do not quite sure understand why it n

Bug#769483: /usr/sbin/service restarts daemons in the current session cgroups when not running systemd

2014-11-19 Thread Matteo Panella
Adding an example of what happens on a system running systemd-shim+cgmanager and sysvinit as PID1: root@antani:~# cat /proc/$$/cgroup 10:name=systemd:/user.slice/user-1000.slice/session-1.scope 9:perf_event:/user.slice/user-1000.slice/session-1.scope 8:net_prio:/user.slice/user-1000.slice/session-