Skip to content

fix: initialize logger after handling --init#74

Merged
rustybee42 merged 1 commit into
mainfrom
rb/init-no-systemd-fix
Jun 29, 2026
Merged

fix: initialize logger after handling --init#74
rustybee42 merged 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

@iamjoemccormick iamjoemccormick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rustybee42 rustybee42 merged commit d1da19f into main Jun 29, 2026
5 checks passed
@rustybee42 rustybee42 deleted the rb/init-no-systemd-fix branch June 29, 2026 15:52
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

2 participants