Bug 1205212 - fedup initramfs doesn't respect users locale
Summary: fedup initramfs doesn't respect users locale
Keywords:
Status: CLOSED DUPLICATE of bug 1207251
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup-dracut
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-24 12:56 UTC by Christian Stadelmann
Modified: 2015-04-10 08:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-07 19:41:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2015-03-24 12:56:08 UTC
When trying to fedup from F21 to F22 I ran into this problem:
On F21 I set a custom keyboard layout. After rebooting into fedup-initramfs the keyboard layout was set to default en_US layout.

Version-Release number of selected component (if applicable):
fedup 0.9.1 from F21, run today to fedup to F22

Comment 1 Will Woods 2015-03-24 16:04:55 UTC
How did you set the custom keyboard layout? What file(s) were changed?

Comment 2 Christian Stadelmann 2015-03-25 16:39:07 UTC
I don't remember how I set the keyboard layout in F21. It includes using localectl (as root) and setting input sources in gnome-control-center. The system-wide default keyboard layout was my custom layout.
After rebooting from fedup initramfs into the freshly installed F22 it works fine.
In short: the keyboard layout in fedup initramfs is not the same as reported when running localectl on the F21 system as root.

Comment 3 Will Woods 2015-03-31 20:24:36 UTC
Hm. Can you do:
  
  sudo lsinitrd /boot/initramfs-$(uname -r).img /etc/vconsole.conf

and compare that to:

  sudo lsinitrd /boot/initramfs-fedup.img /etc/vconsole.conf

This problem happened in previous versions of fedup, so we started putting your /etc/vconsole.conf into upgrade.img.

If those two files match.. maybe the system has started using a different method for configuring keymaps?

Comment 4 Will Woods 2015-04-07 19:41:17 UTC
This is the same problem as (blocker) bug 1207251, so I'm marking this as a duplicate.

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

Comment 5 Adam Williamson 2015-04-08 14:15:35 UTC
'man vconsole.conf' does note:

"       Depending on the operating system other configuration files might be
       checked for configuration of the virtual console as well, however only
       as fallback."

I think I used to know what those were, but I don't recall any more. I don't think an f21 system is *intended* to set it anywhere else, though.

Comment 6 Christian Stadelmann 2015-04-10 08:05:50 UTC
/etc/vconsole.conf of current F21 installations:
KEYMAP=de-neo
FONT=latarcyrheb-sun16

/etc/vconsole.conf of current F21 initramfs:
KEYMAP=de-neo
FONT=latarcyrheb-sun16

/etc/vconsole.conf of fedup initramfs at the time when `fedup --network 22` finishes and tells me to reboot: does not exist. running `lsinitrd /boot/initramfs-fedup.img /etc/vconsole.conf` with super user privileges does not print anything: no file content and no errors/warnings. It seems like the /etc/vconsole.conf file just does not exist in the fedup intramfs.


Note You need to log in before you can comment on or make changes to this bug.