Skip to content

fix(ns2): require glibc 2.34 for build 345 - #5245

Open
dgibbs64 wants to merge 1 commit into
developfrom
fix/ns2-glibc
Open

dgibbs64 wants to merge 1 commit into
developfrom
fix/ns2-glibc

Conversation

@dgibbs64

Copy link
Copy Markdown
Member

Description

Natural Selection 2 build 345 (released 17 November 2026) raised the server's glibc requirement. Its patch notes say Linux servers need glibc 2.34 or newer (Ubuntu 22.04, Debian 12). The ns2server config still said glibc="2.17", so LinuxGSM would not warn users on older distros that the server can no longer run.

Checked on an updated build 345 install: server_linux, libSpark_Core.so, libSpark_Network.so, libcurl.so and liblua51.so all require GLIBC_2.34 (highest version in objdump -T). This PR sets glibc="2.34" for ns2server.

The other build 345 server notes need nothing from LinuxGSM:

  • 344 and 345 can't play together: the normal update handles this.
  • New default rates and Shine rate resets: these are server config and admin mod settings, which LinuxGSM does not manage.
  • IPv6 may need a firewall rule: host firewall, outside LinuxGSM.
  • Custom maps rebuild bot navigation data on first load: one-off, nothing to change.

NS2: Combat (ns2cserver) is a separate Steam app that build 345 did not change, so it is left alone.

Fixes #5241

Affected servers: ns2

Type of change

  • Bug fix (a change which fixes an issue).
  • New feature (a change which adds functionality).
  • New Server (new server added).
  • Refactor (restructures existing code).
  • Chore (CI, workflows, tooling or other maintenance).
  • Comment update (typo, spelling, explanation, examples, etc).

Testing

  • Commands/tests run: objdump -T on the build 345 x64 binaries of an installed, updated ns2server (buildid 26753148) to list the highest GLIBC symbol version each needs.
  • Result: GLIBC_2.34 for server_linux and its Spark, curl and Lua libraries. The server runs normally on Ubuntu 26.04 (glibc 2.43).
  • Environment used (distro/version): Ubuntu 26.04 container on a test server.

Risk and rollback

  • Risk level: low (one config value; only changes the glibc warning)
  • Rollback plan: revert the commit.

Breaking changes

  • No breaking changes.
  • Breaking changes included (describe below).

Documentation

Checklist

PR will not be merged until all steps are complete.

  • This pull request links to an issue ("Fixes", or "Related to" for a partial fix).
  • This pull request uses the develop branch as its base.
  • This pull request subject follows the Conventional Commits standard.
  • This code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have provided a detailed enough description of this PR.

Thank you for your Pull Request!

NS2 build 345 binaries (server_linux, libSpark_Core.so, libSpark_Network.so, libcurl.so, liblua51.so) now link against GLIBC_2.34, so the server no longer runs on distros older than Ubuntu 22.04 or Debian 12. Raise the ns2server glibc requirement from 2.17 so check_glibc warns on unsupported distros. NS2: Combat is a separate app and is unchanged.

Fixes #5241
@dgibbs64 dgibbs64 added this to the v26.7.0 milestone Nov 20, 2026
@github-actions github-actions Bot added type: bugfix Pull request that fixes a bug engine: spark Issues related to spark engine game: Natural Selection 2 Issues related to Natural Selection 2 game: NS2: Combat Issues related to NS2: Combat labels Nov 20, 2026
@dgibbs64 dgibbs64 linked an issue Nov 20, 2026 that may be closed by this pull request
@dgibbs64 dgibbs64 removed the game: NS2: Combat Issues related to NS2: Combat label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine: spark Issues related to spark engine game: Natural Selection 2 Issues related to Natural Selection 2 type: bugfix Pull request that fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: NS2 server Changes in new Build 345

1 participant