[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A few observations about systemd



On Sun, Jul 17, 2011 at 4:53 PM, Tollef Fog Heen <tfheen@err.no> wrote:
>> | > TTBOMK, cgroups are not optional.
> |
> | From cgroup.c, line 270:
> |
> |     if (path_is_mount_point("/sys/fs/cgroup/systemd") <= 0) {
> |             log_warning("No control group support available, not creating root group.");
> |             return 0;
> |     }
>
> hmm, ok.  I suspect it will work much less well without cgroup support
> even so, and in general upstream's not interested in supporting
> non-linux even if you could make it limp along.

Indeed, more context is given in the bug mentioned just above that
stanza: https://bugzilla.redhat.com/show_bug.cgi?id=628004, in
particular Lennart's comment:
https://bugzilla.redhat.com/show_bug.cgi?id=628004#c27

"However, it will print a big big warning if you do this, and
will sleep for 5s so that people see it. And I will ignore all bugs reported
when things don't work properly if this is used"

The README also doesn't list cgroups as optional:

REQUIREMENTS:
        Linux kernel >= 2.6.30 (with devtmpfs, cgroups; optional but
strongly recommended: autofs4, ipv6)

So cgroups is "optional", but not really if you want a supported
systemd installation :)

-- 
Matt Brown
matt@mattb.net.nz
Mob +353 86 608 7117 www.mattb.net.nz


Reply to: