repart: Use CRYPT_ACTIVATE_PRIVATE
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Jun 2024 10:35:29 +0000 (12:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jun 2024 18:41:01 +0000 (20:41 +0200)
commitd316aed5d8e15fb5b13b5618f1b2d1d020b1e7bf
tree9a87d1ad9785545fbab33347ddb880d093b6874a
parent4a468387acbc8a2bd51bffaeca242e415e55b614
repart: Use CRYPT_ACTIVATE_PRIVATE

Let's skip udev device scanning when activating a LUKS volume in
systemd-repart as we don't depend on any udev symlinks and don't
expect anything except repart to access the volume.

Suggested by https://github.com/systemd/systemd/issues/33129#issuecomment-2143390941.

(cherry picked from commit 726fc7ae696510b04c24810f691d34f5d20529d6)
src/partition/repart.c