Can't start LXC with docker nested after upgrade from 6 to 7

sender

Member
Apr 9, 2021
54
0
11
46
Help. not a expert here... I have sent a lot of time reading here and there andI need help.

I have upgrade from 6 to 7 and now my nested LXC containers running docker inside them won't start anymore.

Some output.

I tried lastly:
pct set 108 --mp0 /lib/modules/$(uname -r),mp=/lib/modules/$(uname -r),ro=1
from here:
https://forum.proxmox.com/threads/lxc-containers-fail-to-boot-after-upgrade.94208/

But now I even get more issues:
Code:
explicitly configured lxc.apparmor.profile overrides the following settings: features:nesting, features:mount
run_buffer: 321 Script exited with status 20
lxc_init: 846 Failed to run lxc.hook.pre-start for container "108"
__lxc_start: 2002 Failed to initialize container "108"
TASK ERROR: startup for container '108' failed

My LXC config:
Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigatelxc
memory: 8192
mp0: /lib/modules/5.13.19-6-pve,mp=/lib/modules/5.13.19-6-pve,ro=1
nameserver: 192.168.1.90 192.168.1.91
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:72:05:93:9e:23,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=40G
searchdomain: some.local
swap: 2048
lxc.cgroup.devices.allow: c 226:0 rwm
lxc.cgroup.devices.allow: c 226:128 rwm
lxc.cgroup.devices.allow: c 29:0 rwm
lxc.cgroup.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: a
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
lxc.cap.drop:

help :)...

UPDATE: So I remove above line:
mp0: /lib/modules/5.13.19-6-pve,mp=/lib/modules/5.13.19-6-pve,ro=1

Now LXC starts again, I get the initial error back:
Code:
root@frigatelxc ~# systemctl --failed
  UNIT           LOAD   ACTIVE SUB    DESCRIPTION                       
* docker.service loaded failed failed Docker Application Container Engine
* docker.socket  loaded failed failed Docker Socket for the API         

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
root@frigatelxc ~#
 
Last edited:
Help? please :)

my /etc/fstab is:
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pve/root / ext4 errors=remount-ro 0 1
UUID=28B2-94D6 /boot/efi vfat defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0

From here:
https://forum.proxmox.com/threads/lxc-containers-not-starting-after-update.101217/

change in your LXC config "lxc.cgroup" to "lxc.cgroup2"
https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Old_Container_and_CGroupv2
 
Last edited:
Like this in /etc/pve/lxc/xxx.conf?

Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigatelxc
memory: 8192
nameserver: 192.168.1.90 192.168.1.91
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:72:05:93:9e:23,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=40G
searchdomain: name.local
swap: 2048
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
lxc.cap.drop:

That does not help. I restarted the host as well.

If it may add some:
1647365308211.png
 
Last edited:
Like this in /etc/pve/lxc/xxx.conf?

Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigatelxc
memory: 8192
nameserver: 192.168.1.90 192.168.1.91
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:72:05:93:9e:23,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=40G
searchdomain: name.local
swap: 2048
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
lxc.cap.drop:

That does not help. I restarted the host as well.

start the container with the following command and post the "/tmp/lxc-108.log"
lxc-start -n 108 -F -l DEBUG -o /tmp/lxc-108.log
 
