Comment 6 for bug 2030788

Revision history for this message
Nick Rosbrook (enr0n) wrote : Re: "localectl set-x11-keymap" doesn't work in mantic

`localectl status` will report the correct output as long as the symlink from `/etc/vconsole.conf` to `/etc/default/keyboard` is setup correctly; this is configured by /usr/lib/tmpfiles.d/debian.conf. What is the status of systemd-tmpfiles-setup.service on your system?

E.g., on a fresh mantic container I see:

root@mantic:~# systemctl status systemd-tmpfiles-setup.service --no-pager
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static)
     Active: active (exited) since Wed 2023-08-23 13:53:54 UTC; 12min ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
   Main PID: 141 (code=exited, status=0/SUCCESS)
        CPU: 18ms

Aug 23 13:53:54 mantic systemd[1]: Starting systemd-tmpfiles-setup.service …s...
Aug 23 13:53:54 mantic systemd[1]: Finished systemd-tmpfiles-setup.service …ies.
Hint: Some lines were ellipsized, use -l to show in full.
root@mantic:~# localectl
System Locale: LANG=C.UTF-8
    VC Keymap: (unset)
   X11 Layout: us
    X11 Model: pc105
root@mantic:~# readlink -f /etc/vconsole.conf
/etc/default/keyboard