[PATCH 2/3] [V6 revision 2] Disable shell access when lockdown is active

Timothy Pearson tpearson at raptorengineering.com
Thu Aug 18 19:48:24 AEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/16/2016 10:47 PM, Samuel Mendoza-Jonas wrote:
> If reboot returns with an error, do you want to loop forever, or cancel
> exiting with a message to the user?

I'm not entirely sure how reboot can fail "out of the blue" (i.e. if
it's known to work on a platform it should probably continue to work on
that platform), but if it were to fail I guess the end user would end up
having to perform a manual reset.

Part of the problem here is that the reboot call is in the general exit
case; trying to move it before UI exit would require major surgery on
the existing UI exit handling code (and still not catch every corner
case, such as a crash in petitboot itself).

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJXtYRoAAoJEK+E3vEXDOFbd/wIAJgXOmeY7YgNCk2ayGpVgZbz
Od+PICV5yhLgWxePSjCz3Xc6lx57t5lgBQB0YPJjtUOd7niXWCWbIAyEcP0n6kcJ
JLqAV9zefhhL3jxFdh1hDbOnWsdovAbZ7etOq8NEqS3LYPG50eUlAANUZP0WQHw5
xtmRflBUBqAtTO+R4CHYU4rH7QsG87Ml0sBg72RGurpsoxn9KfMfTB+xXl7fLoyt
vvQ0Ki/hLtcUYWjrl4ue1KpWnfqYhaJHXcAGvujDmo5Ra+Ajp2f9+oje1s9zA/n8
93CTCC+NsoOUcUWNb0LxKdLIOr9oue0iVB4VmzqBTnQNOKukxZg3uGKZaUfMI50=
=0TbG
-----END PGP SIGNATURE-----


More information about the Petitboot mailing list