guns / go-luks-suspend

Lock encrypted LUKS volumes on suspend in Arch Linux
https://aur.archlinux.org/packages/go-luks-suspend/
84 stars 9 forks source link

Enabling shutdown hook throws an error, prevents the software from working #13

Open lgyurci opened 2 years ago

lgyurci commented 2 years ago

Enabling shutdown hook throws an error at boot, which says:

cp:can not create directory :'/run/initramfs/' no such file or directory

Therefore, go-luks-suspend cannot chroot into the initramfs.

So maybe the dependence on the shutdown hook should be patched out somehow? It seems like a script from another era, which is no longer necessary.

PS: this bug might be related to recent archlinux updates, and might be fixed in the future, but I still think that nothing should depend on the shutdown hook.

Maryse47 commented 2 years ago

This is regression in mkinitcpio from Arch Linux.

lgyurci commented 2 years ago

So this should be fixed soon, right?

Maryse47 commented 2 years ago

The project isn't very active so it may take significant time (weeks or months) to see the fix. Perhaps you may open issue at their github to catch more attention.

lgyurci commented 2 years ago

Done. Hopefully they'll fix it soon.