LXC won't start (sys-kernel-config.mount)

brooklyngrit

Member
May 20, 2023
9
0
6
I'm having trouble running my LXC with Dockge and my docker apps + supporting non-docker apps... for some reason it sometimes shuts down late at night at exactly a full hour. Happened at different times in the AM so unsure why. But anyways I can't start up this container easily...

When I run lxc-start -o lxc-start.log -lDEBUG -F -n 100 I get the following error:

Code:
sys-kernel-config.mount: Mount process exited, code=exited, status=32/n/a
sys-kernel-config.mount: Failed with result 'exit-code'.
[FAILED] Failed to mount sys-kernel-config.mount - Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.

BUT the container runs as long as I keep the console window open for this...

When I try to do a normal right click start on the proxmox web UI for container 100, it refuses to start.

Here is my 100.conf file:
Code:
arch: amd64
cores: 6
dev0: /dev/dri/card1,gid=44
dev1: /dev/dri/renderD128,gid=104
features: keyctl=1,nesting=1
hostname: dockge
memory: 20000
mp0: /mnt/HDD,mp=/mnt/HDD
net0: name=eth0,bridge=vmbr0,hwaddr=**************,ip=dhcp,type=veth
onboot: 0
ostype: debian
rootfs: local-lvm:vm-100-disk-0,size=500G
swap: 0
tags: proxmox-helper-scripts
unprivileged: 1

What can I do to troubleshoot this?
 
Code:
root@dockge:~# systemctl status sys-kernel-config.mount
x sys-kernel-config.mount - Kernel Configuration File System
     Loaded: loaded (/lib/systemd/system/sys-kernel-config.mount; static)
     Active: failed (Result: exit-code) since Fri 2024-07-12 09:05:07 PDT; 1h 11min ago
      Where: /sys/kernel/config
       What: configfs
       Docs: https://docs.kernel.org/filesystems/configfs.html
             https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
        CPU: 1ms

Jul 12 09:05:07 dockge mount[61]: mount: /sys/kernel/config: permission denied.
Jul 12 09:05:07 dockge mount[61]:        dmesg(1) may have more information after failed mount system call.
Notice: journal has been rotated since unit was started, output may be incomplete.