Bug 1933873 - systemd-vconsole-setup: loadkeys: Unable to open file: it2: No such file or directory
Summary: systemd-vconsole-setup: loadkeys: Unable to open file: it2: No such file or d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1852427 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-01 22:23 UTC by Alessio
Modified: 2023-09-18 00:24 UTC (History)
15 users (show)

Fixed In Version: systemd-248~rc3-1.fc35 systemd-248~rc4-3.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-25 00:18:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
failed during early boot process (328.74 KB, image/png)
2021-03-01 22:37 UTC, Alessio
no flags Details
failed during boot process (173.12 KB, image/png)
2021-03-01 22:37 UTC, Alessio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1852427 1 unspecified CLOSED systemd-vconsole-setup[214]: cannot open file de-latin1-nodeadkeys 2021-03-04 08:14:06 UTC

Description Alessio 2021-03-01 22:23:45 UTC
systemd-248~rc2-1.fc34.x86_64
systemd-udev-248~rc2-1.fc34.x86_64


[alessio@fedora ~]$ systemctl status systemd-vconsole-setup.service 
× systemd-vconsole-setup.service - Setup Virtual Console
     Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static)
     Active: failed (Result: exit-code) since Mon 2021-03-01 23:11:21 CET; 3min 36s ago
       Docs: man:systemd-vconsole-setup.service(8)
             man:vconsole.conf(5)
    Process: 547 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
   Main PID: 547 (code=exited, status=1/FAILURE)
        CPU: 49ms

Mar 01 23:11:21 fedora systemd-vconsole-setup[558]: loadkeys: Unable to open file: it2: No such file or directory
Mar 01 23:11:21 fedora systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
Mar 01 23:11:21 fedora systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Mar 01 23:11:21 fedora systemd[1]: Failed to start Setup Virtual Console.

Comment 1 Alessio 2021-03-01 22:28:44 UTC
This could be a possible duplicate of BZ#1852427

Comment 2 Alessio 2021-03-01 22:30:49 UTC
Using KEYMAP="it" instead of "it2" in /etc/vconsole.conf, then the service start successfully.

Comment 3 Alessio 2021-03-01 22:36:57 UTC
The service start successfully, it seems if using systemctl status systemd-vconsole-setup.service once logged in.
But during the boot process some [FAILED] lines appear.

Comment 4 Alessio 2021-03-01 22:37:37 UTC
Created attachment 1760108 [details]
failed during early boot process

Comment 5 Alessio 2021-03-01 22:37:59 UTC
Created attachment 1760109 [details]
failed during boot process

Comment 6 Alessio 2021-03-01 22:53:08 UTC
Oh, ok. Regenerating also dracut
sudo dracut --force
also the [FAILED] lines during the boot are gone.

Comment 7 Zbigniew Jędrzejewski-Szmek 2021-03-02 16:52:29 UTC
it2 is in kbd-legacy, and previously kbd-legacy was pulled in by kbd. This dependency was dropped
fairly recently in kbd-2.3.0-4. But this doesn't explain why you got the error, i.e. what put
"it2" in /etc/vconsole.conf.

Was this on a newly installed system? Because on an upgraded system, if you had kbd-legacy, you
should still have it after an upgrade.

Comment 8 Zbigniew Jędrzejewski-Szmek 2021-03-02 17:11:19 UTC
rpm -qa|grep '^kbd' ?

Comment 9 Alessio 2021-03-03 10:39:56 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #8)
> rpm -qa|grep '^kbd' ?

$ rpm -qa|grep '^kbd'
kbd-misc-2.4.0-2.fc34.noarch
kbd-2.4.0-2.fc34.x86_64

Comment 10 Alessio 2021-03-03 10:40:45 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #7)
> Was this on a newly installed system? Because on an upgraded system, if you

Newly installed F34 system.

Comment 11 Zbigniew Jędrzejewski-Szmek 2021-03-03 12:56:48 UTC
Oh, OK. So something is configuring "it2" without pulling in -legacy.
Maybe it's Anaconda as mentioned in #1852427.

But I see that localed accepts any invalid keymap without any complaint, even though
it doesn't have the specified keymap in 'list-keymaps'. I think we should refuse.

Comment 12 Zbigniew Jędrzejewski-Szmek 2021-03-04 08:14:06 UTC
*** Bug 1852427 has been marked as a duplicate of this bug. ***

Comment 13 Zbigniew Jędrzejewski-Szmek 2021-03-04 11:00:47 UTC
https://github.com/systemd/systemd/pull/18875

@adamw: if this goes in, localed will flat out refuse to set a non-installed keymap. This should be
OK in general. Anaconda might be surprised by the error though. So we need to make sure that this
is handled gracefully in the installer.

Comment 14 Fedora Update System 2021-03-23 14:06:52 UTC
FEDORA-2021-ea92e5703f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea92e5703f

Comment 15 Fedora Update System 2021-03-24 02:44:11 UTC
FEDORA-2021-ea92e5703f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ea92e5703f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ea92e5703f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2021-03-25 00:18:41 UTC
FEDORA-2021-ea92e5703f has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 yuk 2023-01-13 09:56:38 UTC
Bug still present in RHEL 9.1

Comment 18 Red Hat Bugzilla 2023-09-18 00:24:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.