[Bug 1007493] Re: Broken logic in lxc-ubuntu causes lxc.devttydir to be set to 'lxc' only on releases that do NOT support it

Stéphane Graber stgraber at stgraber.org
Fri Jun 1 15:59:18 UTC 2012


** Description changed:

  During my effort to remove any hardcoded Ubuntu releases in lxc-ubuntu,
  I managed to reverse the logic of the lxc.devttydir check.
  
  It's currently setting lxc.devttydir = 'lxc' for releases that do NOT
  have /etc/init/container-detect.conf, which is the complete opposite of
  what we want.
+ 
+ [rational]
+ That's a regression introduced in the currently pending SRU, this very trivial change fixes it.
+ 
+ [test case]
+ 1) sudo lxc-create -t ubuntu -n p1
+ 2) cat /var/lib/lxc/p1/config | grep ttydir
+ 
+ 2) should return "= lxc"
+ 
+ [regression potential]
+ This is a fix for a regression.

-- 
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/1007493

Title:
  Broken logic in lxc-ubuntu causes lxc.devttydir to be set to 'lxc'
  only on releases that do NOT support it

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



More information about the Ubuntu-server-bugs mailing list