]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "cryptsetup: umount encrypted devices before detaching it during shutdown"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Dec 2019 09:42:14 +0000 (10:42 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Dec 2019 09:42:14 +0000 (10:42 +0100)
commit4186441bbd912dea9c8a43dfd19dcbea90b4c3a0
tree120d01cbd0d3690652e46d03c244c4dc56d45fce
parent7a670b1dd981c645064f69faf85b04620aadbafb
Revert "cryptsetup: umount encrypted devices before detaching it during shutdown"

This reverts commit 362c378291e85df3e00aaad491d1e08233ad127f.

This commit introduced an ordering loop: remote-cryptsetup.target was both
before and after remote-fs-pre.target. It also globally ordered all cryptsetup
volumes before all mounts. Such global ordering is problematic if people have
stacked storage. Let's look for a different solution.

See https://github.com/systemd/systemd/pull/14378#discussion_r359460109.
man/bootup.xml
units/local-fs-pre.target
units/remote-fs-pre.target