Hi, Mr. Okajima, 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 well in unpreviliged mode, I can modify any file in the container's bash as a root user. Buf if I set the nfs branch as the first rw branch, as: mount -t aufs -o br=/nfsmountpoint=rw:/home/base/rootfs=ro none /var/lib/lxc/containers/{lxcname}/rootfs the LXC can start up in unpreviliged mode, but I can't modify the files which's ownner is not root. It seems not working in unpreviliged mode. For example, it will fail to run: "useradd {newuser}" in the container's bash. The result is : "useradd: failure while writing changes to /etc/shadow" My nfs version is nfsv4, and aufs is aufs4, and LXC is the latest version.
Please help me , thanks very much. Best Regards. Michael Mao