[lxc-users] Block devices not permitted on file system

Christian Brauner christianvanbrauner at gmail.com
Thu Feb 5 20:35:42 UTC 2015


> Quoting Christian Brauner (christianvanbrauner at gmail.com):
> > On Sun, Feb 01, 2015 at 12:00:01PM +0000, lxc-users-request at lists.linuxcontainers.org wrote:
> > This was from the host side. I will use Debian wheezy as an example as
> > it is currently up, it's the same with Ubuntu Trusty and Oracle.
> > Containers with systemd as init running unprivileged are not a problem
> > because they use lxcfs's fuse fs:
> >
> > Here is the output of /proc/1/mountinfo from an unprivileged Debian
> > Wheezy container:
> > root at wheezy:~# cat /proc/1/mountinfo
> > 138 139 0:17 /@/home/chb/.local/share/lxc/wheezy/rootfs / rw,relatime master:1 - btrfs /dev/sda2 rw,compress-force=lzo,space_cache,autodefrag
> > 247 138 0:82 / /dev rw,nodev,relatime - tmpfs none rw,size=100k,mode=755,uid=100000,gid=100000
>
> Ok, so I'm just guessing as I haven't found the code that would be
> doing this, but the nodev here may be the trigger.  I want to find
> some time to test myself with newest kernel, hopefully next week.

Thanks so much for investigating this, and of course in general for all the
help here! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150205/43350dc9/attachment.sig>


More information about the lxc-users mailing list