Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136727 - Bug in /etc/init.d/ut2004-ded: can't find ucc-bin
Summary: Bug in /etc/init.d/ut2004-ded: can't find ucc-bin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 19:19 UTC by Josh G
Modified: 2006-06-14 11:43 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 Josh G 2006-06-13 19:19:58 UTC
With the baselayout 1.12.1 start-stop-daemon does not change directory despite "cd $UCCDIR".  Running the script results in an error of not being able to find ucc-bin.

I added "--chdir $UCCDIR --env PWD=$UCCDIR" to the start-stop-daemon call and all works better.

Here is my modified start():
start() {
        ebegin "Starting UT2004 Dedicated Server"
        cd $UCCDIR
        start-stop-daemon --chdir $UCCDIR --env PWD=$UCCDIR --make-pidfile --start --quiet --pidfile /var/run/ucc-bin.pid --exec ucc-bin -- $OPTIONS >> /dev/null &
        eend $? "Failed to start UT2004 Dedicated Server"
}
Comment 1 Josh G 2006-06-13 19:27:14 UTC
This is for games-server/ut2004-ded-3369
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-14 11:43:17 UTC
Thanks for the info... fixed in CVS