Bug#803013: systemd should not destroy application created cgroups

Michael Biebl biebl at debian.org
Fri Nov 6 22:38:12 GMT 2015


Hi Paul

Am 06.11.2015 um 01:00 schrieb paul.szabo at sydney.edu.au:
> Dear Michael,
> 
>>> I wonder how that line came to be missed on my machines: I upgraded from
>>> wheezy (which was upgraded from previous releases).
>>
>> If that line was not automatically added it probably means you had made
>> custom modifications to the file in the past.
> 
> Possible, but unlikely: the only difference between my 
>   /etc/pam.d/common-session
> file and that from the freshly installed jessie, is the
>   session optional pam_systemd.so
> line.

Well, apparently pam-auth-update was convinced you had local modifications.

If you restore the previous state and you ran
dpkg-reconfigure libpam-runtime, what do you get?


>> Not having libpam-systemd installed probably means, that your user
>> processes are not properly added to the correct cgroups.
> 
> I do have libpam-systemd installed (though not "active" because of my
> "broken" common-session file).
> 
> With my "broken" /etc/pam.d/common-session file, systemd did not create
> /sys/fs/cgroup/systemd/user.slice/user-N.slice/ directories. Why should
> the lack of those interfere with my use of cgroups? If the PAM setting
> is so important, should not it be set to required?
> 
> There is also a file
>   /etc/pam.d/common-session-noninteractive
> that does not contain the pam_systemd.so line, used for cron and sudo
> (maybe others): can cgroups be used for or from those?

I'm not sure what to do about this bug report. I'm inclined to close it,
since it doesn't look like something which we can address in systemd itself.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151106/cd6575c8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list