Bug 231591 - Installer / bsdconfig creates always settings for syscons
Summary: Installer / bsdconfig creates always settings for syscons
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
Keywords: install, vt
Depends on:
Reported: 2018-09-22 15:40 UTC by Martin
Modified: 2019-09-16 19:19 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2018-09-22 15:40:40 UTC
Using bsdconfig to change the font or keymap, it always writes syscons settings to /etc/rc.conf, although vt is set as console driver.

For example, using bsdconfig to set the keymap to german and fonts to ISO 8859-15 results in these entries in /etc/rc.conf:


With vidfont and kbdmap i get the correct and working results:

Console driver is vt:
root@betablock:~ # sysctl kern.vty
kern.vty: vt

I checked in /usr/share/bsdconfig/keymap.subr, and found a check if vt or syscons is used. Depending of the result, it should use /usr/share/syscons/keymaps/INDEX.keymaps or /usr/share/vt/keymaps/INDEX.keymaps for creating the userinterface and set the korrekt keymap. But i could not see, where the problem is.

I checked bsdconfig on 11.2 and the installer on trueos 18.06, both behave in the same way.
Comment 1 Martin 2018-09-22 16:00:39 UTC
looks a little bit like bug #202081 in reverse.