[Bug 200214] Asks for passphrase twice when booting into encrypted ZFS single disk install

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 10 12:16:07 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200214

MZsombok <mark.zsombok at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark.zsombok at gmail.com

--- Comment #2 from MZsombok <mark.zsombok at gmail.com> ---
Greetings,

I had this issue quite a few times, but only decided to look further into it
now.

To me, the cause appears to be - and this is just an assumption - how GELI
handles the keyboard layout during boot. (after a guided installation. I
faintly remember not having this issue after a completely manual installation)
I tested with hungarian layout (qwertz).
1. - boot into install medium
2. - select hungarian 102 key layout
3. - start installation with "guided ZFS" -> choose to encrypt disk
4. - provide passphrase that contains a "y".
5. - complete installation
6. - reboot
7. - bootloader asks for passphrase -> enter passphrase assuming hungarian
102key layout is used.
8. - passphrase is accepted and boot process starts.
9. - halfway in, GELI requests the passphrase again, but this time the keyboard
layout is not the selected hungarian 102key, but apperas to be US-english. "y"
and "z" are switched and need to be taken into account while entering the
passphrase again.
10. - boot process completes, system is ready for action.

On a second installation where the used keys of in the passphrase are laid out
the same way in both us-english and hu-102.
- Install successful,
- Bootloader requests passphrase -> enter passphrase
- Passphrase is not asked for a second time during boot and bootup completes.

I hope this helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-geom mailing list