Bug 1060332

Summary: new-kernel-pkg adds LANG= to the boot options
Product: [Fedora] Fedora Reporter: Marcos Mello <marcosfrm>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bcl, marcosfrm, pjones
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1010454 Environment:
Last Closed: 2014-03-21 20:39:52 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 Marcos Mello 2014-01-31 20:13:29 UTC
+++ This bug was initially created as a clone of Bug #1010454 +++

During the kernel install the 'LANG=<LOCALE>' directive is copied from the '/etc/locale.conf' and appended to the kernel parameters line in the bootloader configuration file.
As far as I'm concerned this is redundant, cause the 'systemd-localed.service' is the one responsible for the system locale settings, already.

e.g.
/etc/locale.conf:
LANG=en_US.utf8

/boot/extlinux/extlinux.conf
…
append … LANG=en_US.utf8
…

--- Additional comment from poma on 2013-10-03 12:48:24 EDT ---


No news here either.
Good luck.

--- Additional comment from Marcos Mello on 2013-11-28 06:51:33 EST ---

Should not Anaconda write locale.LANG (as it already does with vconsole.font and vconsole.keymap) to the bootloader configuration and your patch be applied? Or perhaps /etc/{vconsole.conf,locale.conf} and /etc/sysconfig/{keyboard,i18n} import section be removed entirely?

I configure boot options in /etc/default/grub. Get *new* ones from new-kernel-pkg is unexpected.

--- Additional comment from Marcos Mello on 2014-01-23 07:44:31 EST ---

/etc/sysconfig/i18n and /etc/sysconfig/keyboard are both dead now. Thus SYSFONT, SYSFONTACM, UNIMAP, KEYTABLE, are gone too. LANG by luck is still used in /etc/locale.conf, but I am not sure it serves any purpose anymore considering dracut already put /etc/{vconsole.conf,locale.conf} in the initramfs.

--- Additional comment from Marcos Mello on 2014-01-23 08:24:49 EST ---

BTW, since F20 Anaconda does not write vconsole.keymap anymore, see bug 1035316 .

Comment 1 Marcos Mello 2014-02-01 17:55:43 UTC
See also bug 1033250 and bug 881624 .

Comment 2 Marcos Mello 2014-02-02 14:17:55 UTC

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

Comment 3 Marcos Mello 2014-02-03 08:52:28 UTC
Reopening. I do not know why #1010454 was closed with INSUFFICIENT_DATA.

Comment 4 Marcos Mello 2014-03-21 20:39:52 UTC

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