Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692040 - >=sys-apps/systemd-243 breaks app-emulation/docker
Summary: >=sys-apps/systemd-243 breaks app-emulation/docker
Status: RESOLVED DUPLICATE of bug 691844
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/bl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 05:31 UTC by Ultrabug
Modified: 2019-08-13 05:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ultrabug gentoo-dev 2019-08-13 05:31:04 UTC
Hi

After upgrading to >=sys-apps/systemd-243 I found out that docker was unable to detect cgroups and was thus unable to start:

août 12 08:39:04 yazd dockerd[2128]: time="2019-08-12T08:39:04.534612423+02:00" level=warning msg="Unable to find cpu cgroup in mounts"
août 12 08:39:04 yazd dockerd[2128]: time="2019-08-12T08:39:04.534617330+02:00" level=warning msg="Unable to find blkio cgroup in mounts"
août 12 08:39:04 yazd dockerd[2128]: time="2019-08-12T08:39:04.534622292+02:00" level=warning msg="Unable to find cpuset cgroup in mounts"
août 12 08:39:04 yazd dockerd[2128]: time="2019-08-12T08:39:04.534626458+02:00" level=warning msg="mountpoint for pids not found"

It turns out that this is due to systemd defaulting (again) to hierarchical cgroups:

https://github.com/systemd/systemd/blob/v243-rc1/NEWS#L60

Rebuilding systemd with the 'cgroup-hybrid' USE flag fixed the issue.

Shouldn't we default this USE flag while a broader response to the cgroup hierarchy is in place for us?

Thanks
Comment 1 Matthias Maier gentoo-dev 2019-08-13 05:47:45 UTC

*** This bug has been marked as a duplicate of bug 691844 ***
Comment 2 Ultrabug gentoo-dev 2019-08-13 05:49:43 UTC
...and I did search bugs.gentoo.org for it... bah!

sorry for the noise Matthias
Comment 3 Matthias Maier gentoo-dev 2019-08-13 05:55:22 UTC
No worries :-D