Ok, the issue happened again in one of my VMs. It's currently in the
state where lxcfs process can't start because the folder isn't empty.

Here are the files list:

```shell-session
$ tree /var/lib/lxcfs-on-kubernetes
/var/lib/lxcfs-on-kubernetes
├── proc
│   ├── cpuinfo
│   ├── diskstats
│   ├── loadavg
│   ├── meminfo
│   ├── stat
│   ├── swaps
│   └── uptime
└── sys
    └── devices
        └── system
            └── cpu
                └── online

13 directories, 0 files
```

Every single item there seems to be an empty directory, like this one:

```shell-session
$ stat /var/lib/lxcfs-on-kubernetes/sys/devices/system/cpu/online
  File: /var/lib/lxcfs-on-kubernetes/sys/devices/system/cpu/online
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fd00h/64768d    Inode: 11687079    Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-08-21 03:58:24.794466255 +0200
Modify: 2024-08-19 18:00:11.223066540 +0200
Change: 2024-08-19 18:00:11.223066540 +0200
 Birth: 2024-08-19 18:00:11.223066540 +0200
```

```shell-session
$ find /var/lib/lxcfs-on-kubernetes -type f

$ find /var/lib/lxcfs-on-kubernetes -type d
/var/lib/lxcfs-on-kubernetes
/var/lib/lxcfs-on-kubernetes/proc
/var/lib/lxcfs-on-kubernetes/proc/swaps
/var/lib/lxcfs-on-kubernetes/proc/cpuinfo
/var/lib/lxcfs-on-kubernetes/proc/uptime
/var/lib/lxcfs-on-kubernetes/proc/loadavg
/var/lib/lxcfs-on-kubernetes/proc/meminfo
/var/lib/lxcfs-on-kubernetes/proc/diskstats
/var/lib/lxcfs-on-kubernetes/proc/stat
/var/lib/lxcfs-on-kubernetes/sys
/var/lib/lxcfs-on-kubernetes/sys/devices
/var/lib/lxcfs-on-kubernetes/sys/devices/system
/var/lib/lxcfs-on-kubernetes/sys/devices/system/cpu
/var/lib/lxcfs-on-kubernetes/sys/devices/system/cpu/online
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1756785

Title:
  lxcfs startup failures because fuse directory not empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1756785/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to