Last edited:
root@proxmox02:/tmp# nano lxc-108.log
GNU nano 5.4 lxc-108.log *
lxc-start 108 20220315173626.589 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWCGROUP
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved mnt namespace via fd 18 and stashed path as mnt:/proc/13013/fd/18
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved pid namespace via fd 19 and stashed path as pid:/proc/13013/fd/19
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved uts namespace via fd 20 and stashed path as uts:/proc/13013/fd/20
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved ipc namespace via fd 21 and stashed path as ipc:/proc/13013/fd/21
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved net namespace via fd 22 and stashed path as net:/proc/13013/fd/22
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved cgroup namespace via fd 23 and stashed path as cgroup:/proc/13013/fd/23
lxc-start 108 20220315173626.589 WARN cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2732 - Invalid argument - Ignoring legacy cgroup limits on pure cgroup2 system
lxc-start 108 20220315173626.589 INFO cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2828 - Limits for the unified cgroup hierarchy have been setup
lxc-start 108 20220315173626.593 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "108", config section "net"
lxc-start 108 20220315173627.612 DEBUG network - network.c:netdev_configure_server_veth:851 - Instantiated veth tunnel "veth108i0 <--> vethlUf5UN"
lxc-start 108 20220315173627.614 DEBUG conf - conf.c:lxc_mount_rootfs:1432 - Mounted rootfs "/var/lib/lxc/108/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start 108 20220315173627.615 INFO conf - conf.c:setup_utsname:875 - Set hostname to "frigatelxc"
lxc-start 108 20220315173627.804 DEBUG network - network.c:setup_hw_addr:3807 - Mac address "b2:72:05:93:9e:23" on "eth0" has been setup
lxc-start 108 20220315173627.805 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3948 - Network device "eth0" has been setup
lxc-start 108 20220315173627.805 INFO network - network.c:lxc_setup_network_in_child_namespaces:4005 - Finished setting up network devices with caller assigned names
lxc-start 108 20220315173627.805 INFO conf - conf.c:mount_autodev:1215 - Preparing "/dev"
lxc-start 108 20220315173627.117 INFO conf - conf.c:mount_autodev:1276 - Prepared "/dev"
lxc-start 108 20220315173627.134 DEBUG conf - conf.c:lxc_mount_auto_mounts:735 - Invalid argument - Tried to ensure procfs is unmounted
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:lxc_mount_auto_mounts:758 - Invalid argument - Tried to ensure sysfs is unmounted
lxc-start 108 20220315173627.135 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
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start 108 20220315173627.135 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"
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" to respect bind or remount options
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/dri/renderD128" were 4098, required extra flags are 2
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" with filesystem type "none"
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" to respect bind or remount options
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/bus/usb/002/" were 4098, required extra flags are 2
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" with filesystem type "none"
lxc-start 108 20220315173627.135 DEBUG cgfsng - cgroups/cgfsng.c:__cgroupfs_mount:1540 - Mounted cgroup filesystem cgroup2 onto 20((null))
lxc-start 108 20220315173627.135 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "108", config section "lxc"
lxc-start 108 20220315173627.171 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "108", config section "lxc"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_fill_autodev:1313 - Populating "/dev"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "full"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "null"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "random"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "tty"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "urandom"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "zero"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_fill_autodev:1401 - Populated "/dev"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_transient_proc:3766 - Caller's PID is 1; /proc/self points to 1
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1747 - Attached detached devpts mount 21 to 19/pts
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1833 - Created "/dev/ptmx" file as bind mount target
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1840 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 23 and pty fd 24 and index 1
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 25 and pty fd 26 and index 2
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_allocate_ttys:1106 - Finished creating 2 tty devices
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty1"
lxc-start 108 20220315173627.256 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty2"
lxc-start 108 20220315173627.256 INFO conf - conf.c:lxc_setup_ttys:1072 - Finished setting up 2 /dev/tty<N> device(s)
lxc-start 108 20220315173627.256 INFO conf - conf.c:setup_personality:1913 - Set personality to "0lx0"
lxc-start 108 20220315173627.256 DEBUG conf - conf.c:capabilities_deny:3199 - Capabilities have been setup
lxc-start 108 20220315173627.256 NOTICE conf - conf.c:lxc_setup:4459 - The container "108" is set up
lxc-start 108 20220315173627.256 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set_at:1186 - Set AppArmor label to "unconfined"
lxc-start 108 20220315173627.256 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set:1231 - Changed AppArmor profile to unconfined
lxc-start 108 20220315173627.256 DEBUG terminal - terminal.c:lxc_terminal_peer_default:702 - Using terminal "/dev/tty" as proxy
lxc-start 108 20220315173627.256 DEBUG terminal - terminal.c:lxc_terminal_winsz:59 - Set window size to 168 columns and 44 rows
lxc-start 108 20220315173627.256 NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
lxc-start 108 20220315173627.256 NOTICE start - start.c:start:2154 - Exec'ing "/sbin/init"
lxc-start 108 20220315173629.225 NOTICE start - start.c:post_start:2165 - Started "/sbin/init" with pid "13043"
lxc-start 108 20220315173629.225 NOTICE start - start.c:signal_handler:449 - Received 17 from pid 13046 instead of container init 13043
lxc-start 108 20220315173641.335 INFO terminal - terminal.c:lxc_terminal_peer_io_handler:405 - Terminal client on fd 27 has exited
lxc-start 108 20220315173641.335 ERROR start - start.c:__lxc_start:2081 - Child process is not killed
lxc-start 108 20220315173641.388 INFO network - network.c:lxc_delete_network_priv:3666 - Removed interface "veth108i0" from ""
lxc-start 108 20220315173641.388 DEBUG network - network.c:lxc_delete_network:4159 - Deleted network devices
lxc-start 108 20220315173641.428 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "108", config section "lxc"
lxc-start 108 20220315173642.900 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp0: not mounted.

