[Bug 949362] [NEW] lxc.conf post-stop gets called even if LXC_AUTO is set to false

Stéphane Graber stgraber at stgraber.org
Wed Mar 7 20:45:19 UTC 2012


Public bug reported:

Calling "stop" in pre-start causes upstart to jump directly to post-
stop, not skip it.

The case where this would be a problem is so specific that this really
isn't a big issue but probably still worh fixing :)

Case where we'd see the problem:
 - Booting a machine
 - Starting containers before lxc.conf is called
 - Have these containers symlinked in /etc/lxc/auto
 - Have LXC_AUTO=false in /etc/default/lxc
 - When lxc.conf is called by upstart, it'll just to post-stop, killing the containers in the process


As I said, pretty unlikely to happen but still possible :)

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  lxc.conf post-stop gets called even if LXC_AUTO is set to false

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



More information about the Ubuntu-server-bugs mailing list