http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/
http://cgit.freedesktop.org/systemd/systemd/tree/src/core/main.c#n1469 -- Кирилл Елагин On Wed, Jun 4, 2014 at 1:21 AM, Wout Mertens <[email protected]> wrote: > On Tue, Jun 3, 2014 at 8:30 PM, Kirill Elagin <[email protected]> wrote: > >> Obviously systemd would then have to not do things that udev etc are >>> already doing... Just running services, opening sockets, handling cgroups... >>> >> >> I doubt systemd can do this. >> First of all, with the new kernel cgroups interface only PID 1 can manage >> cgroups (on the kernel level). >> Then, to properly handle services (i.e. processes) systemd has to be PID >> 1, right? Because otherwise it won't be able to track dead processes and >> all this stuff. >> > > Are you sure about PID 1? I can't find that in > https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt > > I'm thinking systemd can run in user-mode, even if it's running as root. > It's automatically turned on when it's not PID 1, I need to try it. > > Wout. >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
