Created attachment 45334 [details] [review] Proposed patch to enable loading of /etc/vconsole.conf when running in VM I have noticed that when starting the system in a virtual machine (in my case KVM), systemd-vconsole-setup tries to load the default font specified at build time. Looking through the code I have found that r is set to EXIT_FAILURE, which is 1. As the kernel command line only is checked when not running in a VM this will effectively disable loading /etc/vconsole.conf Setting r to 0, as in locale-setup.c, fixes the problem. As far as I can see no other problems are introduced by this.
Urks, this is actually a different bug: we actually want to ignore the cmdline only in containers, not in all virtualization. Basically detect_virtualization() needed to be replaced by detect_container(). Which I did now in git.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.