Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808043 - games-action/teeworlds-0.7.5-r1 srv init script wont start "/usr/games/bin/teeworlds_srv does not exist"
Summary: games-action/teeworlds-0.7.5-r1 srv init script wont start "/usr/games/bin/te...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-08-13 17:10 UTC by Piotr Szymaniak
Modified: 2023-01-18 21:30 UTC (History)
2 users (show)

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 Piotr Szymaniak 2021-08-13 17:10:17 UTC
games-action/teeworlds-0.7.5-r1 srv init script wont start "/usr/games/bin/teeworlds_srv does not exist"

Reproducible: Always
Comment 1 Piotr Szymaniak 2021-08-13 17:11:15 UTC
Fix:

--- /etc/init.d/teeworlds       2021-08-13 18:54:08.366390378 +0200
+++ /etc/init.d/teeworlds      2021-08-13 18:57:10.202364427 +0200
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2

 PIDFILE=/var/run/teeworlds.pid
-GAME_DIRECTORY=/usr/games/bin
+GAME_DIRECTORY=/usr/bin
 CONFIG=/etc/teeworlds/teeworlds_srv.cfg

 depend() {
Comment 2 Larry the Git Cow gentoo-dev 2021-08-13 17:31:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c2a569f8f6b308ce9da92021b1258922bb1cca

commit 79c2a569f8f6b308ce9da92021b1258922bb1cca
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-13 17:30:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-13 17:31:09 +0000

    games-action/teeworlds: fix path to teeworlds_srv in init script
    
    Not revbumping yet as we're going to need to fix the user/group
    too.
    
    Bug: https://bugs.gentoo.org/808043
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/teeworlds/files/teeworlds-init.d | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Ionen Wolkens gentoo-dev 2023-01-18 15:09:01 UTC
Believe was meant to be closed by comment #2
Comment 4 Ionen Wolkens gentoo-dev 2023-01-18 15:10:55 UTC
(In reply to Ionen Wolkens from comment #3)
> Believe was meant to be closed by comment #2
Then again I guess the user is still a problem?
Comment 5 Ionen Wolkens gentoo-dev 2023-01-18 15:12:27 UTC
Generally I'm not sure if it worth even providing init scripts + users for game servers, very few actually run these and they generally can handle this themselves.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 21:30:42 UTC
(In reply to Ionen Wolkens from comment #5)
> Generally I'm not sure if it worth even providing init scripts + users for
> game servers, very few actually run these and they generally can handle this
> themselves.

I think I'm okay with that. Feels like a waste to use up an allocation?