我在启动系统期间出现几毫秒错误。错误消息:
[FAILED]: Failed to start Setup Virtual Console.
[DEPEND]: Dependency failed for dracut ask for additional cmdline parameters.
当我登录系统时,验证此服务 systemd-vconsole-setup 并正常工作:
systemd-vconsole-setup.service - Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static)
Active: active (exited) since Sun 2021-05-23 13:55:58 -03; 56min ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 538 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
Main PID: 538 (code=exited, status=0/SUCCESS)
CPU: 62ms
我搜索启动日志,发现:
may 23 16:06:03 fedora systemd-vconsole-setup[248]: loadkeys: Unable to open file: la-latin1: No such file or directory
may 23 16:06:05 fedora systemd[1]: Starting Setup Virtual Console...
may 23 16:06:05 fedora systemd-vconsole-setup[490]: loadkeys: Unable to open file: la-latin1: No such file or directory
may 23 16:06:05 fedora systemd-vconsole-setup[487]: /usr/bin/loadkeys failed with exit status 1.
may 23 16:06:05 fedora systemd-vconsole-setup[487]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
may 23 16:06:05 fedora systemd-vconsole-setup[487]: Fonts will not be copied to remaining consoles
may 23 16:06:05 fedora systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
may 23 16:06:05 fedora systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
may 23 16:06:05 fedora systemd[1]: Failed to start Setup Virtual Console.
may 23 19:06:06 fedora systemd[1]: Finished Setup Virtual Console.
这行:
Unable to open file: la-latin1: No such file or directory
我不明白为什么会出现,我的配置localectl
是:
System Locale: LANG=es_ES.UTF-8
VC Keymap: es
X11 Layout: latam,us
X11 Variant: ,colemak_dh
我正在更改la-latin
为es
,因为服务systemd-vconsole-setup
失败。
我不知道在启动过程中会出现几秒钟: Failed to start Setup Virtual Console.
有人可以帮助我吗?
多谢!
答案1
只是我更新了软件包,这些错误不再出现,并且内核已更新:
Linux rodrigo-linux 5.11.21-300.fc34.x86_64 #1 SMP Fri May 14 17:43:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
到:
Linux linux 5.12.9-300.fc34.x86_64 #1 SMP Thu Jun 3 13:51:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux