/var/log/lxd/lxd.log from container:
t=2021-02-12T13:57:02-0600 lvl=info msg="LXD 4.6 is starting in normal mode" path=/var/lib/lxd
t=2021-02-12T13:57:02-0600 lvl=info msg="Kernel uid/gid map:"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - u 0 0 4294967295"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - g 0 0 4294967295"
t=2021-02-12T13:57:02-0600 lvl=info msg="Configured LXD uid/gid map:"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - u 0 100000 65536"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - g 0 100000 65536"
t=2021-02-12T13:57:02-0600 lvl=warn msg="AppArmor support has been disabled because of lack of kernel support"
t=2021-02-12T13:57:02-0600 lvl=info msg="Kernel features:"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - closing multiple file descriptors efficiently: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - netnsid-based network retrieval: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - pidfds: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - uevent injection: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - seccomp listener: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - seccomp listener continue syscalls: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - seccomp listener add file descriptors: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - attach to namespaces via pidfds: no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - safe native terminal allocation : no"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - unprivileged file capabilities: yes"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - cgroup layout: legacy"
t=2021-02-12T13:57:02-0600 lvl=warn msg=" - Couldn't find the CGroup blkio.weight, I/O weight limits will be ignored"
t=2021-02-12T13:57:02-0600 lvl=warn msg=" - Couldn't find the CGroup memory swap accounting, swap limits will be ignored"
t=2021-02-12T13:57:02-0600 lvl=info msg=" - shiftfs support: no"
t=2021-02-12T13:57:02-0600 lvl=info msg="Initializing local database"
t=2021-02-12T13:57:03-0600 lvl=info msg="Starting /dev/lxd handler:"
t=2021-02-12T13:57:03-0600 lvl=info msg=" - binding devlxd socket" socket=/var/lib/lxd/devlxd/sock
t=2021-02-12T13:57:03-0600 lvl=info msg="REST API daemon:"
t=2021-02-12T13:57:03-0600 lvl=info msg=" - binding Unix socket" inherited=true socket=/var/lib/lxd/unix.socket
t=2021-02-12T13:57:03-0600 lvl=info msg=" - binding TCP socket" socket=[::]:8443
t=2021-02-12T13:57:03-0600 lvl=info msg="Initializing global database"
t=2021-02-12T13:57:03-0600 lvl=info msg="Firewall loaded driver \"xtables\""
t=2021-02-12T13:57:03-0600 lvl=info msg="Initializing storage pools"
t=2021-02-12T13:57:03-0600 lvl=info msg="Initializing daemon storage mounts"
t=2021-02-12T13:57:03-0600 lvl=info msg="Initializing networks"
t=2021-02-12T13:57:03-0600 lvl=warn msg="Skipping AppArmor for dnsmasq due to raw.dnsmasq being set" driver=bridge name=lxdnet0 network=lxdnet0 project=default
t=2021-02-12T13:57:03-0600 lvl=info msg="Pruning leftover image files"
t=2021-02-12T13:57:03-0600 lvl=info msg="Done pruning leftover image files"
t=2021-02-12T13:57:03-0600 lvl=info msg="Loading daemon configuration"
t=2021-02-12T13:57:03-0600 lvl=info msg="Pruning expired images"
t=2021-02-12T13:57:03-0600 lvl=info msg="Done pruning expired images"
t=2021-02-12T13:57:03-0600 lvl=info msg="Pruning expired instance backups"
t=2021-02-12T13:57:03-0600 lvl=info msg="Done pruning expired instance backups"
t=2021-02-12T13:57:03-0600 lvl=info msg="Expiring log files"
t=2021-02-12T13:57:03-0600 lvl=info msg="Updating instance types"
t=2021-02-12T13:57:03-0600 lvl=info msg="Done expiring log files"
t=2021-02-12T13:57:03-0600 lvl=info msg="Done updating instance types"
t=2021-02-12T13:57:03-0600 lvl=eror msg="Error reading host's cpuset.cpus"
t=2021-02-12T13:57:11-0600 lvl=info msg="Starting container" action=start created=2021-02-12T11:03:03-0600 ephemeral=false name=foo project=default stateful=false used=2021-02-12T13:33:53-0600
t=2021-02-12T13:57:11-0600 lvl=eror msg="Error reading host's cpuset.cpus"
t=2021-02-12T13:57:11-0600 lvl=eror msg="Failed to stop device 'libmodules': remove /var/lib/lxd/devices/foo/disk.libmodules.usr-lib-modules-3.10.0--957.el7.x86_64: device or resource busy"
t=2021-02-12T13:57:11-0600 lvl=eror msg="Failed starting container" action=start created=2021-02-12T11:03:03-0600 ephemeral=false name=foo project=default stateful=false used=2021-02-12T13:33:53-0600
t=2021-02-12T13:57:11-0600 lvl=info msg="Container initiated stop" action=stop created=2021-02-12T11:03:03-0600 ephemeral=false name=foo project=default stateful=false used=2021-02-12T13:57:11-0600
t=2021-02-12T13:57:11-0600 lvl=info msg="Shut down container" action=stop created=2021-02-12T11:03:03-0600 ephemeral=false name=foo project=default stateful=false used=2021-02-12T13:57:11-0600
t=2021-02-12T13:57:11-0600 lvl=eror msg="Error reading host's cpuset.cpus"
log from failed sub-container:
$ lxc info --show-log foo
Name: foo
Location: none
Remote: unix://
Architecture: x86_64
Created: 2021/02/12 17:03 UTC
Status: Stopped
Type: container
Profiles: default
Log:
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.454 WARN cgfsng - cgroups/cgfsng.c:cg_hybrid_init:3250 - Failed to find current cgroup
lxc foo 20210212195711.458 ERROR utils - utils.c:lxc_can_use_pidfd:1905 - Kernel does not support pidfds
lxc foo 20210212195711.458 ERROR start - start.c:lxc_spawn:1741 - Failed to setup cgroup limits for container "foo"
lxc foo 20210212195711.458 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:860 - Received container state "ABORTING" instead of "RUNNING"
lxc foo 20210212195711.459 ERROR start - start.c:__lxc_start:1999 - Failed to spawn container "foo"
lxc foo 20210212195711.459 WARN start - start.c:lxc_abort:1018 - No such process - Failed to send SIGKILL to 1405
/proc/mounts on container:
$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/sda2 / ext4 rw,relatime,stripe=64,data=ordered 0 0
none /dev tmpfs rw,relatime,size=492k,mode=755 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
proc /proc/sys/net proc rw,nosuid,nodev,noexec,relatime 0 0
proc /proc/sys proc ro,nosuid,nodev,noexec,relatime 0 0
proc /proc/sysrq-trigger proc ro,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0
sysfs /sys/devices/virtual/net sysfs rw,relatime 0 0
sysfs /sys/devices/virtual/net sysfs rw,nosuid,nodev,noexec,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
devtmpfs /dev/fuse devtmpfs rw,nosuid,size=49382244k,nr_inodes=12345561,mode=755 0 0
devtmpfs /dev/net/tun devtmpfs rw,nosuid,size=49382244k,nr_inodes=12345561,mode=755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
proc /dev/.lxc/proc proc rw,relatime 0 0
sys /dev/.lxc/sys sysfs rw,relatime 0 0
tmpfs /dev/lxd tmpfs rw,relatime,size=100k,mode=755 0 0
tmpfs /dev/.lxd-mounts tmpfs rw,relatime,size=100k,mode=711 0 0
/dev/sda2 /usr/lib/modules/3.10.0-957.el7.x86_64 ext4 rw,relatime,stripe=64,data=ordered 0 0
none /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=10240k,mode=755 0 0
none /sys/fs/cgroup/systemd tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/systemd/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
none /sys/fs/cgroup/net_cls,net_prio tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,net_prio,net_cls 0 0
none /sys/fs/cgroup/devices tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/devices/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
none /sys/fs/cgroup/pids tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/pids/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
none /sys/fs/cgroup/freezer tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/freezer/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
none /sys/fs/cgroup/cpuset tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
none /sys/fs/cgroup/cpu,cpuacct tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
none /sys/fs/cgroup/memory tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/memory/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
none /sys/fs/cgroup/hugetlb tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/hugetlb/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
none /sys/fs/cgroup/perf_event tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/perf_event/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
none /sys/fs/cgroup/blkio tmpfs ro,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
cgroup /sys/fs/cgroup/blkio/lxc.payload.lxlc-bwil02 cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
devpts /dev/console devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /proc/sys/kernel/random/boot_id tmpfs ro,nosuid,nodev,noexec,relatime,size=492k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1024 0 0
devpts /dev/ptmx devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666,max=1024 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
tmpfs /var/lib/lxd/shmounts tmpfs rw,relatime,size=100k,mode=711 0 0
tmpfs /var/lib/lxd/devlxd tmpfs rw,relatime,size=100k,mode=755 0 0
tmpfs /run/user/1515800089 tmpfs rw,nosuid,nodev,relatime,size=9879252k,mode=700,uid=1515800089,gid=1515800089 0 0