lxc grabs 10.0.0.0/8 by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On precise, after apt-get install lxc:
# ip addr show dev lxcbr0
6: lxcbr0: <BROADCAST,
link/ether 82:6a:90:8b:57:70 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.1/8 brd 10.255.255.255 scope global lxcbr0
inet6 fe80::806a:
valid_lft forever preferred_lft forever
From /etc/lxc/default (unchanged):
LXC_BRIDGE="lxcbr0"
LXC_ADDR="10.0.3.1"
LXC_NETWORK=
LXC_DHCP_
LXC_DHCP_MAX="253"
Expected behaviour: lxcbr0 should be configured to 10.0.3.1/24
Actual behaviour: lxcbr0 is configured to 10.0.3.1/8
This is a problem for me because my setup also uses the 10.x range. 10/8 is too big a range to grab by default.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc (not installed)
ProcVersionSign
Uname: Linux 3.2.0-1403-omap4 armv7l
ApportVersion: 1.90-0ubuntu1
Architecture: armel
Date: Mon Jan 9 12:23:23 2012
ProcEnviron:
LANGUAGE=en_GB:
LC_COLLATE=C
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in lxc (Ubuntu): | |
importance: | Undecided → Medium |
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
This bug was fixed in the package lxc - 0.7.5-3ubuntu5
---------------
lxc (0.7.5-3ubuntu5) precise; urgency=low
[ Robie Basak ] patches/ 0015-ubuntu- templ-use- updates. patch: use ports.ubuntu.com patches/ 0015-ubuntu- templ-use- updates. patch: dist-upgrade in an lxc.{default, init}: call ifconfig with explicit netmask
* debian/
in sources.list for alternative architectures (LP: #820715).
* debian/
isolated environment to avoid leaving a bind mount behind (LP: #913877).
* debian/
(LP: #913727).
[ Serge Hallyn ] lxcguest. console. upstart: pass 'console' not '/dev/console' to patches/ 0015-ubuntu- templ-use- updates. patch: at post_process(), cgroups. patch: nest container cgroups under the host's upstream- fedora- template. patch: move to the upstream lxc-ps- search- proc.patch: work when cgroups are mounted with patches/ 0019-fix- lxc-ls- nested- cgroups. patch: fix lxc-ls to
* debian/lxc.default: update the MIRROR example - using 'localhost'
fails for updates after the container has been started.
* debian/
getty. (LP: #913952)
* debian/
copy host's /etc/resolv.conf (which may have changed) into chroot before
apt-get actions, and always do a apt-get update before installing lxcguest,
as the package version may have changed in the archive. (LP: #914155)
* 0016-nested-
init cgroup. (LP: #901482)
* 0017-pull-
lxc-fedora template (LP: #881903)
* 0018-make-
'-n'.
* debian/
handle the support for nested cgroups. (pull this into previous
commit msg before pushing)
-- Serge Hallyn <email address hidden> Tue, 10 Jan 2012 18:51:45 +0000