Bug#803013: systemd should not destroy application created cgroups

Michael Biebl biebl at debian.org
Thu Oct 29 00:50:13 GMT 2015


Control: severity -1 important


Hi Paul,

thanks for your bug report.

Am 26.10.2015 um 03:12 schrieb Paul Szabo:
> Package: systemd
> Version: 215-17+deb8u2
> Severity: critical
> Tags: patch
> Justification: breaks unrelated software
> 
> If you use cgroups, then systemd will on occasions destroy your
> settings. To reproduce:
>  - Set up cgroups e.g. adding TaskIDs to /sys/fs/cgroup/cpu/DIR/tasks
>    files. (I use cgrulesengd from package cgroup-tools, but any other
>    use of cgroups is equally affected.)
>  - Then when you use systemd commands:
>      systemctl daemon-reload
>      systemctl start anacron
>    you will see your cgroups (your tasks files) becoming empty.
>    Command daemon-reload seems to happen within "apt-get dist-upgrade"
>    sequences, and "start anacron" happens nightly. (Some other systemd
>    commands may also affect.)

I couldn't quite follow what you try to achieve here. I.e. which
processes or services you want to confine and why. And what exactly you did.

Would be great if you can be a bit more verbose on that.

> I propose the attached patch to avoid the issue. This patch seems to work
> well for me.

Please test if this issue is still reproducible with 227 from unstable
and if so, file the issue at https://github.com/systemd/systemd/issues.

As for your patch, it's probably best if you create a pull request upstream.

Thanks,
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://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151029/9c01e5d1/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list