** Description changed:

  A container with an IPv6 address in its configuration (for example,
  'lxc.network.ipv6 = 2001:db8:fedc:abcd::2/80') fails to start with the
  error below.
  
      lxc-start 1377083732.942 ERROR    lxc_confile - No such file or
  directory - invalid ipv6 address: 2001:db8:fedc:abcd::2/80
  
  This IPv6 address is valid, however, and the same configuration works
  fine on 12.04.
  
  Ubuntu Release: Ubuntu 13.04
  lxc package version: 0.9.0-0ubuntu3.4
+ 
+ SRU justification
+ 1. impact: container configurations specifying an ipv6 address with a mask 
fail to start
+ 2. Development fix: remove the mask from ipv6 address before passing it to 
inet_pton
+ 3. Stable fix: same as development fix
+ 4. test case:
+    sudo lxc-create -t ubuntu -n x1
+    Echo "lxc.network.ipv6 = 2001:db8:fedc:abcd::2/80" | sudo tee -a 
/var/lib/lxc/x1/config
+    sudo lxc-start -n x1
+ 5. Regression potential: none, we are simply passing the correct buffer to 
inet_pton.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215391

Title:
  lxc-start can't parse IPv6 addresses

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to