[GH-ISSUE #2572] systemd is not correctly detected on rpm-ostree distros #5290

Open
opened 2026-08-05 01:02:25 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @M0Rf30 on GitHub (Sep 10, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2572

Describe the problem

Installing netbird (0.29.0) on Fedora Atomic distros will continue to fail cause of undetected systemd session
This is caused by the first check of isSystemd() function that looks for /run/systemd/ path, not detected in postinstall isolated environment and causing a return false.

Incorrect detection is also suggested by /etc/init.d error log reference, that doesn't exist on rpm-ostree distros.

See:
https://github.com/netbirdio/netbird/issues/1634

I opened https://github.com/netbirdio/service/pull/3

And will open a PR toward this repo to update the module

Tested on Fedora CoreOS 40.20240808.3.0

Originally created by @M0Rf30 on GitHub (Sep 10, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2572 **Describe the problem** Installing netbird (0.29.0) on Fedora Atomic distros will continue to fail cause of undetected systemd session This is caused by the first check of `isSystemd()` function that looks for `/run/systemd/` path, not detected in postinstall isolated environment and causing a `return false`. Incorrect detection is also suggested by `/etc/init.d` error log reference, that doesn't exist on rpm-ostree distros. See: https://github.com/netbirdio/netbird/issues/1634 I opened https://github.com/netbirdio/service/pull/3 And will open a PR toward this repo to update the module Tested on Fedora CoreOS 40.20240808.3.0
saavagebueno added the triage-needed label 2026-08-05 01:02:25 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#5290