Hi, I do have some vservers, and only some of them should be startet when the host starts. I put "default" in ../apps/init/mark of those servers to be started. When executing "/etc/init.d/util-vserver start", ALL my vservers get started.
So I checked, and I believe I found the reason. Please see the patch below. With that it works as expected. If the error is something else, please tell me. Andreas --- /usr/lib/util-vserver/start-vservers 2006-04-21 10:44:22.000000000 +0200 +++ /usr/lib/util-vserver/start-vservers.new 2006-04-21 10:44:08.000000000 +0200 @@ -130,7 +130,7 @@ let --i d=$__CONFDIR/${vservers[$i]}/apps/init f=$d/mark - { test "$OPTION_MARK_ANY"; } || \ + { test -z "$OPTION_MARK_ANY"; } || \ { test -n "$OPTION_MARK" -a -r "$f" && grep -qx "$OPTION_MARK" "$f"; } || \ { test -z "$OPTION_MARK" && test ! -e "$f"; } || \ unset vservers[$i] # vserver-info Versions: Kernel: 2.6.16.1.060328 VS-API: 0x00020001 util-vserver: 0.30.210; Apr 18 2006, 16:57:18 Features: CC: gcc, gcc (GCC) 4.0.3 (Debian 4.0.3-1) CXX: g++, g++ (GCC) 4.0.3 (Debian 4.0.3-1) CPPFLAGS: '' CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time' CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time' build/host: i486-pc-linux-gnu/i486-pc-linux-gnu Use dietlibc: yes Build C++ programs: yes Build C99 programs: yes Available APIs: v13,net ext2fs Source: e2fsprogs syscall(2) invocation: alternative vserver(2) syscall#: 273/glibc Paths: prefix: /usr sysconf-Directory: /etc cfg-Directory: /etc/vservers initrd-Directory: $(sysconfdir)/init.d pkgstate-Directory: /var/run/vservers vserver-Rootdir: /var/lib/vservers Assumed 'SYSINFO' as no other option given; try '--help' for more information. _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver