random-archer / mkinitcpio-systemd-tool

Provisioning tool for systemd in initramfs (systemd-tool)
https://www.archlinux.org/packages/community/any/mkinitcpio-systemd-tool/
Other
113 stars 27 forks source link

initrd-emergency.service doesn't seem to work correctly. #20

Closed ShapeShifter499 closed 6 years ago

ShapeShifter499 commented 6 years ago

I tried enabling this service under the idea that this was supposed to allow me to continue to remotely access my system in the event that something went wrong. However if I enable this service and I fail to enter my encryption password quickly enough the ssh session dies. I am unable to access my system again until I manually reboot the system.

Does anyone have any ideas of what's going on here?

ShapeShifter499 commented 6 years ago

Ok I think it's working now. I missed the commented out line at https://github.com/random-archer/mkinitcpio-systemd-tool/blob/cff3ae5697bc6936ceaf7d46a1ce3dc680b57288/initrd-emergency.service#L38 I needed to make sure that pointed to the correct emergency.service file that needed to be replaced and then uncomment the line