<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi, All,</div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    I am working on my project that needs to use aufs as a backend for the LXC. </span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    If I set the local branch as the first rw branch for aufs, as: </span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">mount -t aufs -o br=/home/{lxcname}/data=rw:/home/base/rootfs=ro none /var/lib/lxc/containers/{lxcname}/rootfs</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    the LXC works well in unpreviliged mode, I can modify any file in the container's bash as a root user.</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    Buf if I set the nfs branch as the first rw branch, as:</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">mount -t aufs -o br=/nfsmountpoint=rw:/home/base/rootfs=ro none /var/lib/lxc/containers/{lxcname}/rootfs</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    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.</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    My nfs version is nfsv4, and LXC is the latest version.</span></div>
<div><br></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    Please help me , thanks very much.</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span></div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    Best Regards.</span><div><br></div><div>Michael Mao<br><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>homalu@163.com</div></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:lxc-users-request@lists.linuxcontainers.org">lxc-users-request</a></div><div><b>Date:</b> 2020-03-21 07:26</div><div><b>To:</b> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users</a></div><div><b>Subject:</b> lxc-users Digest, Vol 319, Issue 5</div></div></div><div><div>Send lxc-users mailing list submissions to</div>
<div>     lxc-users@lists.linuxcontainers.org</div>
<div> </div>
<div>To subscribe or unsubscribe via the World Wide Web, visit</div>
<div>     http://lists.linuxcontainers.org/listinfo/lxc-users</div>
<div>or, via email, send a message with subject or body 'help' to</div>
<div>     lxc-users-request@lists.linuxcontainers.org</div>
<div> </div>
<div>You can reach the person managing the list at</div>
<div>     lxc-users-owner@lists.linuxcontainers.org</div>
<div> </div>
<div>When replying, please edit your Subject line so it is more specific</div>
<div>than "Re: Contents of lxc-users digest..."</div>
<div> </div>
<div> </div>
<div>Today's Topics:</div>
<div> </div>
<div>   1. Quick Question (Ray Jender)</div>
<div>   2. Re: Quick Question (Tomasz Chmielewski)</div>
<div>   3. Re: Quick Question (Ray Jender)</div>
<div>   4. Re: Quick Question (Narcis Garcia)</div>
<div>   5. Re: Quick Question (Saint Michael)</div>
<div>   6. Re: Updating to LXC 3.2.1 fails (Andrey Repin)</div>
<div>   7. Re: Updating to LXC 3.2.1 fails (Saint Michael)</div>
<div> </div>
<div> </div>
<div>_______________________________________________</div>
<div>lxc-users mailing list</div>
<div>lxc-users@lists.linuxcontainers.org</div>
<div>http://lists.linuxcontainers.org/listinfo/lxc-users</div>
</div></blockquote>
</div></body></html>