[lxc-devel] bugs with LXC container : mount and rmmod command
Elias Olivares
eolivares at 1g6.biz
Wed Jan 6 15:05:58 UTC 2010
Ok thanks for this advice. I can't try now but I will try tommorow ...
Elias
----- Mail Original -----
De: "Daniel Lezcano" <daniel.lezcano at free.fr>
À: "Elias Olivares" <eolivares at 1g6.biz>
Cc: lxc-devel at lists.sourceforge.net
Envoyé: Mercredi 6 Janvier 2010 13:03:59
Objet: Re: [lxc-devel] bugs with LXC container : mount and rmmod command
Elias Olivares wrote:
> Hi
>
>
> My Lxc configuration file : ( /var/lib/lxc/xxx.1g6.biz /config )
>
> lxc.utsname = xxx.1g6.biz
> lxc.tty = 4
> lxc.pts = 1024
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.name = eth0
> lxc.network.mtu = 1500
> #lxc.mount =
> lxc.rootfs = /mnt/vmr1/xxx.1g6.biz
> lxc.cgroup.devices.deny = a
> # /dev/null and zero
> lxc.cgroup.devices.allow = c 1:3 rwm
> lxc.cgroup.devices.allow = c 1:5 rwm
> # consoles
> lxc.cgroup.devices.allow = c 5:1 rwm
> lxc.cgroup.devices.allow = c 5:0 rwm
> lxc.cgroup.devices.allow = c 4:0 rwm
> lxc.cgroup.devices.allow = c 4:1 rwm
> # /dev/{,u}random
> lxc.cgroup.devices.allow = c 1:9 rwm
> lxc.cgroup.devices.allow = c 1:8 rwm
> lxc.cgroup.devices.allow = c 136:* rwm
> lxc.cgroup.devices.allow = c 5:2 rwm
> # rtc
> lxc.cgroup.devices.allow = c 254:0 rwm
>
> # lxc-version
> lxc version: 0.6.3
There were some modifications with how the rootfs is mounted.
Can you check against the 0.6.4 version ?
wget http://lxc.sourceforge.net/download/lxc/lxc-0.6.4.tar.gz
tar xvzf lxc-0.6.4.tar.gz
cd lxc-0.6.4
./configure --localstate=/var --prefix=/usr --libdir=/usr/lib64 (if you
are on a x86_64 arch).
make && sudo make install
Or may be you can try with the latest git repository:
git-clone git://lxc.git.sourceforge.net/gitroot/lxc/lxc
cd lxc
./autogen.sh
./configure --localstate=/var --prefix=/usr --libdir=/usr/lib64 (if you
are on a x86_64 arch).
make && sudo make install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20100106/37eda7e0/attachment.html>
More information about the lxc-devel
mailing list