I've installed vservers using the vserver guide written by Hollow. Everything seems ok, but vserver doesn't run. # vserver gentoo-template start * Caching service dependencies... * Loading key mappings... [ ok ] * Initializing random number generator... [ ok ] * Mounting network filesystems... [ ok ] * Starting sshd... [ ok ] * Starting local... [ ok ] test: # vserver gentoo-template status Vserver 'gentoo-template' is stopped stop: # vserver gentoo-template stop vserver 'gentoo-template' is not running enter: # vserver gentoo-template enter 'vserver ... suexec' is support for running vservers only; aborting... host: util-vserver-0.30.205-r1 vserver-sources-1.9.5 vserver: baselayout-1.9.4-r6 with vserver patch stage3-x86-2005.0 I've tried rm /vservers/gentoo-template/var/lib/init.d/* -Rf, but it doesn't help. When I don't delete /vservers/gentoo-template/var/lib/init.d/*, then 'vserver gentoo-template start' print only: * Caching service dependencies... output of 'vserver --verbose --debug gentoo-template start' will be attached Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: vserver doesn't run Expected Results: vserver run after vserver start Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11.6-grsec-vs 1.9.5 i686) ================================================================= System uname: 2.6.11.6-grsec-vs1.9.5 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1,dev-lang/python-2.2.3-r5 [2.3.4 (#1, Mar 7 2005, 21 :18:26)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1, 2.2.3-r5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.8.5-r3, 1.4_p6, 1.7.9-r1, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3 .4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/con fig /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/c onfig/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox sfperms strict userpriv us ersandbox" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://gentoo.ynet.sk/pub" LANG="cs_CZ" LINGUAS="cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acpi alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups curl d oc dvd emboss encode fam flac foomaticdb fortran gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkh tml imagemagick imap imlib jpeg ldap libg++ libwww mad maildir mikmod mmx motif mozilla mp3 mpeg n as ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl pic png python quicktime rea dline real ruby samba sdl slang spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype- fonts type1-fonts vorbis wmf xml xml2 xmms xprint xv xvid zlib linguas_cs" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 56566 [details] vserver --verbose --debug gentoo-template start
Because sshd couldn't start and there were no other daemon in vserver, the vserver finished immediately. Thanks Hollow for help.