Skip to content

NodeJS Updates Erase Capabilities Setting on Binary #370

Description

@bnerickson

OS Version: Rocky Linux 10.2
Node.js version: v22.23.1
Yarn version: 1.22.22

Server specs
1x vCPU, 4GiB RAM

Issue
I run xo-server as a non-root user. After nodejs updates on the system, the capabilities set on the /usr/bin/node binary (actually a symlink to the /usr/bin/node-22 binary) are erased. Subsequent reboots result in the web server failing to boot as nodejs cannot bind to a port <= 1024 as the unprivileged user.

This is a tracking Issue. A PR is forthcoming to address this.

Installation logfile
N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions