You are not logged in.
Strangely enough, when performing an lxc-start on my container, I've noticed that it is mounting anything from the file defined in lxc.mount. This means that /proc and co are not being mounted in the container.
Going in and mounting manually works, so does adding to /etc/rc.sysinit ( atleast for proc ), but this seems somewhat odd to me. Anyone experience this yet ?
using lxc-git
config file :
lxc.mount=/var/lib/vps-lxc/dom/arch0/fstab
lxc.rootfs=/var/lib/vps-lxc/dom/arch0/rootfs
lxc.utsname=arch0
lxc.tty=1
lxc.network.type=veth
lxc.network.flags=up
lxc.network.link=br0
lxc.network.name=eth0
lxc.network.mtu=1500
fstab file :
none /var/lib/vps-lxc/dom/arch0/rootfs/dev/pts devpts defaults 0 0
none /var/lib/vps-lxc/dom/arch0/rootfs/proc proc defaults 0 0
none /var/lib/vps-lxc/dom/arch0/rootfs/sys sysfs defaults 0 0
none /var/lib/vps-lxc/dom/arch0/rootfs/dev/shm tmpfs defaults 0 0
side note .. vps-lxc's pretty cool .. yay.
Offline
Hey!
I've using this version:
- aur/lxc 0.7.3-1 [installed] (28)
and I have same problem.
uname -a
Linux arch 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:01:53 UTC 2010 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
And my configuration file:
lxc.mount = /mnt/virtual/etc/fstab
lxc.rootfs = /mnt/virtual
Offline
Hi Crash,
You may want to have a look at the lxc-user mailing list post : http://sourceforge.net/mailarchive/foru … =lxc-users
Offline