Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lelgenio opened this issue Feb 24, 2022 · 1 comment · Fixed by #220
Closed

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

lelgenio opened this issue Feb 24, 2022 · 1 comment · Fixed by #220

Comments

@lelgenio
Copy link

$ 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}"
@bbonev
Copy link
Member

bbonev commented Mar 4, 2022

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

@bbonev bbonev linked a pull request Apr 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants