Skip to content

console-setup: only run when a framebuffer exists (skip serial/headless)#25

Open
assisted-by-ai wants to merge 1 commit into
Kicksecure:masterfrom
org-ai-assisted:console-setup-skip-no-framebuffer
Open

console-setup: only run when a framebuffer exists (skip serial/headless)#25
assisted-by-ai wants to merge 1 commit into
Kicksecure:masterfrom
org-ai-assisted:console-setup-skip-no-framebuffer

Conversation

@assisted-by-ai

Copy link
Copy Markdown
Contributor

On a headless or serial-only boot (no GPU, hence no /dev/fb0) setupcon's setfont cannot work and spams setfont: ERROR ioctl(KDFONTOP): Invalid argument repeatedly in the journal. This gates the existing console-setup.service drop-in on ConditionPathExists=/dev/fb0, so it is skipped cleanly there; a normal graphical boot has /dev/fb0 and is unaffected.

Found via systemcheck --leak-tests headless in qemu. Not yet runtime-validated on a rebuilt image.

AI-Assisted.

…dless)

On a headless or serial-only boot (no GPU, hence no /dev/fb0) setupcon's setfont
cannot work and spams 'setfont: ERROR ioctl(KDFONTOP): Invalid argument'
repeatedly in the journal. Gate the console-setup.service drop-in on
ConditionPathExists=/dev/fb0 so it is skipped cleanly there; a normal graphical
boot has /dev/fb0 and is unaffected. (AI-Assisted.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant