From: Roland Moriz (roland_at_moriz.de)
Date: Mon 23 Jun 2003 - 09:52:50 BST
Hi Max,
Am Mon, 2003-06-23 um 09.40 schrieb Max Jakob:
> Cathy Sarisky wrote:
> > In your S_FLAGS setting in the config file, include 'fakeinit'.
> >
> This part of the config file looks like this:
> ...
> S_FLAGS="lock nproc sched fakeinit"
> ULIMIT="-H -u 1000"
> S_CAPS="CAP_SYS_ADMIN"
> ...
>
> But no daemons are started automatically.
>
> New ideas?
not really. I can confirm this behaviour on SuSE 8.1 and 8.2 on my
vserver host. It looks like a bug in "vservers" that $STARTCMD is set
somewhere only to run "/sbin/init" without a runlevel. Even with a
manually added runlevel 3 (which is the default on SuSE) the init will
fail:
s2:~ # vserver vse0017 start
Starting the virtual server vse0017
Server vse0017 is not running
ipv4root is now 10.0.200.17
Host name is now vse0017
Domain name is now vse.moriz.de
New security context is 117
s2:~ # init: No such process
s2:~ #
not sure if this makes sense: ;)
--- /usr/sbin/vserver Mon Jun 23 04:54:01 2003
+++ /usr/sbin/vserver~ Sun Jun 22 08:57:47 2003
@@ -415,7 +415,7 @@
fakeinit)
FAKEINIT=true
FLAGS="$FLAGS --flag $f"
- STARTCMD="/sbin/init 3"
+ STARTCMD=/sbin/init
DISCONNECT=--disconnect
;;
*)
with kind regards,
Mit freundlichen Gruessen,
Roland Moriz
-- Muenchen/Germany - http://www.roland-moriz.de/