systemd is not correctly detected on rpm-ostree distros #1229

Closed
opened 2025-11-20 05:26:34 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @M0Rf30 on GitHub (Sep 10, 2024).

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). **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 2025-11-20 05:26:34 -05:00
Author
Owner

@jkrogers9862 commented on GitHub (Sep 11, 2024):

I can happily confirm I can install libvirt and network-scripts alongside netbird on Fedora Kinoite! Thank you for all your hard work!

@jkrogers9862 commented on GitHub (Sep 11, 2024): I can happily confirm I can install libvirt and network-scripts alongside netbird on Fedora Kinoite! Thank you for all your hard work!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1229