The problem is indeed upstart.
You need to mount some directories, usually done by initramfs, and start some things manually.
Maybe this will help:
description "upstart with openvz"
start on startup
task
pre-start script
mount -t proc proc /proc
mount -t devpts devpts /dev/pts
mount -t sysfs sys /sys
mount -t tmpfs varrun /var/run
mount -t tmpfs varlock /var/lock
mkdir -p /var/run/network
cat /proc/mounts > /etc/mtab
end script
script
init 2
ifconfig lo 127.0.0.1
/etc/init.d/networking restart
start rsyslog
end script
Create this file and copy it to (the container) /etc/init/openvz.conf
Both Karmic and Lucid expect a newer kernel version, but most things will work.
Regards,
[Updated on: Mon, 15 February 2010 10:28]
Report message to a moderator