[lxc-users] lxc container rootfs dev folder permission are changing from ro to rw inside container

Tomasz Chmielewski mangoo at wpkg.org
Tue Feb 26 07:03:48 UTC 2019


On 2019-02-26 13:02, Yasoda Padala wrote:
> Hi Tomasz,
> Please find below the output of mount & cat /proc/mounts
> container config is also attached with this mail
> 
> yasoda at yasoda-HP-Z600-Workstation:~/.local/share/lxc/busybox$
> lxc-attach -n busybox
> 
> BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> / # mount
> /dev/loop0 on / type squashfs (ro,relatime)
> none on /dev type tmpfs

This.

You have tmpfs mounted over /dev in your container.

Why is it an issue for you? I'd say it's perfectly normal behaviour.

Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list