Bug 1691004

Summary: Unable to add new boot entry when --args is used
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: grubbyAssignee: Peter Jones <pjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 30CC: dan, fmartine, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: grubby-8.40-30.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-29 19:19:03 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 Jan Stodola 2019-03-20 16:04:39 UTC
Description of problem:
It is not possible to add a new boot entry using grubby:

[root@localhost ~]# grubby --add-kernel=/boot/kernel --initrd=/boot/initrd --title=test --args="test=1"
no action specified
[root@localhost ~]#

When the --args= parameter is not used, the command succeeds:

[root@localhost ~]# grubby --add-kernel=/boot/kernel --initrd=/boot/initrd --title=test
[root@localhost ~]#

Version-Release number of selected component (if applicable):
grubby-8.40-29.fc30

How reproducible:
always (tested on x86_64 and s390x)

Steps to Reproduce:
1. grubby --add-kernel=/boot/kernel --initrd=/boot/initrd --title=test --args="test=1"

Actual results:
Command fails, no new BLS config file is created.

Expected results:
New BLS config file is created.

Comment 1 Fedora Update System 2019-03-21 10:52:50 UTC
grubby-8.40-30.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4f58d8ba30

Comment 2 Fedora Update System 2019-03-21 19:12:42 UTC
grubby-8.40-30.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4f58d8ba30

Comment 3 Fedora Update System 2019-03-29 19:19:03 UTC
grubby-8.40-30.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.