<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Ok thanks for this advice. I can't try now but I will try tommorow ...<br><br>Elias<br><br><br>----- Mail Original -----<br>De: "Daniel Lezcano" <daniel.lezcano@free.fr><br>À: "Elias Olivares" <eolivares@1g6.biz><br>Cc: lxc-devel@lists.sourceforge.net<br>Envoyé: Mercredi 6 Janvier 2010 13:03:59<br>Objet: Re: [lxc-devel] bugs with LXC container : mount and rmmod command<br><br>Elias Olivares wrote:<br>> Hi <br>> <br>> <br>> My Lxc configuration file : ( /var/lib/lxc/xxx.1g6.biz /config ) <br>> <br>> lxc.utsname = xxx.1g6.biz <br>> lxc.tty = 4 <br>> lxc.pts = 1024 <br>> lxc.network.type = veth <br>> lxc.network.flags = up <br>> lxc.network.link = br0 <br>> lxc.network.name = eth0 <br>> lxc.network.mtu = 1500 <br>> #lxc.mount = <br>> lxc.rootfs = /mnt/vmr1/xxx.1g6.biz <br>> lxc.cgroup.devices.deny = a <br>> # /dev/null and zero <br>> lxc.cgroup.devices.allow = c 1:3 rwm <br>> lxc.cgroup.devices.allow = c 1:5 rwm <br>> # consoles <br>> lxc.cgroup.devices.allow = c 5:1 rwm <br>> lxc.cgroup.devices.allow = c 5:0 rwm <br>> lxc.cgroup.devices.allow = c 4:0 rwm <br>> lxc.cgroup.devices.allow = c 4:1 rwm <br>> # /dev/{,u}random <br>> lxc.cgroup.devices.allow = c 1:9 rwm <br>> lxc.cgroup.devices.allow = c 1:8 rwm <br>> lxc.cgroup.devices.allow = c 136:* rwm <br>> lxc.cgroup.devices.allow = c 5:2 rwm <br>> # rtc <br>> lxc.cgroup.devices.allow = c 254:0 rwm <br>> <br>> # lxc-version <br>> lxc version: 0.6.3 <br><br>There were some modifications with how the rootfs is mounted.<br><br>Can you check against the 0.6.4 version ?<br><br>wget http://lxc.sourceforge.net/download/lxc/lxc-0.6.4.tar.gz<br>tar xvzf lxc-0.6.4.tar.gz<br>cd lxc-0.6.4<br>./configure --localstate=/var --prefix=/usr --libdir=/usr/lib64 (if you <br>are on a x86_64 arch).<br>make && sudo make install<br><br>Or may be you can try with the latest git repository:<br><br>git-clone git://lxc.git.sourceforge.net/gitroot/lxc/lxc<br>cd lxc<br>./autogen.sh<br>./configure --localstate=/var --prefix=/usr --libdir=/usr/lib64 (if you <br>are on a x86_64 arch).<br>make && sudo make install<br></div></body></html>