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

UntouchedWagons

Active Member
Jan 19, 2021
34
5
28
125
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?