Start error in lxc-4.0.9

But which init.lxc.static shows /usr/sbin/init.lxc.static which means it is present.

/usr/local/sbin/init.lxc is also available

Why it is complaining for lxc.init.static then? is the path proper?

lxc is built and installed from lxc-4.0.6.tar.gz.
Used ./configure && make && make install commands to build and install lxc

Would be helpful if you could suggest if there Is any solution for this error @brauner ?

lxc searches for init.lxc.static library in /usr/local/sbin. But in host system this binary is available in different path i.e., /usr/sbin/init/lxc.static. copying binary to proper path works

lxc searches for init.lxc.static library in /usr/local/sbin. But in host system this binary is available in different path i.e., /usr/sbin/init/lxc.static

But lxc-execute does not give proper output,

lxc-execute -n containerB -f config -l trace -o /tmp/y.txt -d – pwd
$ cat /tmp/y.txt
lxc-execute containerB 20220110201156.562 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.562 INFO confile - confile.c:set_config_idmaps:1942 - Read uid map: type u nsid 0 hostid 231072 range 10
lxc-execute containerB 20220110201156.562 INFO confile - confile.c:set_config_idmaps:1942 - Read uid map: type g nsid 0 hostid 231072 range 10
lxc-execute containerB 20220110201156.562 INFO confile - confile.c:set_config_idmaps:1942 - Read uid map: type u nsid 1002 hostid 1002 range 1
lxc-execute containerB 20220110201156.562 INFO confile - confile.c:set_config_idmaps:1942 - Read uid map: type g nsid 1003 hostid 1003 range 1
lxc-execute containerB 20220110201156.562 TRACE start - start.c:lxc_init_handler:694 - Created anonymous pair {4,5} of unix sockets
lxc-execute containerB 20220110201156.562 TRACE commands - commands.c:lxc_cmd_init:1770 - Created abstract unix socket “/home/userA/.local/share/lxc/containerB/command”
lxc-execute containerB 20220110201156.562 TRACE start - start.c:lxc_init_handler:709 - Unix domain socket 6 for command server is ready
lxc-execute containerB 20220110201156.563 INFO lxccontainer - lxccontainer.c:do_lxcapi_start:979 - Set process title to [lxc monitor] /home/userA/.local/share/lxc containerB
lxc-execute containerB 20220110201156.563 DEBUG lxccontainer - lxccontainer.c:wait_on_daemonized_start:840 - First child 24952 exited
lxc-execute containerB 20220110201156.563 TRACE execute - execute.c:lxc_execute:97 - Doing lxc_execute
lxc-execute containerB 20220110201156.563 INFO lsm - lsm/lsm.c:lsm_init:40 - Initialized LSM security driver nop
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_init:732 - Initialized LSM
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_serve_state_clients:438 - Set container state to STARTING
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-execute containerB 20220110201156.563 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_init:738 - Set container state to “STARTING”
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_init:794 - Set environment variables
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_init:799 - Ran pre-start hooks
lxc-execute containerB 20220110201156.563 TRACE start - start.c:setup_signal_fd:331 - Created signal file descriptor 8
lxc-execute containerB 20220110201156.563 TRACE start - start.c:lxc_init:808 - Set up signal fd
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4534 - Chowned 10((null)) to -1:1003
lxc-execute containerB 20220110201156.564 INFO conf - conf.c:add_idmap_entry:4464 - Adding id map: type u nsid 0 hostid 231072 range 1
lxc-execute containerB 20220110201156.564 INFO conf - conf.c:add_idmap_entry:4464 - Adding id map: type u nsid 1002 hostid 1002 range 1
lxc-execute containerB 20220110201156.564 INFO conf - conf.c:add_idmap_entry:4464 - Adding id map: type g nsid 0 hostid 231072 range 1
lxc-execute containerB 20220110201156.564 INFO conf - conf.c:add_idmap_entry:4464 - Adding id map: type g nsid 1003 hostid 1003 range 1
lxc-execute containerB 20220110201156.564 INFO conf - conf.c:add_idmap_entry:4464 - Adding id map: type g nsid 5 hostid 231077 range 1
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4625 - Establishing uid mapping for “24954” in new user namespace: nsuid 0 - hostid 231072 - range 1
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4625 - Establishing uid mapping for “24954” in new user namespace: nsuid 1002 - hostid 1002 - range 1
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4625 - Establishing gid mapping for “24954” in new user namespace: nsuid 0 - hostid 231072 - range 1
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4625 - Establishing gid mapping for “24954” in new user namespace: nsuid 1003 - hostid 1003 - range 1
lxc-execute containerB 20220110201156.564 TRACE conf - conf.c:userns_exec_mapped_root:4625 - Establishing gid mapping for “24954” in new user namespace: nsuid 5 - hostid 231077 - range 1
lxc-execute containerB 20220110201156.564 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newuidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.564 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newgidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.564 DEBUG conf - conf.c:lxc_map_ids:2796 - Functional newuidmap and newgidmap binary found
lxc-execute containerB 20220110201156.564 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.566 TRACE conf - conf.c:lxc_map_ids:2866 - newuidmap wrote mapping “newuidmap 24954 0 231072 1 1002 1002 1”
lxc-execute containerB 20220110201156.566 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.568 TRACE conf - conf.c:lxc_map_ids:2866 - newgidmap wrote mapping “newgidmap 24954 0 231072 1 1003 1003 1 5 231077 1”
lxc-execute containerB 20220110201156.568 NOTICE utils - utils.c:lxc_switch_uid_gid:1398 - Switched to gid 0
lxc-execute containerB 20220110201156.568 NOTICE utils - utils.c:lxc_switch_uid_gid:1407 - Switched to uid 0
lxc-execute containerB 20220110201156.568 NOTICE utils - utils.c:lxc_setgroups:1420 - Dropped additional groups
lxc-execute containerB 20220110201156.568 TRACE conf - conf.c:userns_exec_mapped_root:4611 - Chowned 10((null)) to 0:5
lxc-execute containerB 20220110201156.569 TRACE terminal - terminal.c:lxc_terminal_map_ids:860 - Chowned terminal 10((null))
lxc-execute containerB 20220110201156.569 DEBUG terminal - terminal.c:lxc_terminal_peer_default:665 - No such device - The process does not have a controlling terminal
lxc-execute containerB 20220110201156.569 TRACE start - start.c:lxc_init:816 - Created console
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:941 - basecginfo is:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:942 - 12:perf_event:/
11:memory:/user/userA/0
10:cpuset:/
9:freezer:/user/userA/0
8:cpu,cpuacct:/user.slice
7:devices:/user.slice
6:pids:/user.slice/user-1001.slice/session-4.scope
5:rdma:/
4:net_cls,net_prio:/
3:hugetlb:/
2:blkio:/user.slice
1:name=systemd:/user/userA/0
0::/user.slice/user-1001.slice/session-4.scope

lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 0: perf_event
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 1: memory
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 2: cpuset
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 3: freezer
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 4: cpu
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 5: cpuacct
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 6: devices
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 7: pids
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 8: rdma
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 9: net_cls
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 10: net_prio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 11: hugetlb
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 12: blkio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:945 - kernel subsystem 13: cgroup2
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_basecg_debuginfo:948 - named subsystem 0: name=systemd
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3271 - No controllers are enabled for delegation in the unified hierarchy
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3289 - Writable cgroup hierarchies:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:922 - Hierarchies:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 0: base_cgroup: /user.slice/user-1001.slice/session-4.scope
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/unified
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 1: base_cgroup: /user/userA/0
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/systemd
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: name=systemd
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 2: base_cgroup: /user.slice
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/blkio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: blkio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 3: base_cgroup: /
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/hugetlb
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: hugetlb
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 4: base_cgroup: /
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/net_cls,net_prio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: net_cls
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 1: net_prio
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 5: base_cgroup: /
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/rdma
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: rdma
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 6: base_cgroup: /user.slice/user-1001.slice/session-4.scope
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/pids
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: pids
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 7: base_cgroup: /user.slice
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/devices
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: devices
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 8: base_cgroup: /user.slice
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/cpu,cpuacct
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: cpu
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 1: cpuacct
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 9: base_cgroup: /user/userA/0
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/freezer
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: freezer
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 10: base_cgroup: /
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/cpuset
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: cpuset
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 11: base_cgroup: /user/userA/0
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/memory
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: memory
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:927 - 12: base_cgroup: /
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:928 - mountpoint: /sys/fs/cgroup/perf_event
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:929 - controllers:
lxc-execute containerB 20220110201156.569 TRACE cgfsng - cgroups/cgfsng.c:lxc_cgfsng_print_hierarchies:931 - 0: perf_event
lxc-execute containerB 20220110201156.569 TRACE cgroup - cgroups/cgroup.c:cgroup_init:41 - Initialized cgroup driver cgfsng
lxc-execute containerB 20220110201156.569 TRACE cgroup - cgroups/cgroup.c:cgroup_init:46 - Running with hybrid cgroup layout
lxc-execute containerB 20220110201156.569 TRACE start - start.c:lxc_init:823 - Initialized cgroup driver
lxc-execute containerB 20220110201156.569 TRACE start - start.c:lxc_init:828 - Read seccomp policy
lxc-execute containerB 20220110201156.569 TRACE start - start.c:lxc_init:835 - Initialized LSM
lxc-execute containerB 20220110201156.569 INFO start - start.c:lxc_init:837 - Container “containerB” is initialized
lxc-execute containerB 20220110201156.570 TRACE cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - “cgroup.clone_children” was already set to “1”
lxc-execute containerB 20220110201156.570 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory “/sys/fs/cgroup/cpuset//lxc.monitor.containerB”
lxc-execute containerB 20220110201156.570 INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1368 - The monitor process uses “lxc.monitor.containerB” as cgroup
lxc-execute containerB 20220110201156.570 TRACE sync - sync.c:lxc_sync_init:113 - Initialized synchronization infrastructure
lxc-execute containerB 20220110201156.571 TRACE cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - “cgroup.clone_children” was already set to “1”
lxc-execute containerB 20220110201156.571 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory “/sys/fs/cgroup/cpuset//lxc.payload.containerB”
lxc-execute containerB 20220110201156.571 INFO cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1471 - The container process uses “lxc.payload.containerB” as cgroup
lxc-execute containerB 20220110201156.571 TRACE start - start.c:lxc_spawn:1652 - Function not implemented - Failed to spawn container directly into target cgroup
lxc-execute containerB 20220110201156.571 TRACE start - start.c:lxc_spawn:1668 - Function not implemented - Failed to spawn container via clone3()
lxc-execute containerB 20220110201156.572 TRACE start - start.c:lxc_spawn:1684 - Cloned child process 24965
lxc-execute containerB 20220110201156.572 ERROR utils - utils.c:lxc_can_use_pidfd:1853 - Kernel does not support pidfds
lxc-execute containerB 20220110201156.572 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUSER
lxc-execute containerB 20220110201156.572 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWNS
lxc-execute containerB 20220110201156.572 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWPID
lxc-execute containerB 20220110201156.572 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUTS
lxc-execute containerB 20220110201156.572 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWIPC
lxc-execute containerB 20220110201156.572 DEBUG start - start.c:lxc_try_preserve_namespaces:167 - Preserved user namespace via fd 29
lxc-execute containerB 20220110201156.572 DEBUG start - start.c:lxc_try_preserve_namespaces:167 - Preserved mnt namespace via fd 30
lxc-execute containerB 20220110201156.572 DEBUG start - start.c:lxc_try_preserve_namespaces:167 - Preserved pid namespace via fd 31
lxc-execute containerB 20220110201156.572 DEBUG start - start.c:lxc_try_preserve_namespaces:167 - Preserved uts namespace via fd 32
lxc-execute containerB 20220110201156.572 DEBUG start - start.c:lxc_try_preserve_namespaces:167 - Preserved ipc namespace via fd 33
lxc-execute containerB 20220110201156.573 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newuidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.573 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newgidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.573 DEBUG conf - conf.c:lxc_map_ids:2796 - Functional newuidmap and newgidmap binary found
lxc-execute containerB 20220110201156.573 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.573 TRACE sync - sync.c:lxc_sync_wait_parent:84 - Parent waiting for child with sequence startup
lxc-execute containerB 20220110201156.579 TRACE conf - conf.c:lxc_map_ids:2866 - newuidmap wrote mapping “newuidmap 24965 0 231072 10 1002 1002 1”
lxc-execute containerB 20220110201156.579 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.582 TRACE conf - conf.c:lxc_map_ids:2866 - newgidmap wrote mapping “newgidmap 24965 0 231072 10 1003 1003 1”
lxc-execute containerB 20220110201156.583 TRACE sync - sync.c:lxc_sync_wake_child:96 - Child waking parent with sequence startup
lxc-execute containerB 20220110201156.583 TRACE sync - sync.c:lxc_sync_wait_child:90 - Child waiting for parent with sequence configure
lxc-execute containerB 20220110201156.583 INFO start - start.c:do_start:1085 - Unshared CLONE_NEWNET
lxc-execute containerB 20220110201156.583 TRACE sync - sync.c:lxc_sync_barrier_parent:65 - Child waking parent with sequence configure and waiting for sequence post-configure
lxc-execute containerB 20220110201156.583 TRACE conf - conf.c:get_minimal_idmap:4037 - Allocated minimal idmapping for ns uid 0 and ns gid 0
lxc-execute containerB 20220110201156.583 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.583 TRACE conf - conf.c:userns_exec_1:4103 - Establishing uid mapping for “24977” in new user namespace: nsuid 1002 - hostid 1002 - range 1
lxc-execute containerB 20220110201156.583 TRACE conf - conf.c:userns_exec_1:4103 - Establishing uid mapping for “24977” in new user namespace: nsuid 0 - hostid 231072 - range 10
lxc-execute containerB 20220110201156.583 TRACE conf - conf.c:userns_exec_1:4103 - Establishing gid mapping for “24977” in new user namespace: nsuid 1003 - hostid 1003 - range 1
lxc-execute containerB 20220110201156.583 TRACE conf - conf.c:userns_exec_1:4103 - Establishing gid mapping for “24977” in new user namespace: nsuid 0 - hostid 231072 - range 10
lxc-execute containerB 20220110201156.583 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newuidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.583 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newgidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.583 DEBUG conf - conf.c:lxc_map_ids:2796 - Functional newuidmap and newgidmap binary found
lxc-execute containerB 20220110201156.583 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.586 TRACE conf - conf.c:lxc_map_ids:2866 - newuidmap wrote mapping “newuidmap 24977 1002 1002 1 0 231072 10”
lxc-execute containerB 20220110201156.586 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.588 TRACE conf - conf.c:lxc_map_ids:2866 - newgidmap wrote mapping “newgidmap 24977 1003 1003 1 0 231072 10”
lxc-execute containerB 20220110201156.588 TRACE conf - conf.c:run_userns_fn:3879 - Calling function “chown_cgroup_wrapper”
lxc-execute containerB 20220110201156.588 NOTICE utils - utils.c:lxc_setgroups:1420 - Dropped additional groups
lxc-execute containerB 20220110201156.589 DEBUG start - start.c:lxc_spawn:1773 - Preserved net namespace via fd 7
lxc-execute containerB 20220110201156.589 WARN start - start.c:lxc_spawn:1778 - Operation not permitted - Failed to allocate new network namespace id
lxc-execute containerB 20220110201156.589 TRACE sync - sync.c:lxc_sync_barrier_child:72 - Parent waking child with sequence post-configure and waiting with sequence cgroup
lxc-execute containerB 20220110201156.589 NOTICE utils - utils.c:lxc_setgroups:1420 - Dropped additional groups
lxc-execute containerB 20220110201156.589 NOTICE utils - utils.c:lxc_switch_uid_gid:1398 - Switched to gid 0
lxc-execute containerB 20220110201156.589 NOTICE utils - utils.c:lxc_switch_uid_gid:1407 - Switched to uid 0
lxc-execute containerB 20220110201156.589 TRACE sync - sync.c:lxc_sync_barrier_parent:65 - Child waking parent with sequence cgroup and waiting for sequence cgroup-unshare
lxc-execute containerB 20220110201156.589 TRACE sync - sync.c:lxc_sync_barrier_child:72 - Parent waking child with sequence cgroup-unshare and waiting with sequence cgroup-limits
lxc-execute containerB 20220110201156.589 INFO start - start.c:do_start:1198 - Unshared CLONE_NEWCGROUP
lxc-execute containerB 20220110201156.589 TRACE conf - conf.c:turn_into_dependent_mounts:3054 - Turned all mount table entries into dependent mount
lxc-execute containerB 20220110201156.589 DEBUG storage - storage/storage.c:storage_query:233 - Detected rootfs type “dir”
lxc-execute containerB 20220110201156.589 TRACE dir - storage/dir.c:dir_mount:166 - Mounted “/var/lib/lxc/containerB” on “/usr/local/lib/lxc/rootfs” with options “(null)”, mount flags “0”, and propagation flags “0”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_mount_rootfs:1263 - Mounted rootfs “/var/lib/lxc/containerB” onto “/usr/local/lib/lxc/rootfs” with options “(null)”
lxc-execute containerB 20220110201156.589 INFO conf - conf.c:setup_utsname:749 - Set hostname to “containerB”
lxc-execute containerB 20220110201156.589 TRACE conf - conf.c:lxc_setup:3308 - Function not implemented - Failed to create detached mount for container’s console “/dev/pts/5”
lxc-execute containerB 20220110201156.589 INFO conf - conf.c:mount_autodev:1056 - Preparing “/dev”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:mount_autodev:1059 - Using mount options: size=500000,mode=755
lxc-execute containerB 20220110201156.589 TRACE conf - conf.c:mount_autodev:1089 - Mounted tmpfs on “/usr/local/lib/lxc/rootfs”
lxc-execute containerB 20220110201156.589 INFO conf - conf.c:mount_autodev:1106 - Prepared “/dev”
lxc-execute containerB 20220110201156.589 TRACE conf - conf.c:lxc_setup:3353 - searching lxc.init.static in “/usr/local/sbin/init.lxc.static”
lxc-execute containerB 20220110201156.589 INFO conf - conf.c:lxc_fill_autodev:1149 - Populating “/dev”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/full” onto “full”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/null” onto “null”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/random” onto “random”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/tty” onto “tty”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/urandom” onto “urandom”
lxc-execute containerB 20220110201156.589 DEBUG conf - conf.c:lxc_fill_autodev:1217 - Bind mounted host device node “/dev/zero” onto “zero”
lxc-execute containerB 20220110201156.590 INFO conf - conf.c:lxc_fill_autodev:1221 - Populated “/dev”
lxc-execute containerB 20220110201156.590 INFO utils - utils.c:lxc_mount_proc_if_needed:1278 - Mounted /proc in container for security transition
lxc-execute containerB 20220110201156.590 DEBUG conf - conf.c:lxc_setup_dev_console:1688 - Mounted pty device -1(/dev/pts/5) onto “/usr/local/lib/lxc/rootfs/dev/console”
lxc-execute containerB 20220110201156.603 TRACE conf - conf.c:lxc_pivot_root:1434 - pivot_root("/usr/local/lib/lxc/rootfs") successful
lxc-execute containerB 20220110201156.603 DEBUG conf - conf.c:lxc_setup_devpts_child:1509 - No new devpts instance will be mounted since no pts devices are requested
lxc-execute containerB 20220110201156.603 DEBUG conf - conf.c:setup_caps:2422 - Capabilities have been setup
lxc-execute containerB 20220110201156.603 NOTICE conf - conf.c:lxc_setup:3447 - The container “containerB” is set up
lxc-execute containerB 20220110201156.627 TRACE sync - sync.c:lxc_sync_barrier_parent:65 - Child waking parent with sequence cgroup-limits and waiting for sequence ready-start
lxc-execute containerB 20220110201156.627 TRACE start - start.c:lxc_spawn:1831 - Set up legacy device cgroup controller limits
lxc-execute containerB 20220110201156.627 TRACE start - start.c:lxc_spawn:1837 - Set up cgroup2 device controller limits
lxc-execute containerB 20220110201156.627 DEBUG start - start.c:lxc_spawn:1849 - Preserved cgroup namespace via fd 12
lxc-execute containerB 20220110201156.627 TRACE start - start.c:lxc_spawn:1854 - Finished setting up cgroups
lxc-execute containerB 20220110201156.627 TRACE sync - sync.c:lxc_sync_barrier_child:72 - Parent waking child with sequence ready-start and waiting with sequence restart
lxc-execute containerB 20220110201156.627 NOTICE execute - execute.c:execute_start:66 - Exec’ing “pwd”
lxc-execute containerB 20220110201156.628 TRACE confile_utils - confile_utils.c:lxc_log_configured_netdevs:233 - container has no networks configured
lxc-execute containerB 20220110201156.628 NOTICE execute - execute.c:execute_post_start:82 - ‘pwd’ started with pid ‘24965’
lxc-execute containerB 20220110201156.628 TRACE start - start.c:lxc_serve_state_socket_pair:503 - Sent container state “RUNNING” to 5
lxc-execute containerB 20220110201156.628 TRACE start - start.c:lxc_serve_state_clients:438 - Set container state to RUNNING
lxc-execute containerB 20220110201156.628 TRACE start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-execute containerB 20220110201156.628 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.628 TRACE lxccontainer - lxccontainer.c:wait_on_daemonized_start:864 - Container is in “RUNNING” state
lxc-execute containerB 20220110201156.628 TRACE start - start.c:lxc_poll:592 - Mainloop is ready
lxc-execute containerB 20220110201156.628 NOTICE start - start.c:signal_handler:405 - Received 17 from pid 24955 instead of container init 24965
lxc-execute containerB 20220110201156.630 DEBUG start - start.c:signal_handler:422 - Container init process 24965 exited
lxc-execute containerB 20220110201156.630 TRACE start - start.c:lxc_poll:605 - Closed console mainloop
lxc-execute containerB 20220110201156.630 TRACE start - start.c:lxc_poll:610 - Closed mainloop
lxc-execute containerB 20220110201156.630 TRACE start - start.c:lxc_poll:613 - Closed signal file descriptor 8
lxc-execute containerB 20220110201156.630 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.630 INFO error - error.c:lxc_error_set_and_log:28 - Child <24965> ended on error (255)
lxc-execute containerB 20220110201156.630 DEBUG network - network.c:lxc_delete_network:3672 - Deleted network devices
lxc-execute containerB 20220110201156.631 TRACE start - start.c:lxc_serve_state_clients:438 - Set container state to STOPPING
lxc-execute containerB 20220110201156.631 TRACE start - start.c:lxc_serve_state_clients:441 - No state clients registered
lxc-execute containerB 20220110201156.631 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.631 TRACE conf - conf.c:get_minimal_idmap:4037 - Allocated minimal idmapping for ns uid 0 and ns gid 0
lxc-execute containerB 20220110201156.631 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.631 TRACE conf - conf.c:userns_exec_1:4103 - Establishing uid mapping for “24998” in new user namespace: nsuid 1002 - hostid 1002 - range 1
lxc-execute containerB 20220110201156.631 TRACE conf - conf.c:userns_exec_1:4103 - Establishing uid mapping for “24998” in new user namespace: nsuid 0 - hostid 231072 - range 10
lxc-execute containerB 20220110201156.631 TRACE conf - conf.c:userns_exec_1:4103 - Establishing gid mapping for “24998” in new user namespace: nsuid 1003 - hostid 1003 - range 1
lxc-execute containerB 20220110201156.631 TRACE conf - conf.c:userns_exec_1:4103 - Establishing gid mapping for “24998” in new user namespace: nsuid 0 - hostid 231072 - range 10
lxc-execute containerB 20220110201156.631 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newuidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.631 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2728 - The binary “/usr/bin/newgidmap” does have the setuid bit set
lxc-execute containerB 20220110201156.631 DEBUG conf - conf.c:lxc_map_ids:2796 - Functional newuidmap and newgidmap binary found
lxc-execute containerB 20220110201156.631 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.634 TRACE conf - conf.c:lxc_map_ids:2866 - newuidmap wrote mapping “newuidmap 24998 1002 1002 1 0 231072 10”
lxc-execute containerB 20220110201156.634 TRACE process_utils - process_utils.c:lxc_raw_clone:110 - Function not implemented - Falling back to legacy clone
lxc-execute containerB 20220110201156.636 TRACE conf - conf.c:lxc_map_ids:2866 - newgidmap wrote mapping “newgidmap 24998 1003 1003 1 0 231072 10”
lxc-execute containerB 20220110201156.636 TRACE conf - conf.c:run_userns_fn:3879 - Calling function “cgroup_tree_remove_wrapper”
lxc-execute containerB 20220110201156.636 NOTICE utils - utils.c:lxc_setgroups:1420 - Dropped additional groups
lxc-execute containerB 20220110201156.638 TRACE cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:552 - “cgroup.clone_children” was already set to “1”
lxc-execute containerB 20220110201156.638 TRACE start - start.c:lxc_end:936 - Closed command socket
lxc-execute containerB 20220110201156.638 INFO utils - utils.c:get_rundir:260 - XDG_RUNTIME_DIR isn’t set in the environment
lxc-execute containerB 20220110201156.638 TRACE start - start.c:lxc_end:947 - Set container state to “STOPPED”

Hi @brauner ,

Is there anything else that needs to be taken care to solve this error?