Re: [lxc-users] LXC unpreviliged problem with aufs mounted on nfs

2020-03-21 Thread Serge E. Hallyn
aufs on top of nfs just doesn't work. On Sat, Mar 21, 2020 at 09:54:15AM +0800, hom...@163.com wrote: > Hi,All, > BTW, my aufs version is aufs4. > And it will fail to run: useradd newuser in the container's bash with > nfs aufs mount. The result is : useradd: failure while writing cha

Re: [lxc-users] LXC unpreviliged problem with aufs mounted on nfs

2020-03-20 Thread hom...@163.com
Hi,All, BTW, my aufs version is aufs4. And it will fail to run: useradd newuser in the container's bash with nfs aufs mount. The result is : useradd: failure while writing changes to /etc/shadow Best Regards Michael Mao hom...@163.com From: hom...@163.com Date: 2020-03-21 08:51

[lxc-users] LXC unpreviliged problem with aufs mounted on nfs

2020-03-20 Thread hom...@163.com
Hi, All, I am working on my project that needs to use aufs as a backend for the LXC. If I set the local branch as the first rw branch for aufs, as: mount -t aufs -o br=/home/{lxcname}/data=rw:/home/base/rootfs=ro none /var/lib/lxc/containers/{lxcname}/rootfs the LXC works wel