lxc-start 108 20220315173642.900 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp0' faile>

lxc-start 108 20220315173643.693 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: explicitly configured lxc.apparmor.profile overrides the foll>

lxc-start 108 20220315173643.794 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "108", config section "lxc"
 
also tried to restore a backup with unpriviliged ticked:


1647366551482.png






recovering backed-up configuration from 'local:backup/vzdump-lxc-108-2022_03_15-18_18_36.tar.zst'
Logical volume "vm-112-disk-0" created.
Creating filesystem with 10485760 4k blocks and 2621440 inodes
Filesystem UUID: 1dfac0a5-2310-4246-bb4f-44e83586015a
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624
restoring 'local:backup/vzdump-lxc-108-2022_03_15-18_18_36.tar.zst' now..
extracting archive '/var/lib/vz/dump/vzdump-lxc-108-2022_03_15-18_18_36.tar.zst'
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
 
root@proxmox02:/tmp# nano lxc-108.log
GNU nano 5.4 lxc-108.log *
lxc-start 108 20220315173626.589 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWCGROUP
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved mnt namespace via fd 18 and stashed path as mnt:/proc/13013/fd/18
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved pid namespace via fd 19 and stashed path as pid:/proc/13013/fd/19
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved uts namespace via fd 20 and stashed path as uts:/proc/13013/fd/20
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved ipc namespace via fd 21 and stashed path as ipc:/proc/13013/fd/21
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved net namespace via fd 22 and stashed path as net:/proc/13013/fd/22
lxc-start 108 20220315173626.589 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved cgroup namespace via fd 23 and stashed path as cgroup:/proc/13013/fd/23
lxc-start 108 20220315173626.589 WARN cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2732 - Invalid argument - Ignoring legacy cgroup limits on pure cgroup2 system
lxc-start 108 20220315173626.589 INFO cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2828 - Limits for the unified cgroup hierarchy have been setup
lxc-start 108 20220315173626.593 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "108", config section "net"
lxc-start 108 20220315173627.612 DEBUG network - network.c:netdev_configure_server_veth:851 - Instantiated veth tunnel "veth108i0 <--> vethlUf5UN"
lxc-start 108 20220315173627.614 DEBUG conf - conf.c:lxc_mount_rootfs:1432 - Mounted rootfs "/var/lib/lxc/108/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start 108 20220315173627.615 INFO conf - conf.c:setup_utsname:875 - Set hostname to "frigatelxc"
lxc-start 108 20220315173627.804 DEBUG network - network.c:setup_hw_addr:3807 - Mac address "b2:72:05:93:9e:23" on "eth0" has been setup
lxc-start 108 20220315173627.805 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3948 - Network device "eth0" has been setup
lxc-start 108 20220315173627.805 INFO network - network.c:lxc_setup_network_in_child_namespaces:4005 - Finished setting up network devices with caller assigned names
lxc-start 108 20220315173627.805 INFO conf - conf.c:mount_autodev:1215 - Preparing "/dev"
lxc-start 108 20220315173627.117 INFO conf - conf.c:mount_autodev:1276 - Prepared "/dev"
lxc-start 108 20220315173627.134 DEBUG conf - conf.c:lxc_mount_auto_mounts:735 - Invalid argument - Tried to ensure procfs is unmounted
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:lxc_mount_auto_mounts:758 - Invalid argument - Tried to ensure sysfs is unmounted
lxc-start 108 20220315173627.135 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
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start 108 20220315173627.135 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"
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" to respect bind or remount options
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/dri/renderD128" were 4098, required extra flags are 2
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" with filesystem type "none"
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" to respect bind or remount options
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/bus/usb/002/" were 4098, required extra flags are 2
lxc-start 108 20220315173627.135 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" with filesystem type "none"
lxc-start 108 20220315173627.135 DEBUG cgfsng - cgroups/cgfsng.c:__cgroupfs_mount:1540 - Mounted cgroup filesystem cgroup2 onto 20((null))
lxc-start 108 20220315173627.135 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "108", config section "lxc"
lxc-start 108 20220315173627.171 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "108", config section "lxc"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_fill_autodev:1313 - Populating "/dev"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "full"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "null"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "random"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "tty"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "urandom"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "zero"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_fill_autodev:1401 - Populated "/dev"
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_transient_proc:3766 - Caller's PID is 1; /proc/self points to 1
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1747 - Attached detached devpts mount 21 to 19/pts
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1833 - Created "/dev/ptmx" file as bind mount target
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_devpts_child:1840 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 23 and pty fd 24 and index 1
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 25 and pty fd 26 and index 2
lxc-start 108 20220315173627.255 INFO conf - conf.c:lxc_allocate_ttys:1106 - Finished creating 2 tty devices
lxc-start 108 20220315173627.255 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty1"
lxc-start 108 20220315173627.256 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty2"
lxc-start 108 20220315173627.256 INFO conf - conf.c:lxc_setup_ttys:1072 - Finished setting up 2 /dev/tty<N> device(s)
lxc-start 108 20220315173627.256 INFO conf - conf.c:setup_personality:1913 - Set personality to "0lx0"
lxc-start 108 20220315173627.256 DEBUG conf - conf.c:capabilities_deny:3199 - Capabilities have been setup
lxc-start 108 20220315173627.256 NOTICE conf - conf.c:lxc_setup:4459 - The container "108" is set up
lxc-start 108 20220315173627.256 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set_at:1186 - Set AppArmor label to "unconfined"
lxc-start 108 20220315173627.256 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set:1231 - Changed AppArmor profile to unconfined
lxc-start 108 20220315173627.256 DEBUG terminal - terminal.c:lxc_terminal_peer_default:702 - Using terminal "/dev/tty" as proxy
lxc-start 108 20220315173627.256 DEBUG terminal - terminal.c:lxc_terminal_winsz:59 - Set window size to 168 columns and 44 rows
lxc-start 108 20220315173627.256 NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
lxc-start 108 20220315173627.256 NOTICE start - start.c:start:2154 - Exec'ing "/sbin/init"
lxc-start 108 20220315173629.225 NOTICE start - start.c:post_start:2165 - Started "/sbin/init" with pid "13043"
lxc-start 108 20220315173629.225 NOTICE start - start.c:signal_handler:449 - Received 17 from pid 13046 instead of container init 13043
lxc-start 108 20220315173641.335 INFO terminal - terminal.c:lxc_terminal_peer_io_handler:405 - Terminal client on fd 27 has exited
lxc-start 108 20220315173641.335 ERROR start - start.c:__lxc_start:2081 - Child process is not killed
lxc-start 108 20220315173641.388 INFO network - network.c:lxc_delete_network_priv:3666 - Removed interface "veth108i0" from ""
lxc-start 108 20220315173641.388 DEBUG network - network.c:lxc_delete_network:4159 - Deleted network devices
lxc-start 108 20220315173641.428 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "108", config section "lxc"
lxc-start 108 20220315173642.900 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-mounts/mp0: not mounted.

