Commit Graph

2 Commits

Author SHA1 Message Date
Jes Sorensen
ecbec5e0c4 Fix build issue with cgroups workaround patch
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-11-30 15:54:40 +01:00
Doug Ledford
14c7631f2d Try to resolve cgroup issue
Udev wants us to not start mdmon under its cgroup (it kills mdmon if we
leave it in udev's cgroup), so as part of the mdmon startup process, set
the child process to be part of the systemd cgroup instead.  However, if
we don't have cgroups, or there is no systemd cgroup, then just silently
move on.

Signed-off-by: Doug Ledford <dledford@redhat.com>
2012-11-15 17:15:05 -05:00