lxc-start can't parse IPv6 addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
A container with an IPv6 address in its configuration (for example, 'lxc.network.ipv6 = 2001:db8:
lxc-start 1377083732.942 ERROR lxc_confile - No such file or directory - invalid ipv6 address: 2001:db8:
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:
sudo lxc-start -n x1
5. Regression potential: none, we are simply passing the correct buffer to inet_pton.
Related branches
Changed in lxc (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in lxc (Ubuntu Raring): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.