On Thu, May 18, 2017 at 11:06 PM, Saint Michael <[email protected]> wrote:

> On Ubuntu 16.04..2 LTS, kernel 4.4.0-78-generi
>
> inside a container I erase the file /etc/mtab
>


why?


> the containers start, a new file /etc/mtab gets created
>


Is it a regular file or a symlink? IIRC on ubuntu /etc/mtab is symlink
to ../proc/self/mounts. As a workaround, if it's a file, you can delete it
and create the symlink manually.

It could be that the code that recreates /etc/mtab needs improvement. But
IMHO when a user deletes a system file needed to run properly, then the
system pretty much becomes unsupported.

-- 
Fajar
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to