Bug 1177545

Summary: snapshot 20201007 breaks X11 keyboard setup (due to keyboard-layout name change in IBus)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Markus Koßmann <markus.kossmann>
Component: X11 ApplicationsAssignee: Fuminobu Takeyama <ftake>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: axel.braun, bjoernv, fabian, ftake, fvogt, mail, sachse, sebastian.kuhne, wbauer
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: vconsole.conf
00-keyboard.conf
Setting Plasma
Setting Yast

Description Markus Koßmann 2020-10-10 09:47:46 UTC
Before snapshot 20201007 keyboard setup in X11 was persistant
Once configured with yast2 keyboard I got on every start a german Keyboard setup.
Now I get an american keyboard on startup and have to it reconfigure to german on every start of X11 ( tested with KDE, ICEWM and TWM as windowmanager).
There is also some discussion on that problem on <https://lists.opensuse.org/opensuse-factory/2020-10/msg00064.html>
Comment 1 Stefan Dirsch 2020-10-10 19:11:57 UTC
YaST runs 

  localectl  set-keymap <keyboard-layout>

which should write /etc/vconsole.conf and /etc/X11/xorg.conf.d/00-keyboard.conf accordingly. Apparently this works indirectly thru some other process/daemon - at some time. :-( Once setting in /etc/X11/xorg.conf.d/00-keyboard.conf is in a consistent state, and Xserver has been restarted X keyboard layout will be as expected. 

I don't have an explanation for a regression here. I believe the issue existed before as well.
Comment 2 Markus Koßmann 2020-10-10 22:01:50 UTC
Created attachment 842493 [details]
vconsole.conf
Comment 3 Markus Koßmann 2020-10-10 22:22:16 UTC
Created attachment 842494 [details]
00-keyboard.conf

There are no changes in neither 00-keyboard.conf nor vconsole.conf when running yast2 keyboard. Both files seem to look fine.But the keyboard changes.  And the text console has german keyboard without the need to run yast. I've attached both files
Comment 4 Stefan Dirsch 2020-10-10 22:48:09 UTC
Sure. Linux console keyboard is also set via 

  localectl  set-keymap <keyboard-layout>

I believe YaST also runs "setxkbmap <keyboard-layout>" on your Xsession, so this gets active on the Xsession immediately.
Comment 5 Markus Koßmann 2020-10-11 15:07:38 UTC
A "journalctl -b0 | grep localectl" from a text console at the time when the sddm login windows is running shows :
---------------------------------------------------------
# journalctl -b0 | grep localectl 
Oct 11 10:03:00 linux-2kgy display-manager[2364]: Command: localectl set-keymap de-latin1-nodeadkeys
Oct 11 10:03:00 linux-2kgy dbus-daemon[1319]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.17' (uid=0 pid=2387 comm="localectl set-keymap de-latin1-nodeadkeys ")
----------------------------------------------------------
After login and running "yast2 keyboard" there is no additional localectl call logged. So yast2 seems to use setxkbmap to setup the keyboard .   And localectl has failed.
Comment 6 Markus Koßmann 2020-10-11 16:23:10 UTC
localectl set-keymap seems definitely to be broken. No change in keyboard, when running from commandline in a Konsole window. Tried with different models from the output of localectl list-keymaps you will see only an entry like: 
-------------------------------------------------------
Oct 11 17:36:42 linux-2kgy dbus-daemon[1319]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.172' (uid=0 pid=14749 comm="localectl set-keymap de-latin1-nodeadkeys ")
------------------------------------------------------------------
in syslog. 

ltrace localectl set-keymap de-latin1-nodeadkeys shows
----------------------------------------------------------------------------------
setlocale(LC_ALL, "")                                                                          = "LC_CTYPE=de_DE.UTF-8;LC_NUMERIC="...
log_setup_cli(0, 0x7f7dff4fe46c, 1, 0)                                                         = 0
getopt_long(3, 0x7fffb4448348, "hH:M:", 0x556ed6afe860, nil)                                   = -1
bus_connect_transport(0, 0, 0, 0x7fffb4448220)                                                 = 0
dispatch_verb(3, 0x7fffb4448348, 0x556ed6afe960, 0x556ed7fec240 <unfinished ...>
polkit_agent_open_if_enabled(0, 1, 0x556ed7fec240, 0)                                          = 0
bus_call_method(0x556ed7fec240, 0x7f7e004c2170, 0x556ed6afc24d, 0x7fffb44481d0)                = 1
sd_bus_error_free(0x7fffb44481d0, 0x556ed7feee50, 0, 0x556ed7fd3010)                           = 0
<... dispatch_verb resumed> )                                                                  = 0
sd_bus_flush_close_unref(0x556ed7fec240, 0x556ed7feee50, 0, 0x556ed7fd3010)                    = 0
ask_password_agent_close(0x7f7e00206a00, 0, 0x7f7e00206a60, 0x556ed7fd3010)                    = 0
polkit_agent_close(0, 0, 0x7f7e00206a60, 0x556ed7fd3010)                                       = 0
pager_close(0, 0, 0x7f7e00206a60, 0x556ed7fd3010)                                              = 0
mac_selinux_finish(0, 0, 0x7f7e00206a60, 0x556ed7fd3010)                                       = 0
+++ exited (status 0) +++
--------------------------------------------------------------------------------

strace localectl set-keymap de-latin1-nodeadkeys  shows
----------------------------------------------------------------------------------------------------------
linux-2kgy:~ # strace localectl set-keymap de-latin1-nodeadkeys 
execve("/usr/bin/localectl", ["localectl", "set-keymap", "de-latin1-nodeadkeys"], 0x7fffc28a0090 /* 57 vars */) = 0
brk(NULL)                               = 0x561f97509000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/tls/haswell/x86_64/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/tls/haswell/x86_64", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/tls/haswell/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/tls/haswell", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/tls/x86_64/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/tls/x86_64", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/tls/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/tls", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/haswell/x86_64/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/haswell/x86_64", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/haswell/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/haswell", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/x86_64/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/systemd/x86_64", 0x7ffc0b6f2e30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/systemd/libsystemd-shared-246.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2205\6\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2635064, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff171f1000
mmap(NULL, 2640304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16f6c000
mprotect(0x7eff16fc6000, 2183168, PROT_NONE) = 0
mmap(0x7eff16fc6000, 1581056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5a000) = 0x7eff16fc6000
mmap(0x7eff17148000, 598016, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1dc000) = 0x7eff17148000
mmap(0x7eff171db000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26e000) = 0x7eff171db000
mmap(0x7eff171f0000, 2480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff171f0000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/systemd/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=203455, ...}) = 0
mmap(NULL, 203455, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7eff16f3a000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\177\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2106872, ...}) = 0
mmap(NULL, 1868480, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16d71000
mprotect(0x7eff16d97000, 1675264, PROT_NONE) = 0
mmap(0x7eff16d97000, 1359872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26000) = 0x7eff16d97000
mmap(0x7eff16ee3000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7eff16ee3000
mmap(0x7eff16f30000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1be000) = 0x7eff16f30000
mmap(0x7eff16f36000, 12992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16f36000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35224, ...}) = 0
mmap(NULL, 37256, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16d67000
mprotect(0x7eff16d69000, 24576, PROT_NONE) = 0
mmap(0x7eff16d69000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff16d69000
mmap(0x7eff16d6d000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff16d6d000
mmap(0x7eff16d6f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7eff16d6f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libblkid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\212\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=203696, ...}) = 0
mmap(NULL, 205712, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16d34000
mmap(0x7eff16d3c000, 118784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7eff16d3c000
mmap(0x7eff16d59000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7eff16d59000
mmap(0x7eff16d62000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) = 0x7eff16d62000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=39472, ...}) = 0
mmap(NULL, 41496, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16d29000
mmap(0x7eff16d2c000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16d2c000
mmap(0x7eff16d30000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7eff16d30000
mmap(0x7eff16d32000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7eff16d32000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@ \0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=202736, ...}) = 0
mmap(NULL, 238280, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16cee000
mmap(0x7eff16cf0000, 86016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff16cf0000
mmap(0x7eff16d05000, 106496, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7eff16d05000
mmap(0x7eff16d1f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x30000) = 0x7eff16d1f000
mmap(0x7eff16d21000, 29384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16d21000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libcryptsetup.so.12", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\220\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=476696, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16cec000
mmap(NULL, 478704, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16c77000
mprotect(0x7eff16c7f000, 434176, PROT_NONE) = 0
mmap(0x7eff16c7f000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7eff16c7f000
mmap(0x7eff16cd1000, 94208, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5a000) = 0x7eff16cd1000
mmap(0x7eff16ce9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7eff16ce9000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libgcrypt.so.20", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\325\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1201080, ...}) = 0
mmap(NULL, 1204320, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16b50000
mmap(0x7eff16b5d000, 884736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7eff16b5d000
mmap(0x7eff16c35000, 233472, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe5000) = 0x7eff16c35000
mmap(0x7eff16c6e000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d000) = 0x7eff16c6e000
mmap(0x7eff16c76000, 96, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16c76000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libidn2.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=129384, ...}) = 0
mmap(NULL, 131400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16b2f000
mmap(0x7eff16b31000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff16b31000
mmap(0x7eff16b35000, 102400, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff16b35000
mmap(0x7eff16b4e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7eff16b4e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libkmod.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340G\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=100456, ...}) = 0
mmap(NULL, 102472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16b15000
mprotect(0x7eff16b19000, 81920, PROT_NONE) = 0
mmap(0x7eff16b19000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7eff16b19000
mmap(0x7eff16b28000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7eff16b28000
mmap(0x7eff16b2d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7eff16b2d000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/liblz4.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3002\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=129408, ...}) = 0
mmap(NULL, 131432, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16af4000
mmap(0x7eff16af7000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16af7000
mmap(0x7eff16b10000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7eff16b10000
mmap(0x7eff16b13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7eff16b13000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libmount.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\306\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=268792, ...}) = 0
mmap(NULL, 270808, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16ab1000
mmap(0x7eff16abc000, 167936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7eff16abc000
mmap(0x7eff16ae5000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34000) = 0x7eff16ae5000
mmap(0x7eff16af1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3f000) = 0x7eff16af1000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libpam.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2605\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=68432, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16aaf000
mmap(NULL, 70368, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a9d000
mmap(0x7eff16aa0000, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16aa0000
mmap(0x7eff16aa9000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7eff16aa9000
mmap(0x7eff16aad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7eff16aad000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=49384, ...}) = 0
mmap(NULL, 43520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a92000
mmap(0x7eff16a95000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16a95000
mmap(0x7eff16a99000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7eff16a99000
mmap(0x7eff16a9b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7eff16a9b000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libseccomp.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=133448, ...}) = 0
mmap(NULL, 135472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a70000
mmap(0x7eff16a72000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff16a72000
mmap(0x7eff16a82000, 57344, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x7eff16a82000
mmap(0x7eff16a90000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x7eff16a90000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000}\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=167888, ...}) = 0
mmap(NULL, 179016, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a44000
mmap(0x7eff16a4b000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7eff16a4b000
mmap(0x7eff16a64000, 32768, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7eff16a64000
mmap(0x7eff16a6c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7eff16a6c000
mmap(0x7eff16a6e000, 6984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16a6e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0205\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=202808, ...}) = 0
mmap(NULL, 204816, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a11000
mprotect(0x7eff16a14000, 188416, PROT_NONE) = 0
mmap(0x7eff16a14000, 139264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16a14000
mmap(0x7eff16a36000, 45056, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7eff16a36000
mmap(0x7eff16a42000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x30000) = 0x7eff16a42000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=22600, ...}) = 0
mmap(NULL, 20624, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16a0b000
mmap(0x7eff16a0c000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7eff16a0c000
mmap(0x7eff16a0e000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16a0e000
mmap(0x7eff16a0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16a0f000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0|\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=146208, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16a09000
mmap(NULL, 131504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff169e8000
mmap(0x7eff169ef000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7eff169ef000
mmap(0x7eff169fe000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7eff169fe000
mmap(0x7eff16a03000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7eff16a03000
mmap(0x7eff16a05000, 12720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16a05000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=30840, ...}) = 0
mmap(NULL, 32792, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff169df000
mmap(0x7eff169e1000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff169e1000
mmap(0x7eff169e5000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff169e5000
mmap(0x7eff169e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff169e6000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libdevmapper.so.1.03", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\321\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=370296, ...}) = 0
mmap(NULL, 376608, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16983000
mprotect(0x7eff1698f000, 307200, PROT_NONE) = 0
mmap(0x7eff1698f000, 221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7eff1698f000
mmap(0x7eff169c5000, 81920, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x42000) = 0x7eff169c5000
mmap(0x7eff169da000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56000) = 0x7eff169da000
mmap(0x7eff169de000, 3872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff169de000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0@\10\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3048688, ...}) = 0
mmap(NULL, 3069288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16695000
mprotect(0x7eff16718000, 2318336, PROT_NONE) = 0
mmap(0x7eff16718000, 1720320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x83000) = 0x7eff16718000
mmap(0x7eff168bc000, 593920, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x227000) = 0x7eff168bc000
mmap(0x7eff1694e000, 196608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2b8000) = 0x7eff1694e000
mmap(0x7eff1697e000, 17768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff1697e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libargon2.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\21\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=30872, ...}) = 0
mmap(NULL, 32952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff1668c000
mmap(0x7eff1668d000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7eff1668d000
mmap(0x7eff16691000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7eff16691000
mmap(0x7eff16693000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff16693000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libjson-c.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000C\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=71984, ...}) = 0
mmap(NULL, 74224, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16679000
mprotect(0x7eff1667d000, 53248, PROT_NONE) = 0
mmap(0x7eff1667d000, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7eff1667d000
mmap(0x7eff16686000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7eff16686000
mmap(0x7eff1668a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7eff1668a000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16677000
openat(AT_FDCWD, "/usr/lib64/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@U\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=146312, ...}) = 0
mmap(NULL, 148560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16652000
mmap(0x7eff16657000, 86016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7eff16657000
mmap(0x7eff1666c000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7eff1666c000
mmap(0x7eff16675000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7eff16675000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libunistring.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3000\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1581272, ...}) = 0
mmap(NULL, 1581360, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff164cf000
mmap(0x7eff164e1000, 221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x7eff164e1000
mmap(0x7eff16517000, 1269760, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x48000) = 0x7eff16517000
mmap(0x7eff1664d000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17e000) = 0x7eff1664d000
mmap(0x7eff16651000, 304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff16651000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0203\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=100400, ...}) = 0
mmap(NULL, 102416, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff164b5000
mprotect(0x7eff164b8000, 86016, PROT_NONE) = 0
mmap(0x7eff164b8000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff164b8000
mmap(0x7eff164c6000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7eff164c6000
mmap(0x7eff164cd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7eff164cd000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libaudit.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2605\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=112624, ...}) = 0
mmap(NULL, 155824, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff1648e000
mmap(0x7eff16491000, 28672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7eff16491000
mmap(0x7eff16498000, 69632, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7eff16498000
mmap(0x7eff164a9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7eff164a9000
mmap(0x7eff164ab000, 37040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7eff164ab000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libeconf.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31232, ...}) = 0
mmap(NULL, 34208, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16485000
mmap(0x7eff16487000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff16487000
mmap(0x7eff1648b000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff1648b000
mmap(0x7eff1648c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7eff1648c000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=579912, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16483000
mmap(NULL, 582128, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff163f4000
mmap(0x7eff163f6000, 442368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7eff163f6000
mmap(0x7eff16462000, 126976, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e000) = 0x7eff16462000
mmap(0x7eff16481000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8c000) = 0x7eff16481000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libudev.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`W\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=157960, ...}) = 0
mmap(NULL, 162080, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff163cc000
mmap(0x7eff163d1000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7eff163d1000
mmap(0x7eff163e9000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0x7eff163e9000
mmap(0x7eff163f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7eff163f2000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\362\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1410216, ...}) = 0
mmap(NULL, 1327128, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7eff16287000
mmap(0x7eff16296000, 634880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7eff16296000
mmap(0x7eff16331000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xaa000) = 0x7eff16331000
mmap(0x7eff163ca000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142000) = 0x7eff163ca000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16285000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16283000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7eff16280000
arch_prctl(ARCH_SET_FS, 0x7eff16280940) = 0
mprotect(0x7eff16f30000, 12288, PROT_READ) = 0
mprotect(0x7eff163ca000, 4096, PROT_READ) = 0
mprotect(0x7eff16a03000, 4096, PROT_READ) = 0
mprotect(0x7eff163f2000, 4096, PROT_READ) = 0
mprotect(0x7eff16481000, 4096, PROT_READ) = 0
mprotect(0x7eff1648c000, 4096, PROT_READ) = 0
mprotect(0x7eff164a9000, 4096, PROT_READ) = 0
mprotect(0x7eff164cd000, 4096, PROT_READ) = 0
mprotect(0x7eff1664d000, 12288, PROT_READ) = 0
mprotect(0x7eff16675000, 4096, PROT_READ) = 0
mprotect(0x7eff1668a000, 4096, PROT_READ) = 0
mprotect(0x7eff16693000, 4096, PROT_READ) = 0
mprotect(0x7eff16a0f000, 4096, PROT_READ) = 0
mprotect(0x7eff1694e000, 180224, PROT_READ) = 0
mprotect(0x7eff16a6c000, 4096, PROT_READ) = 0
mprotect(0x7eff169da000, 4096, PROT_READ) = 0
mprotect(0x7eff169e6000, 4096, PROT_READ) = 0
mprotect(0x7eff16a42000, 4096, PROT_READ) = 0
mprotect(0x7eff16a90000, 4096, PROT_READ) = 0
mprotect(0x7eff16a9b000, 4096, PROT_READ) = 0
mprotect(0x7eff16aad000, 4096, PROT_READ) = 0
mprotect(0x7eff16d62000, 16384, PROT_READ) = 0
mprotect(0x7eff16af1000, 8192, PROT_READ) = 0
mprotect(0x7eff16b13000, 4096, PROT_READ) = 0
mprotect(0x7eff16b2d000, 4096, PROT_READ) = 0
mprotect(0x7eff16b4e000, 4096, PROT_READ) = 0
mprotect(0x7eff16c6e000, 8192, PROT_READ) = 0
mprotect(0x7eff16ce9000, 4096, PROT_READ) = 0
mprotect(0x7eff16d1f000, 4096, PROT_READ) = 0
mprotect(0x7eff16d32000, 4096, PROT_READ) = 0
mprotect(0x7eff16d6f000, 4096, PROT_READ) = 0
mprotect(0x7eff171db000, 81920, PROT_READ) = 0
mprotect(0x561f95b8c000, 4096, PROT_READ) = 0
mprotect(0x7eff1721e000, 4096, PROT_READ) = 0
munmap(0x7eff16f3a000, 203455)          = 0
set_tid_address(0x7eff16280c10)         = 17718
set_robust_list(0x7eff16280c20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7eff169ef660, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7eff169fba20}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7eff169ef700, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7eff169fba20}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x561f97509000
brk(0x561f9752a000)                     = 0x561f9752a000
futex(0x7eff16980f48, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff16a10048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/usr/lib64/.libcrypto.so.1.1.hmac", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7eff16980e10, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff1697ddc8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff16980e0c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff16980e08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff169806e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7eff16980e04, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/proc/sys/crypto/fips_enabled", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/usr/lib64/.libcrypto.so.1.1.hmac", F_OK) = -1 ENOENT (No such file or directory)
statfs("/sys/fs/selinux", 0x7ffc0b6f3bb0) = -1 ENOENT (No such file or directory)
statfs("/selinux", 0x7ffc0b6f3bb0)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev\tsysfs\nnodev\ttmpfs\nnodev\tbd"..., 1024) = 342
read(3, "", 1024)                       = 0
close(3)                                = 0
access("/etc/selinux/config", F_OK)     = -1 ENOENT (No such file or directory)
access("/etc/gcrypt/fips_enabled", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/sys/crypto/fips_enabled", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/gcrypt/hwf.deny", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/usr/lib64/.libgcrypt.so.20.fips", F_OK) = -1 ENOENT (No such file or directory)
prctl(PR_CAPBSET_READ, CAP_MAC_OVERRIDE) = 1
prctl(PR_CAPBSET_READ, 0x30 /* CAP_??? */) = -1 EINVAL (Invalid argument)
prctl(PR_CAPBSET_READ, CAP_CHECKPOINT_RESTORE) = -1 EINVAL (Invalid argument)
prctl(PR_CAPBSET_READ, CAP_BLOCK_SUSPEND) = 1
prctl(PR_CAPBSET_READ, CAP_PERFMON)     = -1 EINVAL (Invalid argument)
prctl(PR_CAPBSET_READ, CAP_AUDIT_READ)  = 1
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2940, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2940
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/de_DE.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/locale/de_DE.utf8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=346292, ...}) = 0
mmap(NULL, 346292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7eff1622b000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26988, ...}) = 0
mmap(NULL, 26988, PROT_READ, MAP_SHARED, 3, 0) = 0x7eff16f65000
close(3)                                = 0
futex(0x7eff16f354fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
newfstatat(AT_FDCWD, "/run/systemd/system/", {st_mode=S_IFDIR|0755, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0
getpid()                                = 17718
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
getsockopt(3, SOL_SOCKET, SO_RCVBUF, [212992], [4]) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [8388608], 4) = 0
getsockopt(3, SOL_SOCKET, SO_RCVBUF, [425984], [4]) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUFFORCE, [8388608], 4) = 0
getsockopt(3, SOL_SOCKET, SO_SNDBUF, [212992], [4]) = 0
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [8388608], 4) = 0
getsockopt(3, SOL_SOCKET, SO_SNDBUF, [425984], [4]) = 0
setsockopt(3, SOL_SOCKET, SO_SNDBUFFORCE, [8388608], 4) = 0
connect(3, {sa_family=AF_UNIX, sun_path="/run/dbus/system_bus_socket"}, 30) = 0
getsockopt(3, SOL_SOCKET, SO_PEERCRED, {pid=1, uid=0, gid=0}, [12]) = 0
getsockopt(3, SOL_SOCKET, SO_PEERSEC, 0x561f97522a00, [64]) = -1 ENOPROTOOPT (Protocol not available)
getsockopt(3, SOL_SOCKET, SO_PEERGROUPS, 0x561f97509df0, [256->0]) = 0
fstat(3, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
getsockopt(3, SOL_SOCKET, SO_ACCEPTCONN, [0], [4]) = 0
getsockname(3, {sa_family=AF_UNIX}, [128->2]) = 0
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0AUTH EXTERNAL\r\nDATA\r\n", iov_len=22}, {iov_base="NEGOTIATE_UNIX_FD\r\n", iov_len=19}, {iov_base="BEGIN\r\n", iov_len=7}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 48
gettid()                                = 17718
futex(0x7eff171efdf4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
gettid()                                = 17718
geteuid()                               = 0
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="DATA\r\nOK d8d87731724b49cd7775b2e"..., iov_len=256}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 58
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1\0\0\0\0\1\0\0\0m\0\0\0\1\1o\0\25\0\0\0/org/fre"..., iov_len=128}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 128
recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=3, events=POLLIN}], 1, {tv_sec=24, tv_nsec=999922000}, NULL, 8) = 1 ([{fd=3, revents=POLLIN}], left {tv_sec=24, tv_nsec=999671559})
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1\v\0\0\0\1\0\0\0=\0\0\0\6\1s\0\6\0\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=":1.187\0\0\5\1u\0\1\0\0\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0"..., iov_len=67}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 67
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1,\0\0\0\2\0\0\0\222\0\0\0\1\1o\0\30\0\0\0/org/fre"..., iov_len=168}, {iov_base="\24\0\0\0de-latin1-nodeadkeys\0\0\0\0\0\0\0\0"..., iov_len=44}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 212
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1\v\0\0\0\2\0\0\0\215\0\0\0\1\1o\0\25\0\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="/org/freedesktop/DBus\0\0\0\2\1s\0\24\0\0\0"..., iov_len=147}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 147
recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=3, events=POLLIN}], 1, {tv_sec=24, tv_nsec=999890000}, NULL, 8) = 1 ([{fd=3, revents=POLLIN}], left {tv_sec=24, tv_nsec=999832173})
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1\0\0\0\0\4\0\0\0'\0\0\0\5\1u\0\2\0\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 24
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\6\1s\0\6\0\0\0:1.187\0\0\7\1s\0\6\0\0\0:1.186\0\0", iov_len=32}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 32
close(3)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++
--------------------------------------------------------------------------------------------------------------------------

The only thing that looks suspicious for me is "recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)" two times.

Might it be that dbus acts as black hole here ?
Comment 7 Axel Braun 2020-10-11 18:55:50 UTC
Noticed the issue on a lock screen of the X11 Plasma session as well
Comment 8 Björn Voigt 2020-10-13 21:54:13 UTC
Which users are affected? Probably not all Tumbleweed users are affected. Otherwise there would be much more discussions.

Is this a Plasma issue or an SDDM/Plasma issue?
Comment 9 Stefan Dirsch 2020-10-14 04:43:21 UTC
(In reply to Stefan Dirsch from comment #1)
> YaST runs 
> 
>   localectl  set-keymap <keyboard-layout>
> 
> which should write /etc/vconsole.conf and
> /etc/X11/xorg.conf.d/00-keyboard.conf accordingly. Apparently this works
> indirectly thru some other process/daemon - at some time. :-( Once setting
> in /etc/X11/xorg.conf.d/00-keyboard.conf is in a consistent state, and
> Xserver has been restarted X keyboard layout will be as expected. 
> 
> I don't have an explanation for a regression here. I believe the issue
> existed before as well.

At least right now I have a consistent behaviour, but I have seen strange behaviour with localectl before. :-(

tw:~ # localectl set-keymap us
tw:~ # cat /etc/X11/xorg.conf.d/00-keyboard.conf |grep XkbLayout; cat /etc/vconsole.conf |grep KEYMAP
        Option "XkbLayout" "us"
KEYMAP=us
tw:~ # X & sleep 3; DISPLAY=:0 xterm & DISPLAY=:0 setxkbmap -print
[...]
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)+terminate(ctrl_alt_bksp)"   };
        xkb_geometry  { include "pc(pc104)"     };
};

tw:~ # localectl set-keymap de
tw:~ # cat /etc/X11/xorg.conf.d/00-keyboard.conf |grep XkbLayout; cat /etc/vconsole.conf |grep KEYMAP
        Option "XkbLayout" "de"
KEYMAP=de
tw:~ # X & sleep 3; DISPLAY=:0 xterm & DISPLAY=:0 setxkbmap -print
[...]
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwertz)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+de+inet(evdev)+terminate(ctrl_alt_bksp)+terminate(ctrl_alt_bksp)"   };
        xkb_geometry  { include "pc(pc105)"     };
};

tw:~ # localectl set-keymap us
tw:~ # cat /etc/X11/xorg.conf.d/00-keyboard.conf |grep XkbLayout; cat /etc/vconsole.conf |grep KEYMAP
        Option "XkbLayout" "us"
KEYMAP=us
tw:~ # X & sleep 3; DISPLAY=:0 xterm & DISPLAY=:0 setxkbmap -print
[...]
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)+terminate(ctrl_alt_bksp)"   };
        xkb_geometry  { include "pc(pc104)"     };
};
Comment 10 Stefan Dirsch 2020-10-14 04:49:57 UTC
No idea how to debug this. I can't reproduce. I'm pretty sure it's no regression of TW snapshot 20201007. Closing as WORKSFORME.
Comment 11 Axel Braun 2020-10-14 09:51:35 UTC
I have just upgraded to TW 20201012, and still have the issue with US Keyboard after login
Comment 12 Axel Braun 2020-10-14 09:54:07 UTC
docb@X1E:~> more /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "nodeadkeys"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
docb@X1E:~> more /etc/vconsole.conf
KEYMAP=de-latin1-nodeadkeys
FONT=eurlatgr.psfu
FONT_MAP=
FONT_UNIMAP=
Comment 13 Axel Braun 2020-10-14 09:58:11 UTC
The login screen has apparently german kezboard lazout, but following X11 session uses US
Comment 14 Stefan Dirsch 2020-10-14 10:02:02 UTC
This is obviously a german keyboard layout, with which Xserver is being started initially. If your desktop then switches to "us" (user specific setting or buggy behaviour), this is out of my control. ;-)
Comment 15 Stefan Dirsch 2020-10-14 10:05:11 UTC
(In reply to Axel Braun from comment #13)
> The login screen has apparently german kezboard lazout, but following X11
> session uses US

So indeed limited to Xsession. Check your keyboard user setting in Plasma.
Comment 16 Wolfgang Bauer 2020-10-14 10:12:30 UTC
(In reply to Stefan Dirsch from comment #15)
> (In reply to Axel Braun from comment #13)
> > The login screen has apparently german kezboard lazout, but following X11
> > session uses US
> 
> So indeed limited to Xsession. Check your keyboard user setting in Plasma.

FTR, Plasma/X11 does *not* touch the keyboard layout on login at all, unless you explicitly configured a layout in systemsettings5->Input Devices->Keyboard.

OTOH, I have seen reports where ibus interfered with the keyboard layout.
So please also check whether the package ibus is installed, and try to uninstall it if that's the case. (not libibus though, that should not matter)
Comment 17 Fabian Vogt 2020-10-14 10:40:34 UTC
(In reply to Stefan Dirsch from comment #14)
> This is obviously a german keyboard layout, with which Xserver is being
> started initially. If your desktop then switches to "us" (user specific
> setting or buggy behaviour), this is out of my control. ;-)

The original post indicates that it's more generic than that:

> Now I get an american keyboard on startup and have to it reconfigure to german on every start of X11 ( tested with KDE, ICEWM and TWM as windowmanager).

In the referenced snapshot, only xdm/xinit/xmodmap/x11-tools changed, so this can't be a change in Plasma causing this.

Unless ~/.config/kxkbrc contains a specific keyboard layout config, it shouldn't run setxkbmap at all.
Comment 18 Sebastian Kuhne 2020-10-14 11:00:08 UTC
(In reply to Stefan Dirsch from comment #14)
> This is obviously a german keyboard layout, with which Xserver is being
> started initially. If your desktop then switches to "us" (user specific
> setting or buggy behaviour), this is out of my control. ;-)

Just to ensure we all have the same understanding>
- login screen after boot is on German lazout - Password input is all right
- after login the keyboard is on US but the settings in Plasma and in Yast are on German layout. In Plasma, you have to remove the German layout and reset it again - than it works - see images attached. By writing this text all settings are set to German layout but my keyboard is on US.
Comment 19 Sebastian Kuhne 2020-10-14 11:01:23 UTC
Created attachment 842605 [details]
Setting Plasma

Set to German layout but in reality on US
Comment 20 Sebastian Kuhne 2020-10-14 11:01:56 UTC
Created attachment 842606 [details]
Setting Yast

Set to German layout but in reality on US
Comment 21 Sebastian Kuhne 2020-10-14 11:05:32 UTC
Not sure if an interesting detail but Wayland is working as expected in terms of the keyboard.
Comment 22 Fabian Vogt 2020-10-14 11:47:23 UTC
I just reproduced the issue in the kde livecd of the upcoming TW snapshot.

After https://phabricator.kde.org/D21497, it even applies a layout if there's nothing configured.

Can be reproduced by logging into icewm instead (correct layout), starting "QT_LOGGING_RULES=org.kde.*=true" and then triggering "qdbus-qt5 org.kde.kded5 /kded loadModule keyboard". It can be observed that it correctly reads the active keyboard from X, but then applies "us" instead.
Comment 23 Fabian Vogt 2020-10-14 20:22:03 UTC
Looks like in my case this is just because I logged into the session with an US keyboard at first and kded_keyboard saved that (which is expected, but IMO bad behaviour).

What really shouldn't happen is that tha UI correctly shows the 'de' layout but doesn't actually apply it on start. Please run these commands both in Plasma (when the layout is broken) and additionally in icewm (if the layout is not broken there):

setxkbmap -query
cat ~/.config/kxkbrc
QT_LOGGING_RULES=org.kde.*=true kded5 --replace &
qdbus-qt5 org.kde.kded5 /kded loadModule keyboard
setxkbmap -query

Is it also broken in icewm, as the report initially states?
Comment 24 Markus Koßmann 2020-10-15 18:26:07 UTC
This is running ICEWM after logging in (with sddm) :
-----------------------------------------------------
mk@linux-2kgy:~> setxkbmap -query
rules:      evdev
model:      pc105
layout:     us
options:    terminate:ctrl_alt_bksp

mk@linux-2kgy:~> cat ~/.config/kxkbrc
[Layout]
DisplayNames=
LayoutList=de(nodeadkeys)
LayoutLoopCount=-1
Model=
ResetOldOptions=false
ShowFlag=false
ShowLabel=true
ShowLayoutIndicator=true
ShowSingle=false
SwitchMode=Global
Use=true
----------------------------------------  
The QT stuff doesn't matter with ICEWM I think ?

Xorg.0.log however shows :
[....]
[    38.087] (**) Option "xkb_model" "pc105"
[    38.087] (**) Option "xkb_layout" "de"
[    38.087] (**) Option "xkb_variant" "nodeadkeys"
[    38.087] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[....]

[    38.151] (**) Option "xkb_model" "pc105"
[    38.151] (**) Option "xkb_layout" "de"
[    38.151] (**) Option "xkb_variant" "nodeadkeys"
[    38.151] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[....]
[    38.179] (**) Option "xkb_model" "pc105"
[    38.179] (**) Option "xkb_layout" "de"
[    38.179] (**) Option "xkb_variant" "nodeadkeys"
[    38.179] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[....]

[    38.403] (II) XINPUT: Adding extended input device "Logitech K520" (type: KEYBOARD, id 14)
[    38.403] (**) Option "xkb_model" "pc105"
[    38.403] (**) Option "xkb_layout" "de"
[    38.403] (**) Option "xkb_variant" "nodeadkeys"
[    38.403] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[....]
Comment 25 Axel Braun 2020-10-16 08:49:43 UTC
(In reply to Wolfgang Bauer from comment #16)

> OTOH, I have seen reports where ibus interfered with the keyboard layout.
> So please also check whether the package ibus is installed, and try to
> uninstall it if that's the case. (not libibus though, that should not matter)

Just noticed my answer go lost (mid-air collision):
De-installing ibus , resp. adding german to it fixed the problem.
Update of ibus from 1.5.22to  1.5.23 was apparently the issue
Comment 26 Markus Koßmann 2020-10-16 09:38:06 UTC
Yes, removing ibus seems to fix the problem for me, too.
Comment 27 Fabian Vogt 2020-10-16 09:49:39 UTC
Ok, so apparently everything was caused by IBUS after all, which makes this a WONTFIX.

However, I wonder whether you installed ibus manually or whether it was pulled in automatically. The latter must not happen.
Comment 28 Wolfgang Bauer 2020-10-16 10:11:00 UTC
(In reply to Fabian Vogt from comment #27)
> Ok, so apparently everything was caused by IBUS after all, which makes this
> a WONTFIX.
It might be a bug in ibus though.
I remember a similar problem in the past, where ibus didn't pick up the X11 keyboard layout, but that got fixed IIRC, maybe it broke again.

(of course the story is different if the user actually configured some layout in ibus' settings)

> However, I wonder whether you installed ibus manually or whether it was
> pulled in automatically. The latter must not happen.
In the past, at least libreoffice-gnome pulled it in (as recommended package), but that seems to be no longer the case AFAICS.
Comment 29 Markus Koßmann 2020-10-16 15:49:20 UTC
I've reinstalled ibus and played with it. I think now that its default configuration is bad. It comes with only Input Method "English-US" preconfigured an doesn't have the Option "Use system keyboard" enabled. 
So it is no bug of ibus that it comes up with English keyboard. You have to add the german keyboard to its input methods and activate it to get a german keyboard.

I've found a not updated tumbleweed installation with ibus 1.5.22. And that version has German keyboard ( and only German keyboard) preconfigured. So the selection of the preconfigured keyboard at installation time seems to be broken.
Comment 30 Sebastian Kuhne 2020-10-17 17:42:16 UTC
(In reply to Axel Braun from comment #25)
> (In reply to Wolfgang Bauer from comment #16)
> 
> > OTOH, I have seen reports where ibus interfered with the keyboard layout.
> > So please also check whether the package ibus is installed, and try to
> > uninstall it if that's the case. (not libibus though, that should not matter)
> 
> Just noticed my answer go lost (mid-air collision):
> De-installing ibus , resp. adding german to it fixed the problem.
> Update of ibus from 1.5.22to  1.5.23 was apparently the issue

This is working for me - Adding german to it fixed the problem:
- running for EVERY user as user (and not as root):
$/usr/bin/ibus-setup ==> input method ==> remove US and add German

That's it. Reboot and it should stay with Germany layout.
Do it for every user (Haven't found a "global" solution).
Comment 31 Fabian Vogt 2020-10-17 19:25:28 UTC
Apparently this is more IBus than Plasma now, so reassigning.
Comment 32 Fuminobu Takeyama 2020-10-18 07:50:18 UTC
As far as I prepare a new clean environment, and change system keyboard layout to de, IBus automatically load de layout keyboard.

I'm not sure why your layout suddenly was changed to en for now.

Possible causes are:

- Some inconsistent configuration happens when we move X11 related settings to /usr/etc recently
- The layout name you are using is changed in 1.5.23, then updated IBus cannot load the layout in the configuration and fall back to en

To see the difference of layout names, result of `ibus engine` and `ibus list-engine` in the two environment might be helpful.



Here is additional information, how IBus works:


At the first time you start IBus, it load a keyboard layout from xkb settings, not from localectl (for mainly console). This is because a keyboard layout might specified many places such as Plasma's system settings, lightdm, some custom scripts in ~/.

On the other hand, once a layout is loaded to IBus, the layout is saved to IBus's configuration and the layout is loaded regardless of layouts specified in the other places. This is expected behavior.

See also: https://bugzilla.opensuse.org/show_bug.cgi?id=1101736


To revert the layout to system specified layout, there are several ways:

- Uninstalling IBus
- Adding the system layout to IBus with ibus-setup
- Disabling IBus's layout switcher with ibus-setup
Comment 33 Fuminobu Takeyama 2020-10-18 08:05:45 UTC
I just compared two environment (Leap and Tumbleweed)

- 1.5.22:  xkb:de::ger
- 1.5.23:  xkb:de::deu (manually added, YaST add one with nodeadkeys)

I will check the code to understand how difference of ger and deu behaves.
Comment 34 Philipp Wagner 2020-10-21 12:32:37 UTC
Just one small additional data point: the binary zoom package also has a dependency on ibus, indicating why this package might be installed on many openSUSE machines.


$ wget https://d11yldzmag5yn.cloudfront.net/prod/5.3.472687.1012/zoom_openSUSE_x86_64.rpm
$ rpm -qpR ~/Downloads/zoom_openSUSE_x86_64.rpm
[skip]
ibus
ibus-m17n
[skip]
Comment 35 Fuminobu Takeyama 2020-11-07 05:18:41 UTC
Between 1.5.22 and 1.5.23, some keyboard layouts including xkb:de::ger have been changed. So while upgrading IBus, since old layout name in its configuration DB is unknown for the newer IBus, it cannot load that layout end fall back to en layout.

For now, users have to manually add xkb:de::deu (or what they want) from ibus-setup.


https://github.com/ibus/ibus/commit/ed7bc8dcded59fb391687e3e9b0676c77accf736#diff-ed9f6f25068608efd412958da4dfc19328ca3511251fa6d5f9c42baf230e32f8

https://github.com/ibus/ibus/issues/2153
Comment 36 Fabian Vogt 2020-11-07 10:29:30 UTC
(In reply to Fuminobu Takeyama from comment #35)
> Between 1.5.22 and 1.5.23, some keyboard layouts including xkb:de::ger have
> been changed. So while upgrading IBus, since old layout name in its
> configuration DB is unknown for the newer IBus, it cannot load that layout
> end fall back to en layout.
> 
> For now, users have to manually add xkb:de::deu (or what they want) from
> ibus-setup.

Is it not possible to do migration there?
Comment 37 Fuminobu Takeyama 2020-11-07 15:42:07 UTC
Current IBus does not provide such migration feature.
I opened an issue in the upstream project.
https://github.com/ibus/ibus/issues/2274
Comment 38 Fuminobu Takeyama 2020-11-21 06:41:07 UTC
In the next upstream version, it will show a warning message when a deprecated layout is detected and IBus will replace it with English one.

https://github.com/ibus/ibus/issues/2274
Comment 39 Fuminobu Takeyama 2021-02-23 02:49:08 UTC
IBus 1.5.24 is on a way to Tumbleweed
https://build.opensuse.org/request/show/874459
Comment 40 Fuminobu Takeyama 2021-03-23 12:33:50 UTC
Additional note:

As far as I compared an old and the current XML file, renamed (removed) layouts include be:*:ger, ch:*:ger, de:*:ger, gr:*:gre, ro:*:rum, and, sk:*:slo.



openSUSE Leap 15.3 will be shipped with IBus 1.5.23. I will try to import some patches from 1.5.24 to show a warning message.
Comment 42 Fuminobu Takeyama 2022-04-21 14:59:58 UTC
already fixed