<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 18, 2017 at 11:06 PM, Saint Michael <span dir="ltr"><<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>On Ubuntu 16.04..2 LTS, kernel 4.4.0-78-generi<br><br></div><div>inside a container I erase the file /etc/mtab<br></div><div></div></div></blockquote><div><br></div><div><br></div><div>why?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>the containers start, a new file /etc/mtab gets created<br></div><div></div></div></blockquote><div><br></div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>-- </div><div>Fajar</div></div><br></div></div>