Skip to content

Conversation

@matthewpi
Copy link
Member

@matthewpi matthewpi commented Jan 13, 2026

Hytale wants a /etc/machine-id file when persisting the auth state of the server for whatever reason. Not sure of the exact purpose or security of this, but nonetheless, we need it if we want to not require users to re-auth their server after every restart.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f4330d2' (2025-03-07)
  → 'github:hercules-ci/flake-parts/80daad0' (2026-01-11)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/147dee3' (2025-03-02)
  → 'github:nix-community/nixpkgs.lib/2075416' (2025-12-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/36fd87b' (2025-03-07)
  → 'github:NixOS/nixpkgs/ffbc9f8' (2026-01-11)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3d0579f' (2025-02-17)
  → 'github:numtide/treefmt-nix/e96d59d' (2026-01-11)
@matthewpi matthewpi force-pushed the server-machine-id-mount branch 2 times, most recently from fe68504 to bab7148 Compare January 13, 2026 18:25
@matthewpi matthewpi force-pushed the server-machine-id-mount branch from bab7148 to 48d5c6c Compare January 13, 2026 18:28
@matthewpi matthewpi force-pushed the server-machine-id-mount branch from 48d5c6c to 83acd2b Compare January 13, 2026 18:48
Signed-off-by: Matthew Penner <me@matthewp.io>
@matthewpi matthewpi force-pushed the server-machine-id-mount branch from 83acd2b to 1302924 Compare January 13, 2026 18:49
@matthewpi matthewpi marked this pull request as ready for review January 13, 2026 18:52
@anthonyphysgun anthonyphysgun merged commit fbfe5b9 into develop Jan 13, 2026
6 checks passed
parkervcp added a commit to parkervcp/wings that referenced this pull request Jan 14, 2026
Add the same change as  pterodactyl/wings#292

This adds configuration for the `machone-id` file that is required by hytale

Creates and manages machine-id files on a per-server basis

Adds code to remove machine-id files when a server is deleted as well.

It also adds a group file for use along with the passwd file

Updated config for passwd

Updated mounts to not set default except for the the correct default.
parkervcp added a commit to pelican-dev/wings that referenced this pull request Jan 17, 2026
* Implement pterodactyl 292 changes

Add the same change as  pterodactyl/wings#292

This adds configuration for the `machone-id` file that is required by hytale

Creates and manages machine-id files on a per-server basis

Adds code to remove machine-id files when a server is deleted as well.

It also adds a group file for use along with the passwd file

Updated config for passwd

Updated mounts to not set default except for the the correct default.

* Update machine-id generation

Moved machine-id generation code outside of server create only called during initial server creation

Create machine-id file for servers that already exists if the file is missing.

Makes sure tempdir is created on wings start

* remove append

removes the append where not needed
parkervcp added a commit to pelican-dev/wings that referenced this pull request Jan 18, 2026
* Implement pterodactyl security fixes

* Implement pterodactyl 292 changes (#158)

* Implement pterodactyl 292 changes

Add the same change as  pterodactyl/wings#292

This adds configuration for the `machone-id` file that is required by hytale

Creates and manages machine-id files on a per-server basis

Adds code to remove machine-id files when a server is deleted as well.

It also adds a group file for use along with the passwd file

Updated config for passwd

Updated mounts to not set default except for the the correct default.

* Update machine-id generation

Moved machine-id generation code outside of server create only called during initial server creation

Create machine-id file for servers that already exists if the file is missing.

Makes sure tempdir is created on wings start

* remove append

removes the append where not needed

* Implement pterodactyl security fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants