eudev-project/eudev

Crypto partitions missing from /dev/disk/by-label/

lelgenio opened this issue · 1 comments

$ lsblk /dev/sda2
/dev/sda2: UUID="xxxx" LABEL="CRYPTROOT" TYPE="crypto_LUKS" PARTUUID="xxxx"
$ ls /dev/disk/by-label/
ROOT  BOOT

Is rules/60-persistent-storage.rules missing crypto on ENV{ID_FS_USAGE}?:

ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"

Thanks for reporting this.

The issue will be addressed by the next merge of the rules.d; it is strange how the previous merge missed that, the original change dates back to 2018:

systemd/systemd@f2bd752