lxc-start 108 20220315173642.900 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.pve-staged-mounts/mp0' faile>

lxc-start 108 20220315173643.693 DEBUG conf - conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 108 lxc post-stop produced output: explicitly configured lxc.apparmor.profile overrides the foll>

lxc-start 108 20220315173643.794 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "108", config section "lxc"

please stop the container with "pct stop 108" and try again
 
root@proxmox02:/tmp# nano lxc-108.log
GNU nano 5.4 lxc-108.log *
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741827]
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741886]
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:parse_config_v2:1017 - Merging compat seccomp contexts into main context
lxc-start 108 20220315175112.114 INFO start - start.c:lxc_init:883 - Container "108" is initialized
lxc-start 108 20220315175112.264 INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1028 - The monitor process uses "lxc.monitor/108" as cgroup
lxc-start 108 20220315175112.264 DEBUG storage - storage/storage.c:storage_query:231 - Detected rootfs type "dir"
lxc-start 108 20220315175112.276 INFO cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1136 - The container process uses "lxc/108/ns" as inner and "lxc/108" as limit cgroup
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWNS
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWPID
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWUTS
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWIPC
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWNET
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWCGROUP
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved mnt namespace via fd 18 and stashed path as mnt:/proc/5498/fd/18
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved pid namespace via fd 19 and stashed path as pid:/proc/5498/fd/19
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved uts namespace via fd 20 and stashed path as uts:/proc/5498/fd/20
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved ipc namespace via fd 21 and stashed path as ipc:/proc/5498/fd/21
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved net namespace via fd 22 and stashed path as net:/proc/5498/fd/22
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved cgroup namespace via fd 23 and stashed path as cgroup:/proc/5498/fd/23
lxc-start 108 20220315175112.276 WARN cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2732 - Invalid argument - Ignoring legacy cgroup limits on pure cgroup2 system
lxc-start 108 20220315175112.277 INFO cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2828 - Limits for the unified cgroup hierarchy have been setup
lxc-start 108 20220315175112.280 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "108", config section "net"
lxc-start 108 20220315175112.794 DEBUG network - network.c:netdev_configure_server_veth:851 - Instantiated veth tunnel "veth108i0 <--> vethMRMSg3"
lxc-start 108 20220315175112.794 DEBUG conf - conf.c:lxc_mount_rootfs:1432 - Mounted rootfs "/var/lib/lxc/108/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start 108 20220315175112.794 INFO conf - conf.c:setup_utsname:875 - Set hostname to "frigatelxc"
lxc-start 108 20220315175112.828 DEBUG network - network.c:setup_hw_addr:3807 - Mac address "b2:72:05:93:9e:23" on "eth0" has been setup
lxc-start 108 20220315175112.828 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3948 - Network device "eth0" has been setup
lxc-start 108 20220315175112.828 INFO network - network.c:lxc_setup_network_in_child_namespaces:4005 - Finished setting up network devices with caller assigned names
lxc-start 108 20220315175112.828 INFO conf - conf.c:mount_autodev:1215 - Preparing "/dev"
lxc-start 108 20220315175112.829 INFO conf - conf.c:mount_autodev:1276 - Prepared "/dev"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:lxc_mount_auto_mounts:735 - Invalid argument - Tried to ensure procfs is unmounted
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:lxc_mount_auto_mounts:758 - Invalid argument - Tried to ensure sysfs is unmounted
lxc-start 108 20220315175112.829 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
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start 108 20220315175112.829 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"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" to respect bind or remount options
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/dri/renderD128" were 4098, required extra flags are 2
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" with filesystem type "none"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" to respect bind or remount options
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/bus/usb/002/" were 4098, required extra flags are 2
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" with filesystem type "none"
lxc-start 108 20220315175112.829 DEBUG cgfsng - cgroups/cgfsng.c:__cgroupfs_mount:1540 - Mounted cgroup filesystem cgroup2 onto 20((null))
lxc-start 108 20220315175112.829 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "108", config section "lxc"
lxc-start 108 20220315175112.867 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "108", config section "lxc"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_fill_autodev:1313 - Populating "/dev"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "full"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "null"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "random"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "tty"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "urandom"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "zero"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_fill_autodev:1401 - Populated "/dev"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_transient_proc:3766 - Caller's PID is 1; /proc/self points to 1
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1747 - Attached detached devpts mount 21 to 19/pts
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1833 - Created "/dev/ptmx" file as bind mount target
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1840 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 23 and pty fd 24 and index 1
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 25 and pty fd 26 and index 2
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_allocate_ttys:1106 - Finished creating 2 tty devices
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty1"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty2"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_setup_ttys:1072 - Finished setting up 2 /dev/tty<N> device(s)
lxc-start 108 20220315175112.976 INFO conf - conf.c:setup_personality:1913 - Set personality to "0lx0"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:capabilities_deny:3199 - Capabilities have been setup
lxc-start 108 20220315175112.976 NOTICE conf - conf.c:lxc_setup:4459 - The container "108" is set up
lxc-start 108 20220315175112.976 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set_at:1186 - Set AppArmor label to "unconfined"
lxc-start 108 20220315175112.976 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set:1231 - Changed AppArmor profile to unconfined
lxc-start 108 20220315175112.977 DEBUG terminal - terminal.c:lxc_terminal_peer_default:702 - Using terminal "/dev/tty" as proxy
lxc-start 108 20220315175112.977 DEBUG terminal - terminal.c:lxc_terminal_winsz:59 - Set window size to 168 columns and 44 rows
lxc-start 108 20220315175112.977 NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
lxc-start 108 20220315175112.977 NOTICE start - start.c:start:2154 - Exec'ing "/sbin/init"
lxc-start 108 20220315175112.990 NOTICE start - start.c:post_start:2165 - Started "/sbin/init" with pid "5512"
lxc-start 108 20220315175112.990 NOTICE start - start.c:signal_handler:449 - Received 17 from pid 5516 instead of container init 5512
 
