[pkg-lxc-devel] Bug#977923: lxc: start fails on Linux 5.10: Failed to copy "/proc/self/mountinfo"

Kevin Locke kevin at kevinlocke.name
Tue Dec 22 23:04:06 GMT 2020


Package: lxc
Version: 1:4.0.4-6
Severity: normal

Dear Maintainer,

A freshly created container with Debian testing runs fine on Linux 5.9
(from linux-image-5.9.0-4-amd64 5.9.11-1), but fails to start on Linux
5.10 (from linux-image-5.10.0-trunk-amd64 5.10.1-1~exp1).  To reproduce:

lxc-create -n testing-amd64 -t debian -- --release testing
lxc-start -n testing-amd64 --logfile debug.log --logpriority TRACE

Works fine on 5.9, prints the following on 5.10:

lxc-start: testing-amd64: lxccontainer.c: wait_on_daemonized_start: 849 Received container state "ABORTING" instead of "RUNNING"
lxc-start: testing-amd64: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: testing-amd64: tools/lxc_start.c: main: 311 To get more details, run the container in foreground mode
lxc-start: testing-amd64: tools/lxc_start.c: main: 313 Additional information can be obtained by setting the --logfile and --logpriority options

The first error in debug.log is:

lxc-start testing-amd64 20201222225630.248 ERROR    conf - conf.c:turn_into_dependent_mounts:2965 - Invalid argument - Failed to copy "/proc/self/mountinfo"

debug.log attached.

Let me know if there's anything else I can do to help, or if I should
report the issue upstream.

