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

Use ExecStartPre to load zfs modules #3444

Closed
wants to merge 1 commit into from

Conversation

behlendorf
Copy link
Contributor

Commit 87abfcb broke the systemd import service by treating the
ExecStart line as if it were a shell command that could be executed.
This isn't the way systemd works and the correct way to handle this
case is with ExecStartPre. This patch updates the zfs import service
files accordingly,

Signed-off-by: Brian Behlendorf [email protected]
Issue #3440

Commit 87abfcb broke the systemd import service by treating the
ExecStart line as if it were a shell command that could be executed.
This isn't the way systemd works and the correct way to handle this
case is with ExecStartPre.  This patch updates the zfs import service
files accordingly,

Signed-off-by: Brian Behlendorf <[email protected]>
Issue openzfs#3440
@tycho
Copy link
Contributor

tycho commented May 26, 2015

Signed-off-by: Steven Noonan <[email protected]>

@siebenmann
Copy link
Contributor

This looks good to me and matches the by-hand change I made on my own machine (tested only in zfs-import-cache.service, as that's what I use).

Signed-off-by: Chris Siebenmann <[email protected]>

@behlendorf
Copy link
Contributor Author

Thanks guys, merged as:

544f718 Use ExecStartPre to load zfs modules

@behlendorf behlendorf closed this May 26, 2015
@behlendorf behlendorf deleted the issue-3440 branch April 19, 2021 19:38
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.

3 participants