[Lxc-users] bind (re)mount possible?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Fri Oct 25 06:48:20 UTC 2013


On Thu 2013-10-24 (15:11), Serge Hallyn wrote:

> If your kernel is new enough (check whether /proc/self/ns/mnt exists)
> you could lxc-attach into the container with the -e flag to keep
> elevated privileges, and do the remount.

Ubuntu 12.04:

root at vms3:~# l /proc/self/ns/mnt
l: /proc/self/ns/mnt - No such file or directory

root at vms3:~# uname -a
Linux vms3 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

What is "new enough"?

So, from the host system, a remount is not possible?


-- 
Ullrich Horlacher              Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK         E-Mail: horlacher at tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20131024201132.GA3248 at ac100>




More information about the lxc-users mailing list