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

Does not work with ZFS #3

Open
VSCBSt opened this issue Feb 7, 2023 · 3 comments
Open

Does not work with ZFS #3

VSCBSt opened this issue Feb 7, 2023 · 3 comments

Comments

@VSCBSt
Copy link

VSCBSt commented Feb 7, 2023

sudo /usr/local/bin/keyless-entry configure
Traceback (most recent call last):
  File "/usr/local/bin/keyless-entry", line 409, in <module>
    main()
  File "/usr/local/bin/keyless-entry", line 405, in main
    args.func(args)
  File "/usr/local/bin/keyless-entry", line 235, in configure
    filesystems, keyless_content = make_keyless_content(crypttab_file)
  File "/usr/local/bin/keyless-entry", line 152, in make_keyless_content
    boot_mountpoint = get_boot_mountpoint()
  File "/usr/local/bin/keyless-entry", line 146, in get_boot_mountpoint
    raise Exception(f'Could not find by-uuid device for {real_device}')
Exception: Could not find by-uuid device for ubuntu_4k16es

@jikamens
Copy link
Owner

jikamens commented Feb 7, 2023

Hmm. Can you send me the output of the following commands run as root?

find /dev/disk/by-uuid -ls
findmnt -J /boot

Thanks.

@VSCBSt
Copy link
Author

VSCBSt commented Feb 22, 2023

$ find /dev/disk/by-uuid -ls
379 0 drwxr-xr-x 2 root root 160 Feb 22 09:29 /dev/disk/by-uuid
949 0 lrwxrwxrwx 1 root root 10 Feb 22 09:29 /dev/disk/by-uuid/9390################################ -> ../../dm-1
914 0 lrwxrwxrwx 1 root root 15 Feb 22 09:29 /dev/disk/by-uuid/0695-#### -> ../../nvme0n1p1
903 0 lrwxrwxrwx 1 root root 10 Feb 22 09:29 /dev/disk/by-uuid/924d################################ -> ../../dm-0
781 0 lrwxrwxrwx 1 root root 9 Feb 22 09:29 /dev/disk/by-uuid/ed72################################ -> ../../zd0
711 0 lrwxrwxrwx 1 root root 15 Feb 22 09:29 /dev/disk/by-uuid/6253############### -> ../../nvme0n1p4
699 0 lrwxrwxrwx 1 root root 15 Feb 22 09:29 /dev/disk/by-uuid/4321############### -> ../../nvme0n1p3
$ findmnt -J /boot
{
"filesystems": [
{
"target": "/boot",
"source": "bpool/BOOT/ubuntu_4k16es",
"fstype": "zfs",
"options": "rw,nodev,relatime,xattr,posixacl"
}
]
}

@jikamens
Copy link
Owner

Ah. I don't know how to make this work with ZFS because I don't use it. :-(

@jikamens jikamens changed the title Could not find by-uuid device for {real_device}' Does not work with ZFS Feb 22, 2023
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

No branches or pull requests

2 participants