Also affected on Linux Mint 22.3 (based on noble/24.04), console-setup 1.226ubuntu1.
Concrete failure case: FONT="spleen-16x32.psfu.gz" (package fonts- spleen). Spleen ships 512 glyphs, which is exactly the kernel maximum for a console font. Because of the duplicated append in the FONTFILES loop in /usr/bin/setupcon (the findfile result is added once inline and a second time via RES), setfont is invoked with the same font file twice, tries to merge them into a 1024-glyph font, and the kernel rejects it with "setfont: ERROR kdfontop.c:211 put_font_kdfontop: ioctl(KDFONTOP): Argument invalide" — so the font is silently not applied at boot. Fonts with <= 256 glyphs mask the bug (the doubled merge still fits under 512), which is probably why this went unnoticed with the default codeset fonts. Temporary workaround until an SRU lands: declare the font with an extra .gz extension, e.g. FONT="spleen-16x32.psfu.gz.gz". The first findfile lookup fails, and the "strip .gz" fallback then resolves the real file and appends it only once. (This workaround must be reverted once the fixed logic from 1.226ubuntu3 is backported, as the fallback path no longer exists there.) A backport of the plucky fix (1.226ubuntu3) to noble would be much appreciated — it is a small, self-contained change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2086110 Title: setupcon fails to set console font in 24.04 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/2086110/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
