From: Lennart Poettering Date: Mon, 13 Jul 2026 16:47:09 +0000 (+0200) Subject: repart: allow empty EncryptedVolume= volume name (#42889) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ce0759d996d601ec4c3e2aeb081664afcad8572;p=thirdparty%2Fsystemd.git repart: allow empty EncryptedVolume= volume name (#42889) Treat an empty volume name alongside other fields as unset instead of rejecting it as invalid. Example use case: ``` EncryptedVolume=:none:discard ``` In this case, the volume name is not specified so it can be generated as luks-UUID. From the docs: > EncryptedVolume= > Specifies how the encrypted partition should be set up. Takes at least one and at most four fields separated with a colon (":"). The first field specifies the encrypted volume name under /dev/mapper/. If not specified, "luks-UUID" will be used where "UUID" is the LUKS UUID. --- 6ce0759d996d601ec4c3e2aeb081664afcad8572