Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36373 - halflife-server ebuild creates incorrect ownership of files in /opt/halflife
Summary: halflife-server ebuild creates incorrect ownership of files in /opt/halflife
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-12-23 09:20 UTC by Richard Hamnett
Modified: 2004-04-18 01:47 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 Richard Hamnett 2003-12-23 09:20:34 UTC
i have noticed a bug in the ebuild for halflife-server, it created a user called games-ded to run the daemon from the init script, but it chowns the files games.games not games-ded.games, and this causes steam to load an insecure server (valve anti cheat is not loaded, and logging is not possible)

Reproducible: Always
Steps to Reproduce:
1. emerge halflife-server
2. ls -al /opt/halflife
Actual Results:  
files are owned games.games

Expected Results:  
files should be owned games-ded.games

game1 halflife # emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-
r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -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/confi
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gtk gtk2 imlib jpeg 
kde gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl 
pdflib png qt quicktime sdl spell svga truetype X xml2 xmms xv zlib gdbm berkdb 
slang readline gpm tcpd pam ssl perl python"
Comment 1 SpanKY gentoo-dev 2003-12-23 11:28:37 UTC
yeah, ive been tweaking these on my hl server but unfortunately it'll be down over x-mas so i wont be able to fix the ebuild until it comes back online ;)
Comment 2 Richard Hamnett 2003-12-24 04:55:53 UTC
One more note, i forgot to specify that it was the 3.1.1.1d ebuid
:)
Comment 3 Richard Hamnett 2004-01-22 07:56:50 UTC
Has this bug been corrected?
Comment 4 SpanKY gentoo-dev 2004-04-18 01:47:30 UTC
should be now, sorry for the delay