On Tue, Apr 12, 2022 at 11:33 AM Michael Biebl <[email protected]> wrote:

>
> Hm, works fine here, i.e. I can't reproduce your problem.
> I'm running LXC on a Debian sid host though.
> Maybe it's something related to your LXC configuration/installation?
>

Hi Michael

LXC host runs on Debian Bullseye.

ck@host:~$ dpkg -l|egrep "(systemd|lxc)" | awk '{print $2" "$3}'
dbus-user-session 1.12.20-2
liblxc1:amd64 1:4.0.6-2
libnss-systemd:amd64 247.3-6
libpam-systemd:amd64 247.3-6
libsystemd0:amd64 247.3-6
libvirt-daemon-system-systemd 7.0.0-3
lxc 1:4.0.6-2
lxcfs 4.0.7-1
systemd 247.3-6
systemd-container 247.3-6
systemd-sysv 247.3-6
systemd-timesyncd 247.3-6

I actually see a major difference when comparing a Debian 11.2 vs. a 11.3
container.

-----------------------------------------------------------
Inside 11.2 LXC:

root@112:~# cat /etc/debian_version
11.2

ck@112:~$ systemctl list-units|grep network
  networking.service                  loaded active exited    Raise network
interfaces
  network-online.target               loaded active active    Network is
Online
  network.target                      loaded active active    Network


Inside 11.3 LXC:

root@113test:~# cat /etc/debian_version
11.3

root@11test:~# systemctl list-units|grep network
  systemd-networkd.service            loaded active running   Network
Service
  systemd-networkd.socket             loaded active running   Network
Service Netlink Socket
  network.target                      loaded active active    Network
-----------------------------------------------------------

Note the different network units.
Both LXC containers have been setup with the same lxc-download template.
Actually a locally modified lxc-download template for our infra so there
was definitely no change inside the template.
Not sure where this change comes from though.

Reply via email to