I'm using Debian 6 hardware node (HN) with Linux 2.6.32-5-openvz-686 and vzctl 3.0.30.2
Created a container with the OpenVZ precreated template for Debian 7, installed openssh-server, and when stop+start the container, and entering, the only processes I see are:
$ ps -A -o comm,args
init init
upstart-udev-br upstart-udev-bridge --daemon
udevd /sbin/udevd --daemon
udevd /sbin/udevd --daemon
udevd /sbin/udevd --daemon
upstart-socket- upstart-socket-bridge --daemon
vzctl vzctl: pts/0
bash -bash
ps ps -A -o comm,args
I need to manually set runlevel 5 to start the rest of services:
$ telinit 5
$ ps -A -o comm,args
COMMAND COMMAND
init init
upstart-udev-br upstart-udev-bridge --daemon
udevd /sbin/udevd --daemon
udevd /sbin/udevd --daemon
udevd /sbin/udevd --daemon
upstart-socket- upstart-socket-bridge --daemon
vzctl vzctl: pts/0
bash -bash
rc /bin/sh /etc/init.d/rc 5
rsyslogd /usr/sbin/rsyslogd -c5
saslauthd /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 2
saslauthd /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 2
S16sendmail /bin/sh /etc/rc5.d/S16sendmail start
make /usr/bin/make all -s -C /etc/mail
sh /bin/sh -c if [ -x /usr/share/sendmail/update_tls ]; then \ ./usr/share/sendmail/update_tls || true; \ .fi;
update_tls /bin/sh -e /usr/share/sendmail/update_tls
openssl openssl dsaparam 2048 -out /etc/mail/tls/sendmail-common.prm
ps ps -A -o comm,args
I'm going to patch "vz" service in HN to run "telinit 5" on each Debian7 container, but... Does somebody know a cleaner way to solve this?
Is vzctl launching upstart but something is broken in the template to follow the "boot" sequence?
[Updated on: Mon, 30 September 2013 08:27]
Report message to a moderator