Bug 1060332 - new-kernel-pkg adds LANG= to the boot options
Summary: new-kernel-pkg adds LANG= to the boot options
Keywords:
Status: CLOSED DUPLICATE of bug 1010454
Alias: None
Product: Fedora
Classification: Fedora
Component: grubby
Version: 20
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-31 20:13 UTC by Marcos Mello
Modified: 2014-04-15 22:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1010454
Environment:
Last Closed: 2014-03-21 20:39:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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