root@proxmox02:/tmp# nano lxc-108.log
GNU nano 5.4 lxc-108.log *
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741827]
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[176:delete_module] action[327681:errno] arch[1073741886]
lxc-start 108 20220315175112.114 INFO seccomp - seccomp.c:parse_config_v2:1017 - Merging compat seccomp contexts into main context
lxc-start 108 20220315175112.114 INFO start - start.c:lxc_init:883 - Container "108" is initialized
lxc-start 108 20220315175112.264 INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1028 - The monitor process uses "lxc.monitor/108" as cgroup
lxc-start 108 20220315175112.264 DEBUG storage - storage/storage.c:storage_query:231 - Detected rootfs type "dir"
lxc-start 108 20220315175112.276 INFO cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1136 - The container process uses "lxc/108/ns" as inner and "lxc/108" as limit cgroup
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWNS
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWPID
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWUTS
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWIPC
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWNET
lxc-start 108 20220315175112.276 INFO start - start.c:lxc_spawn:1759 - Cloned CLONE_NEWCGROUP
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved mnt namespace via fd 18 and stashed path as mnt:/proc/5498/fd/18
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved pid namespace via fd 19 and stashed path as pid:/proc/5498/fd/19
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved uts namespace via fd 20 and stashed path as uts:/proc/5498/fd/20
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved ipc namespace via fd 21 and stashed path as ipc:/proc/5498/fd/21
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved net namespace via fd 22 and stashed path as net:/proc/5498/fd/22
lxc-start 108 20220315175112.276 DEBUG start - start.c:lxc_try_preserve_namespace:139 - Preserved cgroup namespace via fd 23 and stashed path as cgroup:/proc/5498/fd/23
lxc-start 108 20220315175112.276 WARN cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits_legacy:2732 - Invalid argument - Ignoring legacy cgroup limits on pure cgroup2 system
lxc-start 108 20220315175112.277 INFO cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2828 - Limits for the unified cgroup hierarchy have been setup
lxc-start 108 20220315175112.280 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "108", config section "net"
lxc-start 108 20220315175112.794 DEBUG network - network.c:netdev_configure_server_veth:851 - Instantiated veth tunnel "veth108i0 <--> vethMRMSg3"
lxc-start 108 20220315175112.794 DEBUG conf - conf.c:lxc_mount_rootfs:1432 - Mounted rootfs "/var/lib/lxc/108/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start 108 20220315175112.794 INFO conf - conf.c:setup_utsname:875 - Set hostname to "frigatelxc"
lxc-start 108 20220315175112.828 DEBUG network - network.c:setup_hw_addr:3807 - Mac address "b2:72:05:93:9e:23" on "eth0" has been setup
lxc-start 108 20220315175112.828 DEBUG network - network.c:lxc_network_setup_in_child_namespaces_common:3948 - Network device "eth0" has been setup
lxc-start 108 20220315175112.828 INFO network - network.c:lxc_setup_network_in_child_namespaces:4005 - Finished setting up network devices with caller assigned names
lxc-start 108 20220315175112.828 INFO conf - conf.c:mount_autodev:1215 - Preparing "/dev"
lxc-start 108 20220315175112.829 INFO conf - conf.c:mount_autodev:1276 - Prepared "/dev"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:lxc_mount_auto_mounts:735 - Invalid argument - Tried to ensure procfs is unmounted
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:lxc_mount_auto_mounts:758 - Invalid argument - Tried to ensure sysfs is unmounted
lxc-start 108 20220315175112.829 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
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/sys/fs/fuse/connections" were 4110, required extra flags are 14
lxc-start 108 20220315175112.829 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"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" to respect bind or remount options
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/dri/renderD128" were 4098, required extra flags are 2
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/dri/renderD128" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/dri/renderD128" with filesystem type "none"
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2412 - Remounting "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" to respect bind or remount options
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2431 - Flags for "/dev/bus/usb/002/" were 4098, required extra flags are 2
lxc-start 108 20220315175112.829 DEBUG conf - conf.c:mount_entry:2475 - Mounted "/dev/bus/usb/002/" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/bus/usb/002/" with filesystem type "none"
lxc-start 108 20220315175112.829 DEBUG cgfsng - cgroups/cgfsng.c:__cgroupfs_mount:1540 - Mounted cgroup filesystem cgroup2 onto 20((null))
lxc-start 108 20220315175112.829 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "108", config section "lxc"
lxc-start 108 20220315175112.867 INFO conf - conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "108", config section "lxc"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_fill_autodev:1313 - Populating "/dev"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "full"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "null"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "random"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "tty"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "urandom"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_fill_autodev:1322 - Created device node "zero"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_fill_autodev:1401 - Populated "/dev"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_transient_proc:3766 - Caller's PID is 1; /proc/self points to 1
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1747 - Attached detached devpts mount 21 to 19/pts
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1833 - Created "/dev/ptmx" file as bind mount target
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_devpts_child:1840 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 23 and pty fd 24 and index 1
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_allocate_ttys:1101 - Created tty with ptx fd 25 and pty fd 26 and index 2
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_allocate_ttys:1106 - Finished creating 2 tty devices
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty1"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:lxc_setup_ttys:1065 - Bind mounted "" onto "tty2"
lxc-start 108 20220315175112.976 INFO conf - conf.c:lxc_setup_ttys:1072 - Finished setting up 2 /dev/tty<N> device(s)
lxc-start 108 20220315175112.976 INFO conf - conf.c:setup_personality:1913 - Set personality to "0lx0"
lxc-start 108 20220315175112.976 DEBUG conf - conf.c:capabilities_deny:3199 - Capabilities have been setup
lxc-start 108 20220315175112.976 NOTICE conf - conf.c:lxc_setup:4459 - The container "108" is set up
lxc-start 108 20220315175112.976 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set_at:1186 - Set AppArmor label to "unconfined"
lxc-start 108 20220315175112.976 INFO apparmor - lsm/apparmor.c:apparmor_process_label_set:1231 - Changed AppArmor profile to unconfined
lxc-start 108 20220315175112.977 DEBUG terminal - terminal.c:lxc_terminal_peer_default:702 - Using terminal "/dev/tty" as proxy
lxc-start 108 20220315175112.977 DEBUG terminal - terminal.c:lxc_terminal_winsz:59 - Set window size to 168 columns and 44 rows
lxc-start 108 20220315175112.977 NOTICE utils - utils.c:lxc_drop_groups:1347 - Dropped supplimentary groups
lxc-start 108 20220315175112.977 NOTICE start - start.c:start:2154 - Exec'ing "/sbin/init"
lxc-start 108 20220315175112.990 NOTICE start - start.c:post_start:2165 - Started "/sbin/init" with pid "5512"
lxc-start 108 20220315175112.990 NOTICE start - start.c:signal_handler:449 - Received 17 from pid 5516 instead of container init 5512

