anatol / booster

Fast and secure initramfs generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

```vconsole: true``` causes systems with encrypted root to freeze.

CosmicFusion opened this issue · comments

OS: PikaOS 3/Ubuntu 23.10
PC: intel iris laptop/nvidia pc/qemu VM
Kernel: 6.6.6/6.5.5/6.5.0

Expected Behavior:
having vconsole: true in the booster configuration would cause an un-encrypted system to boot right up.

having vconsole: true in the booster configuration would cause an encrypted system to show unlock dialog with keymap from vconsole.

Current Behavior
having vconsole: true in the booster configuration would cause an un-encrypted system to boot right up.

having vconsole: false in the booster configuration would cause an un-encrypted system to boot right up.

having vconsole: false in the booster configuration would cause an encrypted system to show unlock dialog with US keymap.

having vconsole: true in the booster configuration would cause an encrypted system to freeze at console font loading never asking for luks password.

no font set in vconsole:
Screenshot from 2024-02-18 17-53-17

terminus font:
Screenshot from 2024-02-18 00-45-39

vga font:
Screenshot from 2024-02-18 00-48-50

my /etc/booster.yaml

vconsole: true
extra_files: busybox
enable_lvm: true
modules_force_load: usbhid

my /etc/vconsole.conf

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
KEYMAP=us

Solved but not gonna Close

The issue turned out to be caused by faulty locale generation on my end.

Though it shouldn't be closed because it should show error message at runtime with debug on, or error at image regen time.

We only got it fixed by accident.