Setfont error due to deprecated PIO_FONTX ioctl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Invalid
|
Undecided
|
Unassigned | ||
kbd (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Jammy |
Fix Released
|
Undecided
|
Heather Lemon | ||
Kinetic |
Fix Released
|
Undecided
|
Heather Lemon |
Bug Description
[Impact]
There is an error message that get thrown in in syslog.
There is a suggestion to fix by upgrading the KDB package to version 2.5.1+ (upstream) has a fix.
It is caused by this line in subiquity
https:/
It's due to PIO_FONTX ioctl removed from kernel since 5.12
https:/
In 2.4.5 of kbd which provide setfont in user space, they already switched over to use KDFONTOP only.
[ Test Plan ]
### REPRODUCER STEPS ###
# install libvirt
sudo apt install qemu qemu-kvm libvirt-clients libvirt-
sudo systemctl enable libvirtd
sudo systemctl start libvirtd
# check libvirtd process is running
virsh
virsh list
# get iso
wget https:/
# install vm
sudo virt-install --cdrom=
# you can either do the full install,
the error will be in the /var/log/
# or on the first page of the installer press Tab-> go to Help, -> Shell
and cd /var/log/
grep setfont* syslog
# to show error message cd to
/snap/subiquity
#execute
setfont $SNAP/subiquity.psf
# error
root@ubuntu-
setfont: ERROR kdfontop.c:266 put_font_piofontx: ioctl(PIO_FONTX): 512,8x16: failed: Inappropriate ioctl for device
# grep
grep setfont* syslog
Nov 14 18:22:11 ubuntu-server console-
Nov 14 18:22:29 ubuntu-server subiquity.
[ Where problems could occur ]
There could be a failure to correctly parse fonts.
https:/
[Other Notes]
# github link to upstream repo & commit
https:/
https:/
Changed in kbd (Ubuntu): | |
assignee: | nobody → dann frazier (dannf) |
status: | New → Fix Committed |
Changed in kbd (Ubuntu Jammy): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
status: | New → In Progress |
Changed in kbd (Ubuntu Kinetic): | |
status: | New → In Progress |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
tags: | added: verification-needed-jammy verification-needed-kinetic |
tags: | added: sts-sponsor |
tags: | removed: verification-needed-jammy verification-needed-kinetic |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
After discussion with Heather we determined that
* We want this font for display of the snap list results
* kbd 2.4.5 is believed to have the fix
* The fixed kbd package should be merged to lunar, and a SRU appropriate fix to jammy