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

ykfde.service not available during boot - Fedora 30 #28

Closed
MJ-LAMARC opened this issue Sep 12, 2019 · 4 comments
Closed

ykfde.service not available during boot - Fedora 30 #28

MJ-LAMARC opened this issue Sep 12, 2019 · 4 comments

Comments

@MJ-LAMARC
Copy link

Hi,
I'm using Fedora 30 and applied the dracut recipe. But It won't decrypt, with or without 2nd factor, at early cryptsetup stage. And I can't see any yk* file in initramfs.
Did the procedure change for Fedora 30?

@eworm-de
Copy link
Owner

No idea. @bpereto can you have a look?

@bpereto
Copy link
Contributor

bpereto commented Sep 14, 2019

Hi,
switched to arch some time ago :)

I installed a fedora 30 vm and try to reproduce there, but the usb-direction of the yubikey doesn't work at the moment..

Acording to the docs I have builded the source and installed them. One thing the docs doesn't mention is, that sudo is required, so you have to execute make MD=markdown_py and sudo make install-dracut. I assume you have done that.

After dracut -f the files are showing up in the initram:

sudo lsinitrd /boot/initramfs-5.0.9-301.fc30.x86_64.img  | grep ykfde
ykfde
-rw-r--r--   1 root     root         1022 Feb 14  2019 etc/udev/rules.d/20-ykfde.rules
-rw-r--r--   1 root     root          835 Feb 14  2019 etc/ykfde.conf
lrwxrwxrwx   1 root     root           19 Feb 14  2019 usr/lib/systemd/system/sysinit.target.wants/ykfde-2f.service -> ../ykfde-2f.service
lrwxrwxrwx   1 root     root           23 Feb 14  2019 usr/lib/systemd/system/sysinit.target.wants/ykfde-worker.service -> ../ykfde-worker.service
-rw-r--r--   1 root     root          587 Feb 14  2019 usr/lib/systemd/system/ykfde-2f.service
-rw-r--r--   1 root     root          405 Feb 14  2019 usr/lib/systemd/system/ykfde-worker.service
drwxr-xr-x   2 root     root            0 Feb 14  2019 usr/lib/ykfde
-rwxr-xr-x   1 root     root        21000 Feb 14  2019 usr/lib/ykfde/worker
-rwxr-xr-x   1 root     root           50 Feb 14  2019 usr/sbin/ykfde.sh

@MJ-LAMARC
Copy link
Author

Re-did everything, and after the make install-dracut everything is fine. Thanks for the hint

@eworm-de
Copy link
Owner

switched to arch some time ago :)

Good move. ;)

Acording to the docs I have builded the source and installed them. One thing the docs doesn't mention is, that sudo is required, so you have to execute make MD=markdown_py and sudo make install-dracut. I assume you have done that.

It does. The doc has:

Keep in mind that you need root privileges for installation, so switch user or prepend the last command with sudo.

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

3 participants