]> git.ipfire.org Git - thirdparty/systemd.git/commit
fstab-generator: drop nofail and noauto options for critical mounts
authorMichal Sekletar <msekleta@redhat.com>
Wed, 25 Oct 2023 11:17:18 +0000 (13:17 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Oct 2023 23:07:54 +0000 (00:07 +0100)
commit1e9b2e4fdd8d04e3fbfadbc0b92dc138c819c221
treeaa13788fbdab8a6ac6e4e87b051ad47248f5a336
parentdc8db30db9829bbebdb96e19420833c5d9073977
fstab-generator: drop nofail and noauto options for critical mounts

Setting nofail for /usr mount doesn't make sense because without /usr we
can't really boot. However, having the flag set might cause races in
initrd where we could try to switchroot into rootfs before /usr is
actually mounted. Let's just ignore it so that we always have proper
mount unit ordering for /sysroot/usr mount.
src/fstab-generator/fstab-generator.c