Fedora 34 LXC container will not stop if there is a user with the same UID/GID as an NFS share's files

Jan 19, 2021
34
5
13
124
I've got a fedora 34 container in a proxmox VM (proxmox host, proxmox guest with a fedora lxc). If the container is brand new I can start and stop it no problem. If I add an NFS share to be mounted in /etc/fstab the container can start and stop no problem. All the files in the share are owned by a user with the PID and GID of 1000. At this point the owner of all the files is unknown. If I create a user with the PID and GID of 1000 that user can manipulate the files in the share as I want but the container will no longer stop. I can't even kill the container using lxc-stop, I have to kill the promox VM which isn't practical. How do I debug this?
 
Can you shutdown the LXC if you manually unmount (umount /path/to/mountpoint) the NFS share?
What is your line in /etc/fstab looking like?
 

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!