Thanks,
Kevin

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-trunk-amd64 (SMP w/4 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 /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  libc6                  2.31-5
ii  libcap2                1:2.44-1
ii  libgcc-s1              10.2.1-1
ii  liblxc1                1:4.0.4-6
ii  libseccomp2            2.5.0-3+b1
ii  libselinux1            3.1-2+b2
ii  lsb-base               11.1.0

Versions of packages lxc recommends:
ii  apparmor                     2.13.5-1+b2
ii  bridge-utils                 1.6-3
ii  debootstrap                  1.0.123
ii  dirmngr                      2.2.20-1
ii  dnsmasq-base [dnsmasq-base]  2.82-1
ii  gnupg                        2.2.20-1
ii  iproute2                     5.9.0-1
ii  iptables                     1.8.6-1
ii  libpam-cgfs                  1:4.0.4-6
ii  lxc-templates                3.0.4-4
ii  lxcfs                        4.0.5-1
ii  nftables                     0.9.7-1
ii  openssl                      1.1.1h-1
ii  rsync                        3.2.3-2
ii  uidmap                       1:4.8.1-1

Versions of packages lxc suggests:
ii  btrfs-progs  5.9-1+b1
pn  lvm2         <none>
ii  python3-lxc  1:3.0.4-1+b4

-- Configuration Files:
/etc/lxc/default.conf [Errno 13] Permission denied: '/etc/lxc/default.conf'

-- debconf information:
* lxc/auto_update_config: true
  lxc/auto: true
  lxc/title:
  lxc/shutdown: /usr/bin/lxc-halt
* lxc/directory: /var/lib/lxc
-------------- next part --------------
lxc-start testing-amd64 20201222225629.681 TRACE    commands - commands.c:lxc_cmd:289 - Connection refused - Command "get_init_pid" failed to connect command socket
lxc-start testing-amd64 20201222225629.681 TRACE    commands - commands.c:lxc_cmd:289 - Connection refused - Command "get_state" failed to connect command socket
lxc-start testing-amd64 20201222225629.681 TRACE    start - start.c:lxc_init_handler:692 - Created anonymous pair {4,5} of unix sockets
lxc-start testing-amd64 20201222225629.681 TRACE    commands - commands.c:lxc_cmd_init:1670 - Created abstract unix socket "/var/lib/lxc/testing-amd64/command"
lxc-start testing-amd64 20201222225629.681 TRACE    start - start.c:lxc_init_handler:708 - Unix domain socket 6 for command server is ready
lxc-start testing-amd64 20201222225629.682 INFO     lxccontainer - lxccontainer.c:do_lxcapi_start:969 - Set process title to [lxc monitor] /var/lib/lxc testing-amd64
lxc-start testing-amd64 20201222225629.682 DEBUG    lxccontainer - lxccontainer.c:wait_on_daemonized_start:830 - First child 2735 exited
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_start:2113 - Doing lxc_start
lxc-start testing-amd64 20201222225629.682 INFO     lsm - lsm/lsm.c:lsm_init:30 - LSM security driver AppArmor
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_init:732 - Initialized LSM
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_serve_state_clients:438 - Set container state to STARTING
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_init:738 - Set container state to "STARTING"
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_init:794 - Set environment variables
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_init:799 - Ran pre-start hooks
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:setup_signal_fd:331 - Created signal file descriptor 8
lxc-start testing-amd64 20201222225629.682 TRACE    start - start.c:lxc_init:808 - Set up signal fd
lxc-start testing-amd64 20201222225629.684 DEBUG    terminal - terminal.c:lxc_terminal_peer_default:655 - No such device - The process does not have a controlling terminal
lxc-start testing-amd64 20201222225629.684 TRACE    start - start.c:lxc_init:816 - Created console
lxc-start testing-amd64 20201222225629.684 TRACE    start - start.c:lxc_init:823 - Chowned console
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:941 - basecginfo is:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:942 - 12:blkio:/
11:devices:/
10:cpuset:/
9:net_cls,net_prio:/
8:freezer:/
7:rdma:/
6:cpu,cpuacct:/
5:perf_event:/
4:hugetlb:/
3:memory:/
2:pids:/
1:name=systemd:/init.scope
0::/init.scope

lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 0: blkio
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 1: devices
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 2: cpuset
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 3: net_cls
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 4: net_prio
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 5: freezer
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 6: rdma
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 7: cpu
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 8: cpuacct
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 9: perf_event
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 10: hugetlb
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 11: memory
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 12: pids
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 13: cgroup2
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:948 - named subsystem 0: name=systemd
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3268 - No controllers are enabled for delegation in the unified hierarchy
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3287 - Writable cgroup hierarchies:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:922 -   Hierarchies:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   0: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/unified
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   1: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/systemd
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: name=systemd
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   2: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/pids
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: pids
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   3: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/memory
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: memory
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   4: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/hugetlb
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: hugetlb
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   5: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/perf_event
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: perf_event
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   6: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/cpu,cpuacct
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: cpu
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       1: cpuacct
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   7: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/rdma
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: rdma
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   8: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/freezer
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: freezer
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   9: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/net_cls,net_prio
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: net_cls
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       1: net_prio
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   10: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/cpuset
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: cpuset
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   11: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/devices
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: devices
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 -   12: base_cgroup: /
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 -       mountpoint:  /sys/fs/cgroup/blkio
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 -       controllers:
lxc-start testing-amd64 20201222225629.684 TRACE    cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 -       0: blkio
lxc-start testing-amd64 20201222225629.684 TRACE    cgroup - cgroups/cgroup.c:cgroup_init:41 - Initialized cgroup driver cgfsng
lxc-start testing-amd64 20201222225629.684 TRACE    cgroup - cgroups/cgroup.c:cgroup_init:46 - Running with hybrid cgroup layout
lxc-start testing-amd64 20201222225629.684 TRACE    start - start.c:lxc_init:830 - Initialized cgroup driver
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:get_new_ctx:470 - Added arch 2 to main seccomp context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:get_new_ctx:478 - Removed native arch from main seccomp context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:get_new_ctx:470 - Added arch 3 to main seccomp context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:get_new_ctx:478 - Removed native arch from main seccomp context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:get_new_ctx:483 - Arch 4 already present in main seccomp context
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "reject_force_umount  # comment this to allow umount -f;  not recommended"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "[all]"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "kexec_load errno 1"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "open_by_handle_at errno 1"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "init_module errno 1"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "finit_module errno 1"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:790 - Processing "delete_module errno 1"
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:985 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1004 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1014 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start testing-amd64 20201222225629.685 INFO     seccomp - seccomp.c:parse_config_v2:1020 - Merging compat seccomp contexts into main context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:parse_config_v2:1030 - Merged first compat seccomp context into main context
lxc-start testing-amd64 20201222225629.685 TRACE    seccomp - seccomp.c:parse_config_v2:1046 - Merged second compat seccomp context into main context
lxc-start testing-amd64 20201222225629.685 TRACE    start - start.c:lxc_init:835 - Read seccomp policy
lxc-start testing-amd64 20201222225629.979 TRACE    start - start.c:lxc_init:842 - Initialized LSM
lxc-start testing-amd64 20201222225629.979 INFO     start - start.c:lxc_init:844 - Container "testing-amd64" is initialized
lxc-start testing-amd64 20201222225630.120 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:433 - No isolated or offline cpus present in cpuset
lxc-start testing-amd64 20201222225630.120 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - "cgroup.clone_children" was already set to "1"
lxc-start testing-amd64 20201222225630.121 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.testing-amd64"
lxc-start testing-amd64 20201222225630.122 INFO     cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1368 - The monitor process uses "lxc.monitor.testing-amd64" as cgroup
lxc-start testing-amd64 20201222225630.130 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:433 - No isolated or offline cpus present in cpuset
lxc-start testing-amd64 20201222225630.130 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - "cgroup.clone_children" was already set to "1"
lxc-start testing-amd64 20201222225630.130 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.testing-amd64"
lxc-start testing-amd64 20201222225630.131 INFO     cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1471 - The container process uses "lxc.payload.testing-amd64" as cgroup
lxc-start testing-amd64 20201222225630.140 TRACE    start - start.c:lxc_spawn:1669 - Spawned container directly into target cgroup via cgroup2 fd 16
lxc-start testing-amd64 20201222225630.141 TRACE    start - start.c:lxc_spawn:1690 - Cloned child process 2739
lxc-start testing-amd64 20201222225630.141 TRACE    utils - utils.c:lxc_can_use_pidfd:1861 - Kernel supports pidfds
lxc-start testing-amd64 20201222225630.141 INFO     start - start.c:lxc_spawn:1706 - Cloned CLONE_NEWNS
lxc-start testing-amd64 20201222225630.141 INFO     start - start.c:lxc_spawn:1706 - Cloned CLONE_NEWPID
lxc-start testing-amd64 20201222225630.141 INFO     start - start.c:lxc_spawn:1706 - Cloned CLONE_NEWUTS
lxc-start testing-amd64 20201222225630.141 INFO     start - start.c:lxc_spawn:1706 - Cloned CLONE_NEWIPC
lxc-start testing-amd64 20201222225630.141 TRACE    start - start.c:lxc_spawn:1669 - Spawned container directly into target cgroup via cgroup2 fd 16
lxc-start testing-amd64 20201222225630.141 INFO     start - start.c:lxc_spawn:1706 - Cloned CLONE_NEWNET
lxc-start testing-amd64 20201222225630.141 DEBUG    start - start.c:lxc_try_preserve_namespaces:166 - Preserved mnt namespace via fd 31
lxc-start testing-amd64 20201222225630.142 DEBUG    start - start.c:lxc_try_preserve_namespaces:166 - Preserved pid namespace via fd 32
lxc-start testing-amd64 20201222225630.142 DEBUG    start - start.c:lxc_try_preserve_namespaces:166 - Preserved uts namespace via fd 33
lxc-start testing-amd64 20201222225630.142 DEBUG    start - start.c:lxc_try_preserve_namespaces:166 - Preserved ipc namespace via fd 34
lxc-start testing-amd64 20201222225630.142 DEBUG    start - start.c:lxc_try_preserve_namespaces:166 - Preserved net namespace via fd 35
lxc-start testing-amd64 20201222225630.144 INFO     cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2873 - Limits for the legacy cgroup hierarchies have been setup
lxc-start testing-amd64 20201222225630.146 WARN     cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2934 - Invalid argument - Ignoring cgroup2 limits on legacy cgroup system
lxc-start testing-amd64 20201222225630.146 TRACE    start - start.c:lxc_spawn:1786 - Allocated new network namespace id
lxc-start testing-amd64 20201222225630.206 INFO     network - network.c:instantiate_veth:285 - Retrieved mtu 1500 from lxcbr0
lxc-start testing-amd64 20201222225630.244 INFO     network - network.c:instantiate_veth:333 - Attached "veth9GR9Y1" to bridge "lxcbr0"
lxc-start testing-amd64 20201222225630.246 DEBUG    network - network.c:instantiate_veth:449 - Instantiated veth tunnel "veth9GR9Y1 <--> veth6N4O8g"
lxc-start testing-amd64 20201222225630.246 TRACE    network - network.c:lxc_network_send_to_child:3558 - Sent network device name "veth6N4O8g" to child
lxc-start testing-amd64 20201222225630.246 TRACE    network - network.c:lxc_network_recv_from_parent:3585 - Received network device name "veth6N4O8g" from parent
lxc-start testing-amd64 20201222225630.247 INFO     start - start.c:do_start:1204 - Unshared CLONE_NEWCGROUP
lxc-start testing-amd64 20201222225630.248 ERROR    conf - conf.c:turn_into_dependent_mounts:2965 - Invalid argument - Failed to copy "/proc/self/mountinfo"
lxc-start testing-amd64 20201222225630.251 DEBUG    storage - storage/storage.c:get_storage_by_name:211 - Detected rootfs type "dir"
lxc-start testing-amd64 20201222225630.252 TRACE    dir - storage/dir.c:dir_mount:165 - Mounted "/var/lib/lxc/testing-amd64/rootfs" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)", mount flags "0", and propagation flags "0"
lxc-start testing-amd64 20201222225630.252 DEBUG    conf - conf.c:lxc_mount_rootfs:1259 - Mounted rootfs "/var/lib/lxc/testing-amd64/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start testing-amd64 20201222225630.252 INFO     conf - conf.c:setup_utsname:752 - Set hostname to "testing-amd64"
lxc-start testing-amd64 20201222225630.439 TRACE    network - network.c:__instantiate_ns_common:884 - Renamed network device from "veth6N4O8g" to "eth%d"
lxc-start testing-amd64 20201222225630.441 DEBUG    network - network.c:setup_hw_addr:3360 - Mac address "00:16:3e:40:78:80" on "eth0" has been setup
lxc-start testing-amd64 20201222225630.444 DEBUG    network - network.c:lxc_network_setup_in_child_namespaces_common:3510 - Network device "eth0" has been setup
lxc-start testing-amd64 20201222225630.445 INFO     network - network.c:lxc_setup_network_in_child_namespaces:3532 - Network has been setup
lxc-start testing-amd64 20201222225630.445 TRACE    network - network.c:lxc_network_send_name_and_ifindex_to_parent:3618 - Sent network device names and ifindices to parent
lxc-start testing-amd64 20201222225630.445 TRACE    conf - conf.c:lxc_setup:3232 - Created detached mount for container's console "/dev/pts/1"
lxc-start testing-amd64 20201222225630.445 INFO     conf - conf.c:mount_autodev:1060 - Preparing "/dev"
lxc-start testing-amd64 20201222225630.445 DEBUG    conf - conf.c:mount_autodev:1066 - Using mount options: size=500000,mode=755
lxc-start testing-amd64 20201222225630.447 TRACE    conf - conf.c:mount_autodev:1086 - Mounted tmpfs on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev"
lxc-start testing-amd64 20201222225630.447 INFO     conf - conf.c:mount_autodev:1109 - Prepared "/dev"
lxc-start testing-amd64 20201222225630.457 ERROR    utils - utils.c:safe_mount:1148 - Invalid argument - Failed to mount "/usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/tty" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys/net"
lxc-start testing-amd64 20201222225630.457 ERROR    conf - conf.c:lxc_mount_auto_mounts:684 - Invalid argument - Failed to mount "/usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/tty" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys/net" with flags 8192
lxc-start testing-amd64 20201222225630.457 ERROR    conf - conf.c:lxc_setup:3247 - Failed to setup first automatic mounts
lxc-start testing-amd64 20201222225630.540 ERROR    start - start.c:do_start:1224 - Failed to setup container "testing-amd64"
lxc-start testing-amd64 20201222225630.541 ERROR    sync - sync.c:__sync_wait:40 - An error occurred in another process (expected sequence number 5)
lxc-start testing-amd64 20201222225630.541 DEBUG    network - network.c:lxc_delete_network:3665 - Deleted network devices
lxc-start testing-amd64 20201222225630.541 TRACE    start - start.c:lxc_serve_state_socket_pair:502 - Sent container state "ABORTING" to 5
lxc-start testing-amd64 20201222225630.541 TRACE    start - start.c:lxc_serve_state_clients:438 - Set container state to ABORTING
lxc-start testing-amd64 20201222225630.541 TRACE    start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-start testing-amd64 20201222225630.542 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:849 - Received container state "ABORTING" instead of "RUNNING"
lxc-start testing-amd64 20201222225630.542 ERROR    lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start testing-amd64 20201222225630.542 ERROR    lxc_start - tools/lxc_start.c:main:311 - To get more details, run the container in foreground mode
lxc-start testing-amd64 20201222225630.543 ERROR    lxc_start - tools/lxc_start.c:main:313 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start testing-amd64 20201222225630.545 ERROR    start - start.c:__lxc_start:1999 - Failed to spawn container "testing-amd64"
lxc-start testing-amd64 20201222225630.545 TRACE    start - start.c:lxc_serve_state_clients:438 - Set container state to ABORTING
lxc-start testing-amd64 20201222225630.545 TRACE    start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-start testing-amd64 20201222225630.545 WARN     start - start.c:lxc_abort:1018 - No such process - Failed to send SIGKILL via pidfd 30 for process 2739
lxc-start testing-amd64 20201222225630.545 TRACE    start - start.c:lxc_serve_state_clients:438 - Set container state to STOPPING
lxc-start testing-amd64 20201222225630.545 TRACE    start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-start testing-amd64 20201222225630.359 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:433 - No isolated or offline cpus present in cpuset
lxc-start testing-amd64 20201222225630.359 TRACE    cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - "cgroup.clone_children" was already set to "1"
lxc-start testing-amd64 20201222225630.360 WARN     cgfsng - cgroups/cgfsng.c:cgfsng_monitor_destroy:1109 - Success - Failed to initialize cpuset /sys/fs/cgroup/cpuset//lxc.pivot/lxc.pivot
lxc-start testing-amd64 20201222225630.360 TRACE    start - start.c:lxc_end:943 - Closed command socket
lxc-start testing-amd64 20201222225630.360 TRACE    start - start.c:lxc_end:954 - Set container state to "STOPPED"
lxc-start testing-amd64 20201222225630.361 INFO     conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "testing-amd64", config section "lxc"


More information about the Pkg-lxc-devel mailing list