[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-users
Subject: Re: [lxc-users] lxc container rootfs dev folder permission are changing from ro to rw inside contain
From: Tomasz Chmielewski <mangoo () wpkg ! org>
Date: 2019-02-25 8:47:43
Message-ID: 5ec115f94ebc0a77ef1264dc12d4269c () wpkg ! org
[Download RAW message or body]
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@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@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@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic