Summary: |
vconsole-setup doesn't copy complete virtual console config |
Product: |
systemd
|
Reporter: |
Carl Schaefer <schaefer> |
Component: |
general | Assignee: |
systemd-bugs |
Status: |
RESOLVED
FIXED
|
QA Contact: |
systemd-bugs |
Severity: |
minor
|
|
|
Priority: |
medium
|
CC: |
christian
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
patch suggestion
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 99168 [details] patch suggestion If I'm reading it right, vconsole-setup uses setfont(8) to initialize tty1 and then calls font_copy_to_all_vcs() to copy the font config of tty1 to tty2/tty3/etc. However, setfont can do more than just set the font, it can also install character maps with PIO_SCRNMAP, PIO_UNISCRNMAP and PIO_UNIMAP. When vconsole-setup initializes tty2/tty3/etc. it should copy these tables along with the font, or more conservatively, run setfont on each virtual terminal. Or maybe setfont could operate on a list of ttys.