Public bug reported:

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.

** Affects: lxc (Ubuntu)
     Importance: High
         Status: Triaged

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

** Affects: lxc (Ubuntu Quantal)
     Importance: High
         Status: Triaged

** Changed in: lxc (Ubuntu)
       Status: New => Triaged

** Changed in: lxc (Ubuntu)
   Importance: Undecided => High

** Also affects: lxc (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: lxc (Ubuntu Quantal)
   Importance: High
       Status: Triaged

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

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