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

Re: systemd now appears to be only possible init system in testing



El Fri, 25 de Jul 2014 a las 2:50 PM, Steve Langasek <vorlon@debian.org> escribió:
On Fri, Jul 25, 2014 at 11:10:41PM +0200, Michael Biebl wrote:
Am 25.07.2014 19:23, schrieb Steve Langasek: > systemd-shim 6-4 has now been uploaded to unstable with a dependency on > cgmanager, implementing the new post-v205 interfaces.
I just installed systemd-shim 6-4 and cgmanager 0.28-1. Unfortunately the cgmanager package seems to be not quite ready yet.
The init script fails with
# service cgmanager start [....] Starting cgroup management daemon: cgmanagercgmanager: Failed mounting memory onto /run/cgmanager/fs/memory: No such file or directory cgmanager: Failed mounting cgroups cgmanager: Failed to set up cgroup mounts . ok
on a default jessie kernel.
I believe this is bug #755990, already fixed by Serge in 0.28-2.
Interestingly, the return code of the init script was 0.
Hmm, dunno about that. Serge?

Oh this is easy. The init script calls s-s-d and does not check the return code (so always exits 0). I am just going to use set -e in the init script, only a couple tweaks are needed. I will get a merge request to the github repo in about 15 minutes.

Cheers,
--
Cameron Norman

Reply to: