On Wed 2011-10-26 (18:35), Arie Skliarouk wrote: > Hi, > > On one of my ubuntu 10.04 vservers mountall mounts /dev from the host > machine. This causes problems for syslogd that works over /dev/log. > The vserver has properly populated /dev directory, it just mounts /dev from > host on top of it. > > I don't know how to disable this.
I have in the container config files: lxc.cap.drop = sys_admin Which prevents mounting by the container at all. File systems are mounted at lxc start via container.fstab, for example: root@vms2:/lxc# cat fex.fstab none /lxc/fex/dev/pts devpts defaults 0 0 none /lxc/fex/proc proc defaults 0 0 none /lxc/fex/sys sysfs defaults 0 0 none /lxc/fex/var/lock tmpfs defaults 0 0 none /lxc/fex/var/run tmpfs defaults 0 0 /lxc/share /lxc/fex/share none bind 0 0 -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: [email protected] Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/ ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
