<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm trying to mount a folder exported via diod (a 9P filesystem server) in LXC. I have the following in my container configuration file: <a href="https://pastebin.com/UPwe41qE">https://pastebin.com/UPwe41qE</a></div><div><br></div><div>In the log, I see the following entries:</div><div><br></div><div>      lxc-start 20190624200023.825 ERROR    lxc_utils - utils.c:safe_mount:1653 - Operation not permitted - Failed to mount /tmp/diod.sock onto /usr/lib/x86_64-linux-gnu/lxc/tmp<br>      lxc-start 20190624200023.825 ERROR    lxc_conf - conf.c:mount_entry:1858 - Operation not permitted - Failed to mount "/tmp/diod.sock" on "/usr/lib/x86_64-linux-gnu/lxc/tmp"<br>      lxc-start 20190624200023.825 ERROR    lxc_conf - conf.c:lxc_setup:3335 - failed to setup the mount entries for 'dcrosta'<br>      lxc-start 20190624200023.825 ERROR    lxc_start - start.c:do_start:1248 - Failed to setup container "dcrosta".</div><div><br></div><div>I can mount the 9P export with eg `sudo mount -t 9p /tmp/diod.sock -o trans=unix,version=9p2000.L,aname=/home/dcrosta/exported,uname=root /home/dcrosta/plan9` -- using the same mount options as provided in lxc.mount.entry. I take this to mean that the 9P export and kernel v9fs interactions are all working correctly, and I just need to figure out how to ask LXC nicely enough to perform the mount.<br></div><div><br></div><div>I'm running Ubuntu 16.04.6 and lxc version 2.0.11-0ubuntu1~16.04.3.</div><div><br></div><div>Any suggestions on what to try next or where to look?<br></div><div><br></div><div>Thanks!<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font size="2" face="Arial" color="#444444"><span style="white-space:pre-wrap">--</span></font></div><div><font size="2" face="Arial" color="#444444"><span style="white-space:pre-wrap">Dan</span></font></div></div></div></div></div></div></div></div></div></div>