[systemd-devel] Mount in volatile mode

Lennart Poettering lennart at poettering.net
Thu May 28 20:38:42 UTC 2020


On Mi, 27.05.20 08:10, Emmanuel Garette (egarette at cadoles.com) wrote:

>
> With volatile mode enable (systemd.volatile=yes), it's different.
> /etc/fstab file is copied too late by systemd.tmpfiles.

Hmm, not sure I grok everything right what you are saying, but I
figure you should be able to add
x-systemd.before=systemd-volatile-root.service in the relevant
/etc/fstab lines. That way the mount is established before s-v-r.s
runs. Isn't that all you need?

I think what you are seeing is a bug though, we should order this
automatically like that. If so, can you file an issue on github about
this?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list