Summary: | app-emulation/libvirt-6.10.0: libvirt_lxc container fail to start - incompatible with sys-apps/systemd[cgroup-hybrid] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Maier <tamiko> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | miso.privoznik, virtualization |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
(almost) minimal lxc xml config demonstrating the problem
emerge --info libvirt |
Description
Matthias Maier
![]() Matthias, any luck? I can start my containers just fine. What's your XML look like? On it. I hope to find some time for this this evening :-) Created attachment 679251 [details]
(almost) minimal lxc xml config demonstrating the problem
It seems that the <idmap></idmap> block is causing the problem. Removing
<idmap>
<uid start='0' target='1000000' count='100000'/>
<gid start='0' target='1000000' count='100000'/>
</idmap>
from the lxc xml file allows me to start the xml container.
I have not yet been able to bisect this issue to a single commit.
But I have a hunch: I am now checking whether the fact that I am still running sys-apps/systemd[cgroup-hybrid] is causing the issue.
Created attachment 679254 [details]
emerge --info libvirt
... and indeed this was the issue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d033c2150e644a680734dcae7b3be0cdd634f37 commit 6d033c2150e644a680734dcae7b3be0cdd634f37 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2020-12-22 22:43:00 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2020-12-22 22:46:00 +0000 app-emulation/libvirt: ensure sys-apps/systemd w USE=-cgroup-hybrid Closes: https://bugs.gentoo.org/758872 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Matthias Maier <tamiko@gentoo.org> app-emulation/libvirt/libvirt-6.10.0-r2.ebuild | 1 + app-emulation/libvirt/libvirt-9999.ebuild | 1 + 2 files changed, 2 insertions(+) |