/etc/init/libvirt-cgconfig-wait.conf will immediately exit if cgconfig
is already considered "running"; however if that's not the case, it will
go into a "sleep" case which wont be interrupted even when cgconfig
actually starts: AIUI, the stop statement only prevents startup, but
wont kill a running task.

For instance /etc/init/rc.conf wont start /etc/init.d/rc $RUNLEVEL if
reboot is called before reaching runlevel 2, but if /etc/init.d/rc  is
called and someone calls reboot, it's too late to kill it.

So once libvirt-bin is waiting for libvirt-cgconfig-wait which is in
sleep, we're stuck in a 120s sleep and that means libvirt-bin's startup
is delayed by 120s, right?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libcgroup in Ubuntu.
https://bugs.launchpad.net/bugs/946737

Title:
  Broken logic in /etc/init/libvirt-cgred-wait.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/946737/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to