First the status function is not used anywhere and there's no opts="${opts} status" in the script, thus it cannot be used on the command line. Second the ebuild says that the dedicated server is started under the games-ded user account while in the et-ded init script, there's a line containing: et-ded su - GAMES_USER_DED GAMES_USER_DED should probably be a variable? But there's no et-ded in conf.d. Reproducible: Always Steps to Reproduce: 1. emerge enemy-territory 2. /etc/init.d/et-ded start 3. /etc/init.d/et-ded status Actual Results: The init script fails and status can't be used. Expected Results: The dedicated server should've been started. I should have been able to see the screen -list. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21) ================================================================= System uname: 2.4.21 i686 Pentium III (Katmai) distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs distcc" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm crypt foomaticdb libg++ mad mmx ncurses pdflib png xml2 zlib gdbm berkdb readline tcpd pam libwww ssl -3dnow apache2 -arts -avi -cups dedicated -encode gd -gif -gnome -gpm -gtk -gtk2 imap -imlib innodb -java -jpeg -kde ldap maildir -mikmod -motif -mpeg mysql -nls odbc -oggvorbis -opengl -oss perl postgres -python -qt -qtmt -quicktime sasl -sdl -slang snmp -spell sse -svga tetex -truetype -X -xmms -xv"
you must have the init.d scripts left over from an older version of the ebuild do `env USE=dedicated emerge enemyterritory` and try again
There is etded init script as well. It doesn't have that opts either so status is useless. It has line export HOME=/root but the server is started as games user (su - games...). But I think this is the older?
It looks like both of yours are older versions of the scripts. Also, Enemy Territory is now masked in portage until licensing problems with id software are resolved. I'll look into this and see about fixing it, but chances are at this point they'll never make it into portage. Right now id is not being very helpful in allowing us to resolve these issues, which will result in all id games being removed from portage due to license restrictions.
I'm closing this bug since I've removed enemy territory from portage due to licensing restrictions. You'll have to make your own script to run a dedicated server and will need to use id's installer to get the game. Sorry I could not do more, but my hands are tied.
Removed from portage
Reopening since ET is back in portage...
fixed in cvs with 2.56-r2