mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Follow-up to e16a6ad: cgroups must be initialized after /sys
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
54fd38adcc
commit
317fe7aceb
1 file changed
+5
-5
+5
-5
@@ -359,11 +359,6 @@ int main(int argc, char *argv[])
|
|||||||
if (fisdir("/proc/bus/usb"))
|
if (fisdir("/proc/bus/usb"))
|
||||||
mount("none", "/proc/bus/usb", "usbfs", 0, NULL);
|
mount("none", "/proc/bus/usb", "usbfs", 0, NULL);
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialize default control groups, if available
|
|
||||||
*/
|
|
||||||
cgroup_init();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Load plugins early, finit.conf may contain references to
|
* Load plugins early, finit.conf may contain references to
|
||||||
* features implemented by plugins.
|
* features implemented by plugins.
|
||||||
@@ -432,6 +427,11 @@ int main(int argc, char *argv[])
|
|||||||
_pe("Failed mounting /sys");
|
_pe("Failed mounting /sys");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Initialize default control groups, if available
|
||||||
|
*/
|
||||||
|
cgroup_init();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize .conf system and load static /etc/finit.conf
|
* Initialize .conf system and load static /etc/finit.conf
|
||||||
* Also initializes global_rlimit[] for udevd, below.
|
* Also initializes global_rlimit[] for udevd, below.
|
||||||
|
|||||||
Reference in new issue
Block a user