osresearch / safeboot

Scripts to slightly improve the security of the Linux boot process with UEFI Secure Boot and TPM support
https://safeboot.dev/
GNU General Public License v2.0
268 stars 28 forks source link

Function library not installed to correct path #153

Open umbernhard opened 2 years ago

umbernhard commented 2 years ago

Installing Safeboot via the instructions in the README (building a .deb and then installing it) results in "Unable to find Safeboot function library". On my machine it looks like everything is installed under /etc, but the safeboot script thinks it's installed under /usr/lib or /usr/ because the script used to find where safeboot is installed returns an empty string.

Suggested fix: add an elif to look in /etc/safeboot.

thwalker3 commented 2 years ago

Bisect suggests that this was broken by https://github.com/osresearch/safeboot/commit/a797d82ceda5c7b62952d6b9c2bd00e97fb0ec49

@nicowilliams ?

nicowilliams commented 2 years ago

Yeah, that's probably it.