Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29285 - Enemy territory et-ded init script fails
Summary: Enemy territory et-ded init script fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 13:47 UTC by pasi.valminen
Modified: 2003-12-09 14:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pasi.valminen 2003-09-21 13:47:22 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-09-21 14:14:34 UTC
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
Comment 2 pasi.valminen 2003-09-22 01:40:12 UTC
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?
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2003-09-22 05:14:06 UTC
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.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2003-09-22 06:41:49 UTC
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.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2003-09-22 06:42:53 UTC
Removed from portage
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-05 12:28:01 UTC
Reopening since ET is back in portage...
Comment 7 SpanKY gentoo-dev 2003-12-09 14:06:45 UTC
fixed in cvs with 2.56-r2