[pkg-lxc-devel] Bug#986638: lxc: CentOS 7 Container can't be started properly

Michael Becker mjbecker at web.de
Thu Apr 8 16:12:56 BST 2021


Package: lxc
Version: 1:4.0.6-1
Severity: normal

Dear Maintainer,

I made a fresh install of lxc (aptitude install lxc) followed by:

lxc-create -P /home/lxc -t download -n centos -- -d centos -r 7 -a amd64
lxc-start -dn centos

No error was reported.

lxc-attach -n centos
followed by "ps axuw" within the container showed that only /sbin/init was running.
systemd, dbus, network ... have not been started

Running "poweroff" within the container results in the error: 
Failed to talk to init daemon.

Creating the container using the centos template results in the same problem.

Installing release 8 works fine – but that does not help me.

Regards: Michael


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-5-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  bridge-utils                 1.7-1
ii  debconf [debconf-2.0]        1.5.75
ii  dnsmasq-base [dnsmasq-base]  2.84-1
ii  iproute2                     5.10.0-4
ii  iptables                     1.8.7-1
ii  libc6                        2.31-11
ii  libcap2                      1:2.44-1
ii  libgcc-s1                    10.2.1-6
ii  liblxc1                      1:4.0.6-1
ii  libseccomp2                  2.5.1-1
ii  libselinux1                  3.1-3
ii  lsb-base                     11.1.0

Versions of packages lxc recommends:
ii  apparmor       2.13.6-10
ii  debootstrap    1.0.123
ii  dirmngr        2.2.27-1
ii  gnupg          2.2.27-1
ii  libpam-cgfs    1:4.0.6-1
ii  lxc-templates  3.0.4-5
ii  lxcfs          4.0.7-1
ii  openssl        1.1.1k-1
ii  rsync          3.2.3-4
ii  uidmap         1:4.8.1-1
ii  wget           1.21-1+b1

Versions of packages lxc suggests:
pn  btrfs-progs  <none>
ii  lvm2         2.03.11-2.1
pn  python3-lxc  <none>

-- debconf information:
  lxc/auto_update_config:


More information about the Pkg-lxc-devel mailing list