[lxc-users] Possible bug

Fajar A. Nugraha list at fajar.net
Fri May 19 00:07:27 UTC 2017


On Thu, May 18, 2017 at 11:06 PM, Saint Michael <venefax at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170519/743d1a55/attachment.html>


More information about the lxc-users mailing list