please change "cgroup -> cgroup2" again, because you have been overwritten...
 
Sorry, to be 100% sure...

this file still is: /etc/pve/lxc/108.conf:

Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigatelxc
memory: 8192
nameserver: 192.168.1.90 192.168.1.91
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:72:05:93:9e:23,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=40G
searchdomain: name.local
swap: 2048
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
lxc.cap.drop:
 
Sorry, to be 100% sure...

this file still is: /etc/pve/lxc/108.conf:

Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigatelxc
memory: 8192
nameserver: 192.168.1.90 192.168.1.91
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=b2:72:05:93:9e:23,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=40G
searchdomain: name.local
swap: 2048
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
lxc.cap.drop:

this is ok, sorry...
lxc started without error.
please start with "pct start 108", check in container "systemctl status docker.service"
 
LXC Containers starts (and started) correctly...

root@frigatelxc ~# systemctl status docker.service
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-03-15 18:55:43 CET; 28min ago
Docs: https://docs.docker.com
Process: 507 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
Main PID: 507 (code=exited, status=1/FAILURE)
CPU: 124ms

Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Service RestartSec=100ms expired, scheduling restart.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 15 18:55:43 frigatelxc systemd[1]: Stopped Docker Application Container Engine.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Start request repeated too quickly.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 15 18:55:43 frigatelxc systemd[1]: Failed to start Docker Application Container Engine.
root@frigatelxc ~#
 
