[systemd-devel] Poor man's reboot doesn't work

Lennart Poettering lennart at poettering.net
Mon Nov 10 13:55:36 PST 2014


On Mon, 10.11.14 22:30, Thomas Meyer (thomas at m3y3r.de) wrote:

> Am Freitag, den 07.11.2014, 01:59 +0100 schrieb Lennart Poettering:
> > On Sun, 02.11.14 12:48, Thomas Meyer (thomas at m3y3r.de) wrote:
> > 
> > > Hi,
> > > 
> > > I tried to switch to the emergency target and back to the graphical target,
> > > but this doesn't seem to work.
> > > 
> > > Should this work, i.e.?
> > > 
> > > # systemctl isolate emergency.target
> > > # systemctl isolate graphical.target
> > > 
> > > The services seems to fail with this error once I'm in the emergency.target
> > > and try to switch back to the graphical.target:
> > > status=219/CGROUP
> > 
> Mhh, strange. the last two tries to reproduces this bug failed.
> everything worked as expected. Strange!
> 
> anyway I'm going to upgrade to Fedora 21 in the next days. so I'll watch
> out for this bug again, then.

This really feels like a race. Something is removing the cgroup before
we can add the process to the cgroup. One way to track this down might
be to use Martin Pitt's "fatrace" tool to check which process is
removing the cgroup ultimately.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list