-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
When using release1, systemd stops with:
Cannot determine cgroup we are running in: No such file or directory
Failed to allocate manager object: No such file or directory
The analyze revealed, that when booting with sysv-init (only), the directory /sys/fs/cgroups is empty, when booting with systemd it contains the some cgroups.
systemd assumes, that the cgroup setup is done when it is not started as pid 1:
systemd/src/core/main.c:
if (getpid() == 1) {
install_crash_handler();
r = mount_cgroup_controllers(arg_join_controllers); /* <<<<<<< Init of cgroup */
if (r < 0)
goto finish;
}
But: pipexec (and also sysv-init) does obviously not know anything about cgroups.