T495 -Failed to start Setup Virtual Console

Recent installation of TW, using kernel 5.6.2-1-default. Getting the below error on startup


Apr 17 10:39:59 TP systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Apr 17 10:39:59 TP systemd[1]: Failed to start Setup Virtual Console.
Apr 17 10:39:59 TP systemd[1]: Dependency failed for dracut ask for additional cmdline parameters.
Apr 17 10:39:59 TP systemd[1]: dracut-cmdline-ask.service: Job dracut-cmdline-ask.service/start failed with result 'dependency'.
Apr 17 10:39:59 TP systemd[1]: Starting dracut cmdline hook...


Also seeing lots of:


systemd-vconsole-setup[254]: /usr/bin/loadkeys failed with exit status 1.




● systemd-vconsole-setup.service - Setup Virtual Console
     Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
     Active: inactive (dead) since Fri 2020-04-17 10:40:01 BST; 13min ago
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 474 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
   Main PID: 474 (code=exited, status=0/SUCCESS)

Looking on the forums it seems this could be keyboard or font related, I’m in the UK using a UK english device. Any ideas as to a cause please?

Thanks

I noticed this today booting my TW laptop, I’m about to have to re-boot my TW desktop in a while and will check to see if it appears on that as well. I have seen this before and it did not have any adverse effect and it was fixed after a while but I dont remember exactly when.

Stuart

Actually there is a bug 1166423 in bugzilla for this opened in March this year.

Stuart

I just booted the desktop and it does NOT exhibit the issue. Must be a difference between that and laptop for key maps, one works and one does not. Both systems are TW KDE and fully updated today.

Stuart

Thats great - thanks for the help.

Looking at 1166423 – Failed to start Setup Virtual Console


cat /etc/vconsole.conf 
KEYMAP=uk
FONT=eurlatgr.psfu
FONT_MAP=
FONT_UNIMAP=

There are no ‘uk’ keymaps in ls /usr/share/kbd/keymaps/xkb/

There are gb ones however - i presume for Great Britain.

/usr/share/kbd/keymaps/xkb/gb-colemak.map.gz
/usr/share/kbd/keymaps/xkb/gb-dvorak.map.gz
/usr/share/kbd/keymaps/xkb/gb-dvorakukp.map.gz
/usr/share/kbd/keymaps/xkb/gb-extd.map.gz
/usr/share/kbd/keymaps/xkb/gb-intl.map.gz
/usr/share/kbd/keymaps/xkb/gb-mac_intl.map.gz
/usr/share/kbd/keymaps/xkb/gb-mac.map.gz
/usr/share/kbd/keymaps/xkb/gb.map.gz
/usr/share/kbd/keymaps/xkb/gb-pl.map.gz

What config do any other UK Opensuse users have pls?


cat /etc/vconsole.conf 
FONT=eurlatgr.psfu
FONT_MAP=
FONT_UNIMAP=
KEYMAP=gb


from my desktop which does not show the error on boot up.

Stuart

Thank you. If I make the change do you know if I have to run mkinitrd or anything? As the change wasn’t detected on my initial change.

Yes, run mkinitrd after changing /etc/vconsole.conf

Just to complete the picture I edited my laptop vconsole.conf to be the same as my desktop, ran mkinitrd and all is fine now with no error.

Stuart

https://bugzilla.suse.com/show_bug.cgi?id=1166423#c27

zypper ar -f https://download.opensuse.org/repositories/home:/lnussel:/branches:/Base:/System/openSUSE_Tumbleweed/home:lnussel:branches:Base:System.repo
zypper in kbd

Packages moved to Base:System Factory Devel Project (openSUSE_Factory):

zypper ar -f https://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/Base:System.repo
zypper in kbd

Fixed packages arrived in TW20200427:

erlangen:~ # zypper search --installed-only --details  kbd
Loading repository data...
Reading installed packages...

S  | Name       | Type    | Version   | Arch   | Repository
---+------------+---------+-----------+--------+--------------------
i+ | kbd        | package | 2.2.0-2.1 | x86_64 | repo-oss
i+ | kbd-legacy | package | 2.2.0-2.1 | noarch | repo-oss
erlangen:~ #