[lxc-users] lxc container rootfs dev folder permission are changing from ro to rw inside container
Tomasz Chmielewski
mangoo at wpkg.org
Mon Feb 25 08:47:43 UTC 2019
Please note these are two separate commands:
mount
cat /proc/mounts
Tomasz Chmielewski
https://lxadm.com
On 2019-02-25 17:37, Yasoda Padala wrote:
> yasoda at yasoda-HP-Z600-Workstation:~/.local/share/lxc/busybox$
> lxc-attach -n busybox
> lxc-attach: busybox: utils.c: get_ns_uid: 548 No such file or
> directory - Failed to open uid_map
> lxc-attach: busybox: utils.c: get_ns_gid: 579 No such file or
> directory - Failed to open gid_map
>
> BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> / # mount cat /proc/mounts
> mount: mounting cat on /proc/mounts failed: No such file or directory
> / #
> / #
>
> Please find attached container config
>
> On Mon, Feb 25, 2019 at 2:01 PM Tomasz Chmielewski <tch at virtall.com>
> wrote:
>
>> On 2019-02-25 17:27, Yasoda Padala wrote:
>>
>>> Actual results: dev folder of container rootfs is read-only on
>> host
>>> machine but inside container, it is writable.
>>>
>>> Please help with inputs on why the dev folder permissions are
>> changed
>>> on lxc-attach.
>>
>> Can you paste the output of:
>>
>> mount
>> cat /proc/mounts
>>
>> from the container?
>>
>> Tomasz Chmielewski
>> https://lxadm.com
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list