[Bug 1331276] [NEW] Starting lxc container from libvirt disconnects host network
Mark Kirkwood
1331276 at bugs.launchpad.net
Wed Jun 18 02:00:52 UTC 2014
Public bug reported:
Starting an lxc container, defined via the XML below, results in the
host's eth0 getting disconnected. I see DHCP messages beng generated and
notice this process:
root 5640 0.0 0.0 10232 2416 ? Ss 13:05 0:00
dhclient -1 -v -pf /run/dhclient.eth0.pid -lf
/var/lib/dhcp/dhclient.eth0.leases eth0
is created - in addition to the usual network manager one. When I try to
stop the container from virsh I get permission denied killing process
5640 (if I kill it myself, then I can stop the container).
Starting and stopping the container via lxc-start|stop does not
produceany unusual symptoms.
=== container definition ===
(root) $ cat lxc1.xml
<domain type='lxc'>
<name>lxc1</name>
<memory>327680</memory>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<vcpu>1</vcpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
<filesystem type='mount'>
<source dir='/var/lib/lxc/lxc1/rootfs'/>
<target dir='/'/>
</filesystem>
<interface type='network'>
<source network='default'/>
</interface>
<console type='pty'/>
</devices>
</domain>
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libvirt-bin 1.2.2-0ubuntu13.1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Wed Jun 18 13:43:01 2014
InstallationDate: Installed on 2014-03-17 (92 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140314)
ProcEnviron:
LANGUAGE=en_NZ:en
TERM=xterm
PATH=(custom, no user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.libvirt.libvirtd.conf: [modified]
modified.conffile..etc.libvirt.qemu.conf: [modified]
modified.conffile..etc.libvirt.qemu.networks.default.xml: [modified]
mtime.conffile..etc.libvirt.libvirtd.conf: 2014-04-30T14:46:35.465205
mtime.conffile..etc.libvirt.qemu.conf: 2014-04-30T14:36:31.125221
mtime.conffile..etc.libvirt.qemu.networks.default.xml: 2014-06-18T12:59:02.877673
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1331276
Title:
Starting lxc container from libvirt disconnects host network
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1331276/+subscriptions
More information about the Ubuntu-server-bugs
mailing list