I have just done a full system update (pacman -Syu) on my server, and now my LXC containers will not start. Here’s the tail end of the DEBUG log file where things go wrong …
lxc-start zoneminder 20201031011110.730 DEBUG start - start.c:lxc_spawn:1773 - Preserved net namespace via fd 5
lxc-start zoneminder 20201031011110.777 INFO network - network.c:instantiate_veth:285 - Retrieved mtu 1500 from br0
lxc-start zoneminder 20201031011110.781 INFO network - network.c:instantiate_veth:333 - Attached "vethEa7leO" to bridge "br0"
lxc-start zoneminder 20201031011110.782 DEBUG network - network.c:instantiate_veth:449 - Instantiated veth tunnel "vethEa7leO <--> vethxYpEx6"
lxc-start zoneminder 20201031011110.783 NOTICE utils - utils.c:lxc_setgroups:1413 - Dropped additional groups
lxc-start zoneminder 20201031011110.783 NOTICE utils - utils.c:lxc_switch_uid_gid:1391 - Switched to gid 0
lxc-start zoneminder 20201031011110.783 NOTICE utils - utils.c:lxc_switch_uid_gid:1400 - Switched to uid 0
lxc-start zoneminder 20201031011110.783 INFO start - start.c:do_start:1198 - Unshared CLONE_NEWCGROUP
lxc-start zoneminder 20201031011110.784 INFO conf - conf.c:setup_utsname:752 - Set hostname to "zoneminder"
lxc-start zoneminder 20201031011110.283 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3510 - Network device "eth0" has been setup
lxc-start zoneminder 20201031011110.283 INFO network - network.c:lxc_setup_network_in_child_namespaces:3532 - Network has been setup
lxc-start zoneminder 20201031011110.283 INFO conf - conf.c:mount_autodev:1059 - Preparing "/dev"
lxc-start zoneminder 20201031011110.283 DEBUG conf - conf.c:mount_autodev:1062 - Using mount options: size=500000,mode=755
lxc-start zoneminder 20201031011110.283 INFO conf - conf.c:mount_autodev:1109 - Prepared "/dev"
lxc-start zoneminder 20201031011110.283 DEBUG conf - conf.c:mount_entry:1944 - Remounting "/sys/fs/fuse/connections" on "/usr/lib/lxc/rootfs/sys/fs/fuse/connections" to respect bind or remount options
lxc-start zoneminder 20201031011110.283 DEBUG conf - conf.c:mount_entry:1963 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start zoneminder 20201031011110.283 DEBUG conf - conf.c:mount_entry:2007 - Mounted "/sys/fs/fuse/connections" on "/usr/lib/lxc/rootfs/sys/fs/fuse/connections" with filesystem type "none"
lxc-start zoneminder 20201031011110.283 INFO conf - conf.c:lxc_fill_autodev:1152 - Populating "/dev"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "full"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "null"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "random"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "tty"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "urandom"
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "zero"
lxc-start zoneminder 20201031011110.284 INFO conf - conf.c:lxc_fill_autodev:1220 - Populated "/dev"
lxc-start zoneminder 20201031011110.284 INFO utils - utils.c:lxc_mount_proc_if_needed:1247 - I am 1, /proc/self points to "1"
lxc-start zoneminder 20201031011110.284 ERROR conf - conf.c:lxc_setup_dev_console:1668 - Invalid argument - Failed to mount 42(/dev/pts/4) on "size=500000,mode=755"
lxc-start zoneminder 20201031011110.284 ERROR conf - conf.c:lxc_setup:3397 - Failed to setup console
lxc-start zoneminder 20201031011110.284 ERROR start - start.c:do_start:1218 - Failed to setup container "zoneminder"
lxc-start zoneminder 20201031011110.284 ERROR sync - sync.c:__sync_wait:36 - An error occurred in another process (expected sequence number 5)
lxc-start zoneminder 20201031011110.284 DEBUG network - network.c:lxc_delete_network:3665 - Deleted network devices
lxc-start zoneminder 20201031011110.284 ERROR start - start.c:__lxc_start:1999 - Failed to spawn container "zoneminder"
lxc-start zoneminder 20201031011110.284 WARN start - start.c:lxc_abort:1012 - No such process - Failed to send SIGKILL via pidfd 42 for process 74630
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2734 - The binary "/usr/bin/newuidmap" has CAP_SETUID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2740 - The binary "/usr/bin/newgidmap" has CAP_SETGID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201031011110.284 DEBUG conf - conf.c:lxc_map_ids:2795 - Functional newuidmap and newgidmap binary found
lxc-start zoneminder 20201031011110.289 NOTICE utils - utils.c:lxc_setgroups:1413 - Dropped additional groups
lxc-start zoneminder 20201031011110.363 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start zoneminder 20201031011110.363 ERROR lxc_start - tools/lxc_start.c:main:313 - Additional information can be obtained by setting the --logfile and --logpriority options
For info:
This is an unprivileged container run by root.
LXC version: 1:4.0.5-1
Linux Kernel verison: 5.4.73-1-lts
I rebooted the server and got another DEBUG log file from trying to start a container. Here’s the full log …
[justin@IXTREME ~]$ sudo cat /zfsdata/scratch/lxc_debug.log
lxc-start zoneminder 20201101000816.189 INFO confile - confile.c:set_config_idmaps:2012 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start zoneminder 20201101000816.189 INFO confile - confile.c:set_config_idmaps:2012 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start zoneminder 20201101000816.189 INFO lxccontainer - lxccontainer.c:do_lxcapi_start:979 - Set process title to [lxc monitor] /zfsdata/lxcstore zoneminder
lxc-start zoneminder 20201101000816.189 DEBUG lxccontainer - lxccontainer.c:wait_on_daemonized_start:840 - First child 70685 exited
lxc-start zoneminder 20201101000816.189 INFO lsm - lsm/lsm.c:lsm_init:40 - Initialized LSM security driver nop
lxc-start zoneminder 20201101000816.190 DEBUG terminal - terminal.c:lxc_terminal_peer_default:665 - No such device - The process does not have a controlling terminal
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "reject_force_umount # comment this to allow umount -f; not recommended"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:do_resolve_add_rule:517 - Set seccomp rule to reject force umounts
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "[all]"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "kexec_load errno 1"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "open_by_handle_at errno 1"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "init_module errno 1"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "finit_module errno 1"
lxc-start zoneminder 20201101000816.190 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:795 - Processing "delete_module errno 1"
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:990 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:999 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:1009 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:1019 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start zoneminder 20201101000816.191 INFO seccomp - seccomp.c:parse_config_v2:1025 - Merging compat seccomp contexts into main context
lxc-start zoneminder 20201101000816.191 INFO start - start.c:lxc_init:837 - Container "zoneminder" is initialized
lxc-start zoneminder 20201101000816.261 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.zoneminder"
lxc-start zoneminder 20201101000816.261 INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1368 - The monitor process uses "lxc.monitor.zoneminder" as cgroup
lxc-start zoneminder 20201101000816.261 DEBUG storage - storage/storage.c:get_storage_by_name:211 - Detected rootfs type "zfs"
lxc-start zoneminder 20201101000816.261 INFO start - start.c:__lxc_start:1985 - Unshared CLONE_NEWNS
lxc-start zoneminder 20201101000816.262 DEBUG storage - storage/storage.c:get_storage_by_name:211 - Detected rootfs type "zfs"
lxc-start zoneminder 20201101000816.264 DEBUG conf - conf.c:lxc_mount_rootfs:1260 - Mounted rootfs "zfsdata/lxcstore/zoneminder" onto "/usr/lib/lxc/rootfs" with options "(null)"
lxc-start zoneminder 20201101000816.264 INFO start - start.c:__lxc_start:1993 - Set up container rootfs as host root
lxc-start zoneminder 20201101000816.264 WARN cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.zoneminder"
lxc-start zoneminder 20201101000816.265 INFO cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1471 - The container process uses "lxc.payload.zoneminder" as cgroup
lxc-start zoneminder 20201101000816.265 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUSER
lxc-start zoneminder 20201101000816.265 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWNS
lxc-start zoneminder 20201101000816.265 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWPID
lxc-start zoneminder 20201101000816.265 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWUTS
lxc-start zoneminder 20201101000816.265 INFO start - start.c:lxc_spawn:1700 - Cloned CLONE_NEWIPC
lxc-start zoneminder 20201101000816.265 DEBUG start - start.c:lxc_try_preserve_namespaces:166 - Preserved user namespace via fd 31
lxc-start zoneminder 20201101000816.265 DEBUG start - start.c:lxc_try_preserve_namespaces:166 - Preserved mnt namespace via fd 32
lxc-start zoneminder 20201101000816.265 DEBUG start - start.c:lxc_try_preserve_namespaces:166 - Preserved pid namespace via fd 33
lxc-start zoneminder 20201101000816.265 DEBUG start - start.c:lxc_try_preserve_namespaces:166 - Preserved uts namespace via fd 34
lxc-start zoneminder 20201101000816.265 DEBUG start - start.c:lxc_try_preserve_namespaces:166 - Preserved ipc namespace via fd 35
lxc-start zoneminder 20201101000816.265 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2734 - The binary "/usr/bin/newuidmap" has CAP_SETUID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101000816.265 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2740 - The binary "/usr/bin/newgidmap" has CAP_SETGID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101000816.265 DEBUG conf - conf.c:lxc_map_ids:2795 - Functional newuidmap and newgidmap binary found
lxc-start zoneminder 20201101000816.273 INFO start - start.c:do_start:1085 - Unshared CLONE_NEWNET
lxc-start zoneminder 20201101000816.273 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2734 - The binary "/usr/bin/newuidmap" has CAP_SETUID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101000816.273 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2740 - The binary "/usr/bin/newgidmap" has CAP_SETGID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101000816.273 DEBUG conf - conf.c:lxc_map_ids:2795 - Functional newuidmap and newgidmap binary found
lxc-start zoneminder 20201101000816.281 NOTICE utils - utils.c:lxc_setgroups:1413 - Dropped additional groups
lxc-start zoneminder 20201101000816.281 WARN cgfsng - cgroups/cgfsng.c:fchowmodat:1570 - No such file or directory - Failed to fchownat(17, memory.oom.group, 65536, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc-start zoneminder 20201101000816.281 DEBUG start - start.c:lxc_spawn:1773 - Preserved net namespace via fd 7
lxc-start zoneminder 20201101000816.285 INFO network - network.c:instantiate_veth:285 - Retrieved mtu 1500 from br0
lxc-start zoneminder 20201101000816.286 INFO network - network.c:instantiate_veth:333 - Attached "vethrIYE6Y" to bridge "br0"
lxc-start zoneminder 20201101000816.286 DEBUG network - network.c:instantiate_veth:449 - Instantiated veth tunnel "vethrIYE6Y <--> veth5kBOqO"
lxc-start zoneminder 20201101000816.286 NOTICE utils - utils.c:lxc_setgroups:1413 - Dropped additional groups
lxc-start zoneminder 20201101000816.286 NOTICE utils - utils.c:lxc_switch_uid_gid:1391 - Switched to gid 0
lxc-start zoneminder 20201101000816.286 NOTICE utils - utils.c:lxc_switch_uid_gid:1400 - Switched to uid 0
lxc-start zoneminder 20201101000816.286 INFO start - start.c:do_start:1198 - Unshared CLONE_NEWCGROUP
lxc-start zoneminder 20201101000816.286 INFO conf - conf.c:setup_utsname:752 - Set hostname to "zoneminder"
lxc-start zoneminder 20201101000816.361 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3510 - Network device "eth0" has been setup
lxc-start zoneminder 20201101000816.361 INFO network - network.c:lxc_setup_network_in_child_namespaces:3532 - Network has been setup
lxc-start zoneminder 20201101000816.361 INFO conf - conf.c:mount_autodev:1059 - Preparing "/dev"
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:mount_autodev:1062 - Using mount options: size=500000,mode=755
lxc-start zoneminder 20201101000816.361 INFO conf - conf.c:mount_autodev:1109 - Prepared "/dev"
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:mount_entry:1944 - Remounting "/sys/fs/fuse/connections" on "/usr/lib/lxc/rootfs/sys/fs/fuse/connections" to respect bind or remount options
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:mount_entry:1963 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:mount_entry:2007 - Mounted "/sys/fs/fuse/connections" on "/usr/lib/lxc/rootfs/sys/fs/fuse/connections" with filesystem type "none"
lxc-start zoneminder 20201101000816.361 INFO conf - conf.c:lxc_fill_autodev:1152 - Populating "/dev"
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "full"
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "null"
lxc-start zoneminder 20201101000816.361 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "random"
lxc-start zoneminder 20201101000816.362 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "tty"
lxc-start zoneminder 20201101000816.362 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "urandom"
lxc-start zoneminder 20201101000816.362 DEBUG conf - conf.c:lxc_fill_autodev:1162 - Created device node "zero"
lxc-start zoneminder 20201101000816.362 INFO conf - conf.c:lxc_fill_autodev:1220 - Populated "/dev"
lxc-start zoneminder 20201101000816.362 INFO utils - utils.c:lxc_mount_proc_if_needed:1247 - I am 1, /proc/self points to "1"
lxc-start zoneminder 20201101000816.362 ERROR conf - conf.c:lxc_setup_dev_console:1643 - No such file or directory - Failed to unmount "/usr/lib/lxc/rootfs/dev/console"
lxc-start zoneminder 20201101000816.362 ERROR conf - conf.c:lxc_setup_boot_id:3193 - No such file or directory - Failed to generate random data for uuid
lxc-start zoneminder 20201101000816.362 DEBUG conf - conf.c:lxc_setup_devpts_child:1546 - Mount new devpts instance with options "gid=5,newinstance,ptmxmode=0666,mode=0620,max=1024"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_devpts_child:1574 - Created dummy "/dev/ptmx" file as bind mount target
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_devpts_child:1579 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_allocate_ttys:939 - Created tty "/dev/pts/0" with ptx fd 32 and pty fd 33
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_allocate_ttys:939 - Created tty "/dev/pts/1" with ptx fd 34 and pty fd 35
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_allocate_ttys:939 - Created tty "/dev/pts/2" with ptx fd 36 and pty fd 37
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_allocate_ttys:939 - Created tty "/dev/pts/3" with ptx fd 38 and pty fd 39
lxc-start zoneminder 20201101000816.363 INFO conf - conf.c:lxc_allocate_ttys:956 - Finished creating 4 tty devices
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_ttys:894 - Bind mounted "/dev/pts/0" onto "/dev/tty1"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_ttys:894 - Bind mounted "/dev/pts/1" onto "/dev/tty2"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_ttys:894 - Bind mounted "/dev/pts/2" onto "/dev/tty3"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:lxc_setup_ttys:894 - Bind mounted "/dev/pts/3" onto "/dev/tty4"
lxc-start zoneminder 20201101000816.363 INFO conf - conf.c:lxc_setup_ttys:901 - Finished setting up 4 /dev/tty<N> device(s)
lxc-start zoneminder 20201101000816.363 INFO conf - conf.c:setup_personality:1610 - Set personality to "0x0"
lxc-start zoneminder 20201101000816.363 DEBUG conf - conf.c:setup_caps:2421 - Capabilities have been setup
lxc-start zoneminder 20201101000816.363 NOTICE conf - conf.c:lxc_setup:3445 - The container "zoneminder" is set up
lxc-start zoneminder 20201101000816.364 DEBUG start - start.c:lxc_spawn:1849 - Preserved cgroup namespace via fd 13
lxc-start zoneminder 20201101000816.364 ERROR utils - utils.c:open_devnull:1277 - No such file or directory - Can't open /dev/null
lxc-start zoneminder 20201101000816.364 WARN utils - utils.c:fix_stdio_permissions:1886 - No such file or directory - Failed to open "/dev/null"
lxc-start zoneminder 20201101000816.364 WARN start - start.c:do_start:1358 - Failed to ajust stdio permissions
lxc-start zoneminder 20201101000816.364 NOTICE start - start.c:start:2086 - Exec'ing "/sbin/init"
lxc-start zoneminder 20201101000816.367 NOTICE start - start.c:post_start:2097 - Started "/sbin/init" with pid "70688"
lxc-start zoneminder 20201101000816.367 NOTICE start - start.c:signal_handler:404 - Received 17 from pid 70689 instead of container init 70688
lxc-start zoneminder 20201101101147.191 DEBUG start - start.c:signal_handler:422 - Container init process 70688 exited
lxc-start zoneminder 20201101101147.191 DEBUG start - start.c:__lxc_start:2038 - Unknown exit status for container "zoneminder" init 9
lxc-start zoneminder 20201101101147.191 INFO error - error.c:lxc_error_set_and_log:33 - Child <70688> ended on signal (9)
lxc-start zoneminder 20201101101147.331 INFO network - network.c:lxc_delete_network_priv:3232 - Removed interface "vethrIYE6Y" from "br0"
lxc-start zoneminder 20201101101147.331 DEBUG network - network.c:lxc_delete_network:3665 - Deleted network devices
lxc-start zoneminder 20201101101147.331 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2734 - The binary "/usr/bin/newuidmap" has CAP_SETUID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101101147.331 DEBUG conf - conf.c:idmaptool_on_path_and_privileged:2740 - The binary "/usr/bin/newgidmap" has CAP_SETGID in its CAP_EFFECTIVE and CAP_PERMITTED sets
lxc-start zoneminder 20201101101147.331 DEBUG conf - conf.c:lxc_map_ids:2795 - Functional newuidmap and newgidmap binary found
lxc-start zoneminder 20201101101147.339 NOTICE utils - utils.c:lxc_setgroups:1413 - Dropped additional groups
[justin@IXTREME ~]$
So there seems to be an issue with creating or mounting /dev/null inside the container … at least that’s how my untrained eye interprets the log. I have no idea what could cause this. Anybody got any ideas? This was all working perfectly a few days ago and then after a system update I’ve now got this issue. Here’s a list of the most recent package files in the pacman cache 30th Oct …
@brauner - with LXC 4.0.5 the container fails to start with autostart (on boot) and also when started manually. Let me know if you need any more info. I’m happy to help if I can.