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

オープン 初心者向け
#5,153 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bash, linux, shell
領域
backend, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)
主要言語
Shell
スター
4.9k
フォーク
870
平均マージ
20時間 11分
マージ済み PR(30日)
135

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameServerManagers/LinuxGSM のほかの issue

GameServerManagers/LinuxGSM の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。