Natasha Kerensikova wrote: > on Thursday 20 July 2017 at 21:45, YASUOKA Masahiko wrote: > > On Tue, 18 Jul 2017 15:48:48 -0600 > > "Theo de Raadt" <[email protected]> wrote: > > > The changes introduced into the bootloader are largely correct. They > > > make the right decisions. They just don't make them at the right > > > points in time. The IO operations should be moved further forward, to > > > after the key operations. > > > > > > Havinge done it this way, yasuoka and I were able to create a workable > > > model, but the operations need to be moved forward. > > > > > > Someone want to dive in? > > > > The diff is to support selecting bsd.booted for FED. > > I have been happily using the fixed bootloader, but I noticed a few times > that I still had unhibernating failures due to incorrect kernel. After > further investigation, I think that it correctly loads /bsd.booted when > I enter the correct passphrase on the first try, which happens quite > often thanks to muscle memory. However when I enter a wrong passphrase, > and subsequently enter the correct one on the second prompt, the > bootloader doesn't seem to detect the hibernation and loads /bsd, which > cannot unhibernate.
After a failed password attempt, when you press enter, I think that picks the default again, which is "bsd". If you type bsd.booted I bet it works. The order of the tests and decisions is still a little vague.
