[systemd-devel] cannot create hard dependencies on mounts
Andrei Borzenkov
arvidjaar at gmail.com
Tue Sep 10 17:11:08 UTC 2024
On 10.09.2024 17:37, Henti Smith wrote:
>
> While starting data.mount, this works correctly, as it waits for the NFS
> share to become available before it mounts.. However, starting
> mission.service without starting data.mount, it correctly requires
> data.mount, but mission.service executes anyway.
>
> I'm not entirely sure why this happens.
>
Because Requires without After is useless. I am yet to see the use case
for it.
...
>
> Am I misunderstanding how this is supposed to work ?
>
Probably. This is sort of documented, but may be not prominently.
More information about the systemd-devel
mailing list