Even after commit e5a53dc7 "cgroup: be nice to Ingo Molnar" systemd still
hangs on boot on a kernel without CONFIG_CGROUPS.

mount_setup() must not fail when cgroup controllers cannot be mounted.

https://bugzilla.redhat.com/show_bug.cgi?id=628004
---

 src/mount-setup.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/mount-setup.c b/src/mount-setup.c
index db5c253..dcf237b 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -258,5 +258,7 @@ int mount_setup(void) {
         /* Create a few directories we always want around */
         mkdir("/run/systemd", 0755);
 
-        return mount_cgroup_controllers();
+        mount_cgroup_controllers();
+
+        return 0;
 }

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to