]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: order .automount units after local-fs-pre.target
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Oct 2019 14:57:37 +0000 (16:57 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Oct 2019 13:44:32 +0000 (22:44 +0900)
commit9432f882a53e7152a75007fd7f001f9a74f2a0d7
treed1db49c58c3a55e63f146ced31fa539786aeeab7
parente9cfc71222c8e6dac02c85f9c05ba1aba09a3b1c
pid1: order .automount units after local-fs-pre.target

From the bug:
> According to the documentation of systemd.automount if the automoint point is
> automagically created if it doesn't exist yet. This ofcourse means the
> filesystem underneath has to be writable, which for / means not only does
> -.mount need to be started but also systemd-remount-fs.service has to be run,
> which isn't guaranteed by the default automount dependencies.
>
> For .mount units there is an automatic default After= dependency on
> local-fs-pre.target, would probably make sense to do the same for automount
> units to avoid it failing on the corner-case where it has to create directory.

Fixes #13306.
src/core/automount.c