Last edited:
LXC Containers starts (and started) correctly...

root@frigatelxc ~# systemctl status docker.service
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-03-15 18:55:43 CET; 28min ago
Docs: https://docs.docker.com
Process: 507 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
Main PID: 507 (code=exited, status=1/FAILURE)
CPU: 124ms

Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Service RestartSec=100ms expired, scheduling restart.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 15 18:55:43 frigatelxc systemd[1]: Stopped Docker Application Container Engine.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Start request repeated too quickly.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 15 18:55:43 frigatelxc systemd[1]: Failed to start Docker Application Container Engine.
root@frigatelxc ~#

check with "journalctl -fu docker"
 
root@frigatelxc ~#
root@frigatelxc ~# journalctl -fu docker
-- Logs begin at Tue 2022-03-15 18:55:39 CET. --
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 15 18:55:43 frigatelxc systemd[1]: Failed to start Docker Application Container Engine.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Service RestartSec=100ms expired, scheduling restart.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 15 18:55:43 frigatelxc systemd[1]: Stopped Docker Application Container Engine.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Consumed 124ms CPU time.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Start request repeated too quickly.
Mar 15 18:55:43 frigatelxc systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 15 18:55:43 frigatelxc systemd[1]: Failed to start Docker Application Container Engine.
 
Sorry, thisis going from worse to more worse. The LXC always worked. I have multiple of those with docker inside. Worked for years... now after updating proxmox to 7 it wont start dockers. How is reinstalling docker going to solve anything in a always working LXC container?
 
Last edited:
Shouldn't the tickbox "Unprivileged container" being "No" for running docker in LXC not be "Yes"?

1647372036726.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!