Skip to content

fix: initialize logger after handling --init#74

Open
rustybee42 wants to merge 1 commit into
mainfrom
rb/init-no-systemd-fix
Open

fix: initialize logger after handling --init#74
rustybee42 wants to merge 1 commit into
mainfrom
rb/init-no-systemd-fix

Conversation

@rustybee42

Copy link
Copy Markdown
Collaborator

This fix prevents --init from failing on systems with no systemd available. Previously, it would try initialize the journald logger which fails in that case.

As a side effect, also doesn't daemonize anymore when running --init --daemonize.

Fixes ThinkParQ/beegfs#120

This fix prevents --init from failing on systems with no systemd
available. Previously, it would try initialize the journald logger which
fails in that case.

As a side effect, also doesn't daemonize anymore when running `--init
--daemonize`.
@rustybee42 rustybee42 self-assigned this Jun 24, 2026
@rustybee42 rustybee42 requested a review from a team as a code owner June 24, 2026 14:41
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.

beegfs-mgmt --init cannot run without systemd

1 participant