Bug 963202

Summary: keymap can not be set after netboot text install
Product: [Fedora] Fedora Reporter: Fabian Deutsch <fdeutsch>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: fdeutsch, harald, ignatenko, johannbg, lnykryn, msekleta, notting, plautrba, pomidorabelisima, systemd-maint, thomas, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-29 18:09:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabian Deutsch 2013-05-15 11:32:53 UTC
Description of problem:
The keymap can not be set by using localectl

Version-Release number of selected component (if applicable):
F19 Alpha netboot image

How reproducible:


Steps to Reproduce:
1. Get image and launch a text mode installatio in vm and install system
2. Login to the console as root
3. run: localectl set-keymap de

4. run: cat /etc/vconsole.conf 
KEYMAP=de

5. run: localectl 
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: de
      X11 Layout: de
       X11 Model: pc105
     X11 Options: terminate:ctrl_alt_bksp
6. Press "z" key, "y" appears on the screen - darn!

7. run loadkeys de
Lade /lib/kbd/keymaps/i386/qwertz/de.map.gz.

8. Press "z" key, "z" appears on the screen - wuhu!
  
Actual results:
Keymap can not be set using localectl

Expected results:


Additional info:

Comment 1 Harald Hoyer 2013-06-03 13:06:25 UTC
What is the output of:

# systemctl status systemd-vconsole-setup.service

after running 

# localectl set-keymap de

???

I think systemd only updates tty0 by restarting systemd-vconsole-setup.service.
If tty[1-9] are already used, they will not be updated by localectl.

Comment 3 Lennart Poettering 2013-09-29 18:03:03 UTC
What is the contents of /proc/cmdline?

(background: the kernel command line setting always overrides system config, hence you can set localectl as many times as you wish to set the locale settings, as long as something is written in /proc/cmdline to override it is ignore...)

Comment 4 Lennart Poettering 2013-09-29 18:09:47 UTC

*** This bug has been marked as a duplicate of bug 1001411 ***