root@pve:~# pct start 110 --debug
run_buffer: 321 Script exited with status 1
lxc_setup: 4398 Failed to run autodev hooks
do_start: 1274 Failed to setup container "110"
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2068 Failed to spawn container "110"
river AppArmor
INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "110", config section "lxc"
DEBUG seccomp - seccomp.c:parse_config_v2:656 - Host native arch is [3221225534]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "reject_force_umount # comment this to allow umount -f; not recommended"
INFO seccomp - seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO seccomp - seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO seccomp - seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "[all]"
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "kexec_load errno 1"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[246:kexec_load] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[246:kexec_load] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[246:kexec_load] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "open_by_handle_at errno 1"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[304:open_by_handle_at] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[304:open_by_handle_at] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[304:open_by_handle_at] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "init_module errno 1"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[175:init_module] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[175:init_module] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[175:init_module] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "finit_module errno 1"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[313:finit_module] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[313:finit_module] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[313:finit_module] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "delete_module errno 1"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[176:delete_module] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "ioctl errno 1 [1,0x9400,SCMP_CMP_MASKED_EQ,0xff00]"
INFO seccomp - seccomp.c:do_resolve_add_rule:547 - arg_cmp[0]: SCMP_CMP(1, 7, 65280, 37888)
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[16:ioctl] action[327681:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:547 - arg_cmp[0]: SCMP_CMP(1, 7, 65280, 37888)
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[16:ioctl] action[327681:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:547 - arg_cmp[0]: SCMP_CMP(1, 7, 65280, 37888)
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[16:ioctl] action[327681:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:807 - Processing "keyctl errno 38"
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[250:keyctl] action[327718:errno] arch[0]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[250:keyctl] action[327718:errno] arch[1073741827]
INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[250:keyctl] action[327718:errno] arch[1073741886]
INFO seccomp - seccomp.c:parse_config_v2:1017 - Merging compat seccomp contexts into main context
INFO start - start.c:lxc_init:883 - Container "110" is initialized
INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1028 - The monitor process uses "lxc.monitor/110" as cgroup
DEBUG storage - storage/storage.c:storage_query:231 - Detected rootfs type "dir"
DEBUG storage - storage/storage.c:storage_query:231 - Detected rootfs type "dir"
INFO cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1136 - The container process uses "lxc/110/ns" as inner and "lxc/110" as limit cgroup
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWUSER
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWNS
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWPID
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWUTS
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWIPC
INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWCGROUP
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved user namespace via fd 17 and stashed path as user:/proc/27482/fd/17
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved mnt namespace via fd 18 and stashed path as mnt:/proc/27482/fd/18
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved pid namespace via fd 19 and stashed path as pid:/proc/27482/fd/19
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved uts namespace via fd 20 and stashed path as uts:/proc/27482/fd/20
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved ipc namespace via fd 21 and stashed path as ipc:/proc/27482/fd/21
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved cgroup namespace via fd 22 and stashed path as cgroup:/proc/27482/fd/22
DEBUG conf - conf.c:idmaptool_on_path_and_privileged:3511 - The binary "/usr/bin/newuidmap" does have the setuid bit set
DEBUG conf - conf.c:idmaptool_on_path_and_privileged:3511 - The binary "/usr/bin/newgidmap" does have the setuid bit set
DEBUG conf - conf.c:lxc_map_ids:3596 - Functional newuidmap and newgidmap binary found
INFO cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2828 - Limits for the unified cgroup hierarchy have been setup
DEBUG conf - conf.c:idmaptool_on_path_and_privileged:3511 - The binary "/usr/bin/newuidmap" does have the setuid bit set
DEBUG conf - conf.c:idmaptool_on_path_and_privileged:3511 - The binary "/usr/bin/newgidmap" does have the setuid bit set
INFO conf - conf.c:lxc_map_ids:3594 - Caller maps host root. Writing mapping directly
NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
INFO start - start.c:do_start:1106 - Unshared CLONE_NEWNET
NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
NOTICE utils - utils.c:lxc_switch_uid_gid:1323 - Switched to gid 0
NOTICE utils - utils.c:lxc_switch_uid_gid:1332 - Switched to uid 0
DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved net namespace via fd 5 and stashed path as net:/proc/27482/fd/5
INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "110", config section "net"
DEBUG network - network.c:netdev_configure_server_veth:851 - Instantiated veth tunnel "veth110i0 <--> veth3wLnDy"
DEBUG conf - conf.c:lxc_mount_rootfs:1432 - Mounted rootfs "/var/lib/lxc/110/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
INFO conf - conf.c:setup_utsname:875 - Set hostname to "Test"
DEBUG network - network.c:setup_hw_addr:3807 - Mac address "9A:38:5E:8C:88:96" on "eth0" has been setup
DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3948 - Network device "eth0" has been setup
INFO network - network.c:lxc_setup_network_in_child_namespaces:4005 - Finished setting up network devices with caller assigned names
INFO conf - conf.c:mount_autodev:1215 - Preparing "/dev"
INFO conf - conf.c:mount_autodev:1276 - Prepared "/dev"
DEBUG conf - conf.c:lxc_mount_auto_mounts:735 - Invalid argument - Tried to ensure procfs is unmounted
DEBUG conf - conf.c:lxc_mount_auto_mounts:758 - Invalid argument - Tried to ensure sysfs is unmounted
DEBUG conf - conf.c:mount_entry:2412 - Remounting "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" to respect bind or remount options
DEBUG conf - conf.c:mount_entry:2431 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
DEBUG conf - conf.c:mount_entry:2475 - Mounted "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" with filesystem type "none"
DEBUG conf - conf.c:mount_entry:2475 - Mounted "proc" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/.lxc/proc" with filesystem type "proc"
DEBUG conf - conf.c:mount_entry:2475 - Mounted "sys" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/.lxc/sys" with filesystem type "sysfs"
DEBUG cgfsng - cgroups/cgfsng.c:__cgroupfs_mount:1540 - Mounted cgroup filesystem cgroup2 onto 19((null))
INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "110", config section "lxc"
INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/openvpn-auto-tun" for container "110", config section "lxc"
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: mknod:
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: net/tun
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: : Operation not permitted
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output:
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: chmod:
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: cannot access 'net/tun'
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output: : No such file or directory
DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/openvpn-auto-tun 110 lxc autodev produced output:
ERROR conf - conf.c:run_buffer:321 - Script exited with status 1
ERROR conf - conf.c:lxc_setup:4398 - Failed to run autodev hooks
ERROR start - start.c:do_start:1274 - Failed to setup container "110"
ERROR sync - sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 4)
DEBUG network - network.c:lxc_delete_network:4159 - Deleted network devices
ERROR start - start.c:__lxc_start:2068 - Failed to spawn container "110"
WARN start - start.c:lxc_abort:1038 - No such process - Failed to send SIGKILL via pidfd 16 for process 27498
startup for container '110' failed