-
Notifications
You must be signed in to change notification settings - Fork 48
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
The multipathd.service startup failure #95
Comments
Your setup is highly unusual. On modern systems The choice of the runtime dir is automatically determined during build in
Thus if (in the build system) You should probably override
|
Yes,/run is mounted very early during initrd processing, but the /var/run soft link does not exist in the early root partition of the device. |
True. In this case the autodetection of system properties doesn't work, and you need to override the settings during build, as described above. |
I don't accept that too much. |
True. Strangely, I've never seen an issue with that so far. Maybe it was just luck. But #98 is not a correct solution, either, as it introduces an ordering cycle. Also, AFAIU, |
The error you have been observing: |
I just reviewed the code again.
We can't create the directory
It is true that in many cases, As I initially stated, the issues you have observed are just related to your use of |
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
Analysis
If /var/run does not exist under
/
, but exists in/var
. multipathd.service is started after/
is mounted and before/var
is mounted.And the multipathd.service service is started before the systemd-tmpfile-setup.service service is started, multipathd will fail.
I think that multipathd.service should be started after systemd-tmpfile-setup.service to ensure that the /var/run/ directory exists.
For example:
in multipathd.service:
The text was updated successfully, but these errors were encountered: