[pkg-lxc-devel] Bug#820428: lxc: debian/jessie/amd64 image ipv4 issue
Mattia Rizzolo
mattia at debian.org
Fri Apr 8 10:59:38 UTC 2016
control: reassign -1 lxc
On Fri, Apr 08, 2016 at 12:03:50PM +0200, Harald van der Laan wrote:
> package: lxc image debian/jessie/amd64
reassigning to the correct package, as ↑↑↑ this line got mangled or
something.
>
> when i create a new container with lxc of the latest debian/jessie/amd64 the is no ipv4 network.
> when trying to restart the network (systemctl restart networking.service) it will give a D-Bus error.
> After inspection D-Bus is not installed and because there is no network D-Bus cannot be installed.
>
> $ lxc launch images:debian/jessie/amd64 a
>
> $ lxc list a
> +------+---------+------+---------------------------------+------------+-----------+
> | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
> +------+---------+------+---------------------------------+------------+-----------+
> | a | RUNNING | | fd00::216:3eff:fef1:4264 (eth0) | PERSISTENT | 0 |
> +------+---------+------+---------------------------------+------------+-----------+
>
> $ lxc exec a -- /bin/bash
>
> # systemctl restart networking.services
> Failed to get D-Bus connection: No such file or directory
>
> # dpkg -l | grep dbus
>
> # ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 36: eth0 at if37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
> link/ether 00:16:3e:f1:42:64 brd ff:ff:ff:ff:ff:ff
> inet6 fd00::216:3eff:fef1:4264/64 scope global mngtmpaddr dynamic
> valid_lft 3351sec preferred_lft 3351sec
> inet6 fe80::216:3eff:fef1:4264/64 scope link
> valid_lft forever preferred_lft forever
>
> # cat /etc/network/interfaces
> # The primary network interface
> auto eth0
> iface eth0 inet dhcp
>
>
> Solution: install dbus with the lxc images:debian/jessie/amd64
>
>
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxc-devel/attachments/20160408/bd9bf8aa/attachment.sig>
More information about the Pkg-lxc-devel
mailing list