[pkg-lxc-devel] Bug#1001713: lxc-copy --ephemeral fail: Failed to create monitor cgroup 12
Shengjing Zhu
zhsj at debian.org
Tue Dec 14 18:48:18 GMT 2021
Package: lxc
Version: 1:4.0.10-1
Severity: normal
X-Debbugs-Cc: zhsj at debian.org
Dear Maintainer,
$ sudo lxc-copy -F -l debug --name autopkgtest-sid --ephemeral --newname a
Created a as clone of autopkgtest-sid
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: __cgroup_tree_create: 771 File exists - Creating the final cgroup 12(lxc.monitor.a) failed
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: cgroup_tree_create: 831 File exists - Failed to create monitor cgroup 12(lxc.monitor.a)
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: __cgroup_tree_create: 771 File exists - Creating the final cgroup 12(lxc.monitor.a-1) failed
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: cgroup_tree_create: 831 File exists - Failed to create monitor cgroup 12(lxc.monitor.a-1)
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: __cgroup_tree_create: 771 File exists - Creating the final cgroup 12(lxc.monitor.a-2) failed
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: cgroup_tree_create: 831 File exists - Failed to create monitor cgroup 12(lxc.monitor.a-2)
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: __cgroup_tree_create: 771 File exists - Creating the final cgroup 12(lxc.monitor.a-3) failed
lxc-copy: autopkgtest-sid: cgroups/cgfsng.c: cgroup_tree_create: 831 File exists - Failed to create monitor cgroup 12(lxc.monitor.a-3)
lxc-copy: autopkgtest-sid: conf.c: lxc_rootfs_init: 570 Bad file descriptor - Failed to open "overlay:/var/lib/lxc/autopkgtest-sid/rootfs:/var/lib/lxc/a/overlay/delta"
lxc-copy: autopkgtest-sid: start.c: __lxc_start: 2025 Failed to handle rootfs pinning for container "a"
As the log shows, lxc-copy fails when using --ephemeral option.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-2-amd64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.79
ii dnsmasq-base [dnsmasq-base] 2.86-1.1
ii iproute2 5.15.0-1
ii iptables 1.8.7-1
ii libc6 2.32-5
ii libcap2 1:2.44-1
ii libgcc-s1 11.2.0-12
ii liblxc1 1:4.0.10-1
ii libseccomp2 2.5.3-2
ii libselinux1 3.3-1+b1
ii lsb-base 11.1.0
Versions of packages lxc recommends:
ii apparmor 3.0.3-6
ii debootstrap 1.0.126+nmu1
ii dirmngr 2.2.27-2
ii gnupg 2.2.27-2
pn libpam-cgfs <none>
ii lxc-templates 3.0.4-5
pn lxcfs <none>
ii openssl 1.1.1l-1
ii rsync 3.2.3-8
ii uidmap 1:4.8.1-2
ii wget 1.21.2-2+b1
Versions of packages lxc suggests:
pn btrfs-progs <none>
pn lvm2 <none>
pn python3-lxc <none>
-- debconf information:
lxc/auto_update_config:
More information about the Pkg-lxc-devel
mailing list