[Bug 2030788] Re: "localectl set-x11-keymap" doesn't work in mantic

Nick Rosbrook 2030788 at bugs.launchpad.net
Wed Aug 23 14:07:13 UTC 2023


`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 at 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 at mantic:~# localectl 
System Locale: LANG=C.UTF-8
    VC Keymap: (unset)     
   X11 Layout: us
    X11 Model: pc105
root at mantic:~# readlink -f /etc/vconsole.conf 
/etc/default/keyboard

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2030788

Title:
  "localectl set-x11-keymap" doesn't work in mantic

Status in cloud-init package in Ubuntu:
  In Progress
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  On the raspi arm64 server image, I used to use cloud-init's keyboard
  module to set my keyboard to GB by default. However, on mantic
  localectl (which the keyboard module uses) is now reporting:

    $ localectl set-x11-keymap gb pc105
    Setting X11 and console keymaps is not supported in Debian

  So ... how do I get my £ key by default now? Or should this be filed
  against systemd as well?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030788/+subscriptions




More information about the foundations-bugs mailing list