Bug#777164: systemd: libvirt cgroups start to disappear from machine.slice after systemctl daemon-reload

Michael Biebl biebl at debian.org
Mon Mar 16 12:51:33 GMT 2015


Am 15.03.2015 um 12:33 schrieb Christian Seiler:
> Control: severity -1 serious
> Control: tags -1 + patch
> 
> Dear Maintainers,
> 
> this doesn't only affect libvirt/KVM somewhat, but it also breaks LXC,
> which also uses its own cgropus. lxc-attach will stop working once
> systemctl daemon-reload has been issued with a running LXC instance.
> Since this breaks two unrelated pieces of software, I think the
> severity 'serious' is justified.[1]
> 
> I've backported the commit that was used to fix this upstream and
> attached it to this mail. The original commit was committed after the
> Delegate= property was added to units, I left out that part (i.e. it
> will only consider slice units). I've tested the patch and libvirt/KVM
> and LXC now remain in their cgroups with systemctl daemon-reload (I've
> tested both here).
> 
> 
> (Side note: daemon-reload alone is not necessarily sufficient to
> reproduce this issue, but if one starts a unit afterwards, it will
> occur. Therefore, using systemctl daemon-reload + systemctl restart
> exim4.service will consistently reproduce the issue on my systems.)


It would be great, if Mateusz can confirm that this patch [1] does
indeed fix his issue.
Mateusz, if you are not versed in compiling packages yourself and you
would prefer if we provided you with a test package, please let us know.


> [1] I do feel a bit bad because I've already reported / upgraded the
> severity of a couple of systemd bugs, but I do think that in every
> case I can justify this being RC... Please don't consider this to be
> criticism of your work, I just want to make sure that systemd in Jessie
> is in a very good shape.

Don't worry, Christian. Your efforts are very much appreciated!



[1]
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=19;filename=don-t-migrate-PIDs-for-units-that-may-contain-subcgroups.patch;att=1;bug=777164
-- 
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/20150316/4d64dd85/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list