From: Michal Ludvig (michal_at_logix.cz)
Date: Tue 05 Apr 2005 - 04:51:50 BST
Michal Ludvig wrote:
> Now it's time for dropping the legacy debian vserver and setting up a
> native suse one.
Just for the record: This may be of some help for anyone trying to run
SuSE Linux 9.2 professional in a vserver and experiencing premature exit
of the /etc/rc.d/rc script:
--- /etc/rc.d/rc.backup 2005-04-05 03:38:17.000000000 +0000
+++ /etc/rc.d/rc 2005-04-05 03:46:10.000000000 +0000
@@ -17,6 +17,8 @@
# stop that feature.
#
+test -z "$RUNLEVEL" && RUNLEVEL=$1
+
#
# Avoid be interrupted by child or keyboard
#
@@ -177,7 +179,7 @@
#
# Set I/O of this script and its childs to console
#
-exec 0<> $CONSOLE 1>&0 2>&0
+# exec 0<> $CONSOLE 1>&0 2>&0
#
# Dummy shell function
Michal Ludvig
-- * Personal homepage: http://www.logix.cz/michal _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver