touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #112993
[Bug 1509414] [NEW] lxc postinst script checks available interfaces, can choose
Public bug reported:
The released wily image preinstalls lxc, which breaks the assumption
that lxc's preinst packaging script makes:
It inspects the network to try to pick a 10.0.N.0 network that isn't
being used, with N starting at 3, so this appears to have picked
10.0.3.0 when it was installed on whatever system was generating the
image. This conflicts with the network that eth0 gets attached to when
the image is brought up in a container, because it gets attached to the
host's lxcbr0, which is using 10.0.3.x.
This affects LXC, and should affect LXD but doesn't currently. (see #2)
The easiest way to reproduce this is to use the ubuntu-cloud lxc template on a wily host:
sudo lxc-create -t ubuntu-cloud -n wily
sudo lxc-start -n wily
sudo lxc-attach -n wily
# inside container, test connectivity, eg:
apt-get update
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: cloud-installer
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1509414
Title:
lxc postinst script checks available interfaces, can choose
Status in lxc package in Ubuntu:
Confirmed
Bug description:
The released wily image preinstalls lxc, which breaks the assumption
that lxc's preinst packaging script makes:
It inspects the network to try to pick a 10.0.N.0 network that isn't
being used, with N starting at 3, so this appears to have picked
10.0.3.0 when it was installed on whatever system was generating the
image. This conflicts with the network that eth0 gets attached to when
the image is brought up in a container, because it gets attached to
the host's lxcbr0, which is using 10.0.3.x.
This affects LXC, and should affect LXD but doesn't currently. (see #2)
The easiest way to reproduce this is to use the ubuntu-cloud lxc template on a wily host:
sudo lxc-create -t ubuntu-cloud -n wily
sudo lxc-start -n wily
sudo lxc-attach -n wily
# inside container, test connectivity, eg:
apt-get update
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1509414/+subscriptions
Follow ups
-
[Bug 1509414] Update Released
From: Stéphane Graber, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Launchpad Bug Tracker, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Scott Moser, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Scott Moser, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Scott Moser, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robie Basak, 2015-10-26
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Stéphane Graber, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Stéphane Graber, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Stéphane Graber, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Cheryl Jennings, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Cheryl Jennings, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-25
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Adam Stokes, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Jon Grimm, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Tycho Andersen, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Cheryl Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Stéphane Graber, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-24
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Dustin Kirkland , 2015-10-23
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-23
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Robert C Jennings, 2015-10-23
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Serge Hallyn, 2015-10-23
-
[Bug 1509414] Re: pre-installed lxc in cloud image produces broken lxc (and later lxd) containers
From: Scott Moser, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Scott Moser, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Serge Hallyn, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Serge Hallyn, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Stéphane Graber, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Adam Stokes, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Adam Stokes, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Serge Hallyn, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Adam Stokes, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Daniel Westervelt, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Launchpad Bug Tracker, 2015-10-23
-
[Bug 1509414] Re: lxc postinst script checks available interfaces, can choose
From: Adam Stokes, 2015-10-23