Bug 1285217

Summary: [rfe] use /etc/crypttab to populate GRUB_CMDLINE_LINUX
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: grub2Assignee: Javier Martinez Canillas <fmartine>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bcl, lkundrak, mads, pjones
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: 2021-06-10 12:16:35 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 Christian Stadelmann 2015-11-25 08:56:16 UTC
Description of problem:
Currently when you reformat a Luks partition, add or remove a luks partition required for boot, you have to manually edit /etc/default/grub and run grub2-mkconfig additionally to editing /etc/crypttab. If you forget that, your system is unable to boot.

It would be desirable to have this automated, i.e. to remove all hard-coded "rd.luks.uuid=" entries in GRUB_CMDLINE_LINUX in /etc/default/grub and generate them from /etc/crypttab and /etc/fstab.

Version-Release number of selected component (if applicable):
grub2-2.02-0.24.fc23.x86_64

Comment 1 Fedora End Of Life 2016-11-24 13:43:02 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.

Comment 2 Fedora Admin user for bugzilla script actions 2021-05-07 00:36:16 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Javier Martinez Canillas 2021-06-10 12:16:35 UTC
This has to be fixed in upstream GRUB, please report the bug there or propose patches and
we would gladly pull them in the grub2 package, or in a future GRUB upstream rebase.