Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a -1 flag for disabling systemd integration #17

Closed
wants to merge 1 commit into from
Closed

Add a -1 flag for disabling systemd integration #17

wants to merge 1 commit into from

Conversation

grahamc
Copy link

@grahamc grahamc commented Oct 4, 2021

Support disabling systemd notification integration at run time.

In some deployments of mulitpathd, systemd is ultimately used but not
in stage-1 of boot. In this scenario multipathd is used to mount the
root volume, and then switch_root runs, and we call systemd.

For this use case it is possible to "just" have two copies of
multipathd around, one with and one without systemd support, but it
is a bit tricky and annoying to juggle the two.

Support disabling systemd notification integration at run time.

In some deployments of mulitpathd, systemd is ultimately used but not
in stage-1 of boot. In this scenario multipathd is used to mount the
root volume, and then switch_root runs, and we call systemd.

For this use case it is possible to "just" have two copies of
multipathd around, one with and one without systemd support, but it
is a bit tricky and annoying to juggle the two.
@mwilck
Copy link
Contributor

mwilck commented Oct 4, 2021

What's the problem you're trying to solve? I'd expect if systemd isn't running, you'd just see some error messages about undelivered notifications. Or does multipathd indeed hang?

@grahamc
Copy link
Author

grahamc commented Oct 5, 2021

Thanks for the prompting. I think we convinced ourselves the systemd integration was breaking our system and went as far as writing this patch. However, when I don't apply this patch to our known-to-work environment it isn't needed. Sorry for the noise :).

@grahamc grahamc closed this Oct 5, 2021
@grahamc grahamc deleted the systemd-runtime-switch branch October 5, 2021 18:49
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.

2 participants