]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Imply DefaultDependencies=no for credential mounts
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 08:25:33 +0000 (10:25 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 10:42:45 +0000 (12:42 +0200)
commit3c0a1b1e70c1fe6e0b6707fab7dc86b1500d0f82
treea2e5163913b547c6a6f143ee5085b905bef69c3a
parent381c3b64d0a80ccda2ccb0dda6fe825878a6e150
core: Imply DefaultDependencies=no for credential mounts

Currently, on soft-reboot, /run/credentials/@system is unmounted
because it has DefaultDependencies=yes and as such will have
Conflicts=umount.target and Before=umount.target. Let's make sure
credential mounts survive soft-reboot by implying DefaultDependencies=no
for credential mounts.
src/core/mount.c
test/TEST-82-SOFTREBOOT/test.sh
test/units/testsuite-82.sh