Fedora 13, upstart problem [message #39838] |
Tue, 08 June 2010 22:47  |
Jean-Marc Pigeon
Messages: 27 Registered: October 2007
|
Junior Member |
|
|
Kernel: 2.6.18-194.3.1.el5.028stab069.6
vzctl: 3.0.23-10 (yesterday git version)
fc12 is started nicely (upstart-0.3.11-4.fc12.i686) while
fc13 is barely working (upstart-0.6.5-5.fc13.i686).
I was able to have fc13 container 'fully' working doing
"/etc/rc.d/rc 3" once entered within CT (vzctl enter fc13-i386).
Important: need to first set file /etc/init/openvz.conf
within CT.
;------------------------------------------------
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/dbus
mkdir -p /var/run/network
mkdir -p /var/run/netreport
mkdir -p /var/lock/subsys
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
;------------------------------------------------
Seems to ne the problem stand within vzctl not calling /sbin/init
with right parameters anymore.
Could someone in the list know what is the exact call to /sbin/init done by vzctl-3.0.23?
what should it be to please upstart-0.6?
Thanks for your help.
|
|
|