Quantcast
Channel: Mounting a network file system inside LXC on Ubuntu 12.10 - Server Fault
Viewing all articles
Browse latest Browse all 2

Mounting a network file system inside LXC on Ubuntu 12.10

$
0
0

On an Ubuntu 12.10 server, I created an Ubuntu cloud lxc container. In the /var/lib/lxc/MY_CONTAINER/config file, I uncommented the line:

lxc.aa_profile = unconfined

and started the container.

Inside the container, I try to mount a cifs file system:

sudo mount -t cifs //server/share /mnt

And I get this:

mount error(13): Permission denied

Along with this in the system logs:

[5200005.304634] type=1400 audit(1360130285.896:174): apparmor="DENIED" operation="mount" info="failed type match" error=-13 parent=6756 profile="lxc-container-default" name="/mnt/" pid=6757 comm="mount.cifs" fstype="cifs" srcname="//server/share" flags="rw"

What am I missing?


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>