[Bug 1013573] New: "dracut: Could not find FONT_MAP none!" warning while rebuilding initrd
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 Bug ID: 1013573 Summary: "dracut: Could not find FONT_MAP none!" warning while rebuilding initrd Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: develop7@develop7.info QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Repro: 1. Install openSUSE Tumbleweed (snapshot 20161123 in my case) 2. run /sbin/mkinitrd as root (or wait for update that triggers rebuilding initrd) 3. Watch dracut output Expected: no FONT_MAP-related warnings and related issues Instead: see summary The issue is created because current TW snapshot is affected as well Additional info:
$ cat /etc/vconsole.conf KEYMAP=us
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c6 --- Comment #6 from Andrei Dziahel <develop7@develop7.info> --- Affects fresh installation of TW -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c7 --- Comment #7 from Andrei Dziahel <develop7@develop7.info> --- Affects TW 20180622 too -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c8 M Fredericks <emfee@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emfee@gmx.net --- Comment #8 from M Fredericks <emfee@gmx.net> --- I did change /etc/sysconfig/console on my up-to-date Tumbleweed system 20810930: # See https://bugzilla.opensuse.org/show_bug.cgi?id=1013573 # CONSOLE_SCREENMAP="none" CONSOLE_SCREENMAP="" Then, running mkinitrd I still see the "Could not find FONT_MAP none!"
sudo mkinitrd Creating initrd: /boot/initrd-4.18.7-1-default dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.18.7-1-default 4.18.7-1-default dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: warpclock *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: Could not find FONT_MAP none! dracut: *** Including module: drm *** dracut: *** Including module: plymouth *** dracut: *** Including module: btrfs *** dracut: *** Including module: kernel-modules *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block ***
Is there another key then CONSOLE_SCREENMAP that should be changed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c9 --- Comment #9 from M Fredericks <emfee@gmx.net> --- Had a look where the error comes from and found it is coming out of /usr/lib/dracut/modules.d/10i18n/module-setup.sh: if [[ ${FONT_MAP} ]] then FONT_MAP=${FONT_MAP%.trans} # There are three different formats that setfont supports inst_simple ${kbddir}/consoletrans/${FONT_MAP} \ || inst_simple ${kbddir}/consoletrans/${FONT_MAP}.trans \ || inst_simple ${kbddir}/consoletrans/${FONT_MAP}_to_uni.trans \ || dwarn "Could not find FONT_MAP ${FONT_MAP}!" fi ${kbddir}/consoletrans/ is /usr/share/kbd/consoletrans and looking in that directory I see things like 8859-14_to_uni.trans but also "null" and "zero", are these values to use? The null file header says: # Map the ISO 8859-x control characters to <none> The zero file header says # Map all characters with high bit set to <none> It is also not clear to me yet how the ${FONT_MAP} comes into this 0i18n/module-setup.sh script, is that really through the CONSOLE_SCREENMAP key in /etc/sysconfig/console -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c10 Andrei Amuraritei <sirdeiu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sirdeiu@gmail.com --- Comment #10 from Andrei Amuraritei <sirdeiu@gmail.com> --- Hi, FONT_MAP is sourced from /etc/vconsole.conf on line 22 of /usr/lib/dracut/modules.d/10i18n/module-setup.sh: 17-# called by dracut 18-install() { 19- if dracut_module_included "systemd"; then 20- unset FONT 21- unset KEYMAP 22: [[ -f /etc/vconsole.conf ]] && . /etc/vconsole.conf 23- fi 24- 25- KBDSUBDIRS=consolefonts,consoletrans,keymaps,unimaps 26- DEFAULT_FONT="${i18n_default_font:-LatArCyrHeb-16}" 27- I18N_CONF="/etc/locale.conf" 28- I18N_CONF_SUSE="/etc/sysconfig/language" 29: VCONFIG_CONF="/etc/vconsole.conf" and removing none from FONT_MAP in /etc/vconsole.conf and then running dracut -f -v the message is gone. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c11 --- Comment #11 from Andrei Amuraritei <sirdeiu@gmail.com> --- As far as I'm able to see, FONT_MAP=none still comes in vconsole.conf from: https://github.com/yast/yast-country/blob/master/console/src/modules/Console... 68: @screenMap = "none" So maybe get Yast team on this again? Can't find anywhere else where vconsole.conf is configured with FONT_MAP for the moment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c13 --- Comment #13 from M Fredericks <emfee@gmx.net> --- (In reply to Andrei Amuraritei from comment #11)
As far as I'm able to see, FONT_MAP=none still comes in vconsole.conf from:
I can confirm, with:
# cat /etc/vconsole.conf KEYMAP=us FONT=eurlatgr.psfu FONT_MAP= FONT_UNIMAP=
I do not see the warning/error anymore. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1013573 http://bugzilla.opensuse.org/show_bug.cgi?id=1013573#c28 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #28 from Daniel Molkentin <daniel.molkentin@suse.com> --- This is actually resolved for quite some time now courtesy of a sed call in the dracut RPM. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com