bug(ins): server fails to start, srcds_run has CRLF line endings and needs bash
Maintainers usually reply within 1 day
A pull request for this has already been merged.
- #5154 by @dgibbs64 — merged
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start by locating the Insurgency (ins) server startup path and how LinuxGSM invokes the game's srcds_run launcher; the issue identifies CRLF line endings and use of pushd/popd under /bin/sh as causes. Check the relevant startup code and any existing Insurgency tests or checks. Done means the server starts and stays running on Ubuntu.
Written by the indexing model from the issue text.
Description
Description
The Insurgency (ins) server never starts on Ubuntu. The start fails with "Unable to start", and the monitor then restarts it about once a minute, indefinitely.
Cause
The srcds_run launcher shipped with the game has CRLF line endings and a #!/bin/sh shebang, so the kernel cannot find the interpreter (/bin/sh\r). Once the line endings are fixed it still fails on Ubuntu, because the script uses pushd/popd, which dash (/bin/sh) does not provide.
Expected behaviour
The server starts and stays running.
Environment
- LinuxGSM v26.4.0 and v26.5.0
- Ubuntu 26.04 container (
gameserver:ins)
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 870
- Avg merge
- 18h 44m
- Merged PRs (30d)
- 148
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GameServerManagers/LinuxGSM
-
command: start distro: Debian engine: null game: Teamspeak 3 reproducible: always severity: low type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GameServerManagers/LinuxGSM#5193 ·
Maintainers usually reply within 1 day
-
command: start engine: unreal4 game: The Front reproducible: always severity: medium type: bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
GameServerManagers/LinuxGSM#5185 ·
Maintainers usually reply within 1 day
-
[Bug]: cs2server ignores the GSLT entered during installPossibly taken A pull request linked to this issue is open or already merged. Opencommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GameServerManagers/LinuxGSM#5106 ·
Maintainers usually reply within 1 day
-
[Bug]: A failed command exits with 0 when core_exit.sh is downloaded on exitPossibly taken A pull request linked to this issue is open or already merged. Opencommand: start distro: Debian engine: null game: Teamspeak 3 info: tmux reproducible: always severity: low status: fixed in develop type: bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
GameServerManagers/LinuxGSM#5191 ·
Maintainers usually reply within 1 day
-
[Bug]: install passes a leftover forcedl value instead of each server's force settingPossibly taken A pull request linked to this issue is open or already merged. Opencommand: install info: steamcmd reproducible: unable severity: low status: fixed in develop type: bug
Difficulty 1/5 Under an hour Newbie friendliness 25/100
GameServerManagers/LinuxGSM#5189 ·
Maintainers usually reply within 1 day
All issues in GameServerManagers/LinuxGSM
Similar issues
-
Isha NarulaOpen
Difficulty 1/5 Under an hour Newbie friendliness 72/100
dataplat/DataSpeakers#178 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
btclib-org/claude-process#341 ·
-
install: a relative or space-containing --tools-home writes a hook that cannot run, with no warningOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressPossibly taken @viniciusdsandrade claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100