I tried, without succes to use ykfde with 2fa.
I think the problem is with systemd-ask-password.
systemd debug:
systemd[1]: ykfde-2f.service: Installed new job ykfde-2f.service/start as 20
systemd[1]: ykfde-2f.service: ConditionPathExists=/etc/ykfde.d/ succeeded.
systemd[1]: ykfde-2f.service: About to execute: /usr/lib/systemd/scripts/ykfde-2f
systemd[1]: ykfde-2f.service: Forked /usr/lib/systemd/scripts/ykfde-2f as 49
systemd[1]: ykfde-2f.service: Changed dead -> start
systemd[1]: Starting Get 2nd Factor for YKFDE...
systemd[49]: ykfde-2f.service: Executing: /usr/lib/systemd/scripts/ykfde-2f
systemd[49]: ykfde-2f.service: Failed at step EXEC spawning /usr/lib/systemd/scripts/ykfde-2f: No such file or directory
-- Subject: Process /usr/lib/systemd/scripts/ykfde-2f could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/lib/systemd/scripts/ykfde-2f could not be executed and failed.
--
-- The error number returned by this process is 2.
systemd[1]: Child 49 ((ykfde-2f)) died (code=exited, status=203/EXEC)
systemd[1]: ykfde-2f.service: Child 49 belongs to ykfde-2f.service
systemd[1]: ykfde-2f.service: Main process exited, code=exited, status=203/EXEC
systemd[1]: ykfde-2f.service: Changed start -> failed
systemd[1]: ykfde-2f.service: Job ykfde-2f.service/start finished, result=failed
systemd[1]: Failed to start Get 2nd Factor for YKFDE.
-- Subject: Unit ykfde-2f.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit ykfde-2f.service has failed.
--
-- The result is failed.
systemd[1]: ykfde-2f.service: Unit entered failed state.
systemd[1]: ykfde-2f.service: Failed with result 'exit-code'.
systemd[1]: ykfde-2f.service: cgroup is empty
I tried, without succes to use ykfde with 2fa. I think the problem is with systemd-ask-password.
systemd debug:
initcpio info
Details:
I have replied my environment in a VM for testing. OS: Archlinux (not testing repo) systemd 229-3
Configurations:
/etc/mkinitcpio.conf:
HOOKS="systemd ykfde autodetect modconf block keymap keyboard sd-encrypt sd-lvm2 btrfs filesystems"
/etc/ykfde.conf: