bug(ins): server fails to start, srcds_run has CRLF line endings and needs bash

Abierto Apto para principiantes
#5,153 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
bash, linux, shell
Área
backend, cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

distro: Ubuntu engine: source game: Insurgency

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)
Lenguaje dominante
Shell
Estrellas
4.9k
Forks
870
Merge medio
20 h 11 min
PR fusionados (30 d)
135

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GameServerManagers/LinuxGSM

Todos los issues de GameServerManagers/LinuxGSM

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.