Bug 1321050

Summary: [RFE] skip most consolefonts, keymaps and unimaps
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dracut-maint-list, harald, jonathan, 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: 2016-11-24 16:28:41 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:

Description Christian Stadelmann 2016-03-24 14:35:48 UTC
Description of problem:
Currently (on F23) a default initramfs contains about 500 keymaps, 200 consolefonts and 50 unifonts. On boot only one keymap and a few (usually 1-2) consolefonts will be used (don't know about unifonts). How about removing the others? This will reduce initramfs size by about 4 MiB.

Version-Release number of selected component (if applicable):
dracut-043-63.git20151211.fc23.x86_64

How reproducible:
always. use lsinitrd to analyze /boot/initramfs-${kernel version}

Steps to Reproduce:
1. update kernel or run `dracut /path/to/new/initramfs.img`

Comment 1 Harald Hoyer 2016-03-24 15:16:33 UTC
To turn this off:

echo 'i18n_install_all="no"' > /etc/dracut.conf.d/99-reducedi18n.conf

Comment 2 Christian Stadelmann 2016-03-24 21:10:45 UTC
(In reply to Harald Hoyer from comment #1)
> To turn this off:
> 
> echo 'i18n_install_all="no"' > /etc/dracut.conf.d/99-reducedi18n.conf

Works fine. Is this behavior intended?

Comment 3 Harald Hoyer 2016-04-14 11:34:42 UTC
(In reply to Christian Stadelmann from comment #2)
> (In reply to Harald Hoyer from comment #1)
> > To turn this off:
> > 
> > echo 'i18n_install_all="no"' > /etc/dracut.conf.d/99-reducedi18n.conf
> 
> Works fine. Is this behavior intended?

Yes, because people changed keyboards, languages, etc. and complained that a kernel command line change did not have any effect when entering their encrypted disk password.

Comment 4 Christian Stadelmann 2016-09-28 18:26:23 UTC
Hm, changing keyboard layout or language is only applied after a dracut initramfs rebuild anyway. So why not put this line on by default?

Comment 5 Harald Hoyer 2016-10-12 12:10:11 UTC
(In reply to Christian Stadelmann from comment #4)
> Hm, changing keyboard layout or language is only applied after a dracut
> initramfs rebuild anyway. So why not put this line on by default?

that is not true. you can change the kernel command line any time to set the keyboard

Comment 6 Christian Stadelmann 2016-10-13 08:59:42 UTC
(In reply to Harald Hoyer from comment #5)
> (In reply to Christian Stadelmann from comment #4)
> > Hm, changing keyboard layout or language is only applied after a dracut
> > initramfs rebuild anyway. So why not put this line on by default?
> 
> that is not true. you can change the kernel command line any time to set the
> keyboard

Oh yes, I've missed that point. If you want to keep this feature (I guess so), feel free to close this bug as WONTFIX or NOTABUG.

Comment 7 Fedora End Of Life 2016-11-24 16:13:18 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.