Bug 2271533 - sdubby does not support --update-kernel=ALL for --args / --remove-args
Summary: sdubby does not support --update-kernel=ALL for --args / --remove-args
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sdubby
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeremy Linton
QA Contact:
URL:
Whiteboard:
: 2306497 (view as bug list)
Depends On:
Blocks: 2271186 2271227 2271243
TreeView+ depends on / blocked
 
Reported: 2024-03-25 22:50 UTC by Gary Buhrmaster
Modified: 2024-10-03 01:57 UTC (History)
2 users (show)

Fixed In Version: sdubby-1.0-11.fc41 sdubby-1.0-11.fc40
Clone Of:
Environment:
Last Closed: 2024-10-02 01:31:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gary Buhrmaster 2024-03-25 22:50:12 UTC
sdubby does not support --update-kernel=ALL for --args or --remove-args.  This is a common use case for other utilities to add/remove kernel args (for ALL kernels).  Supporting ALL would make it easier for some to use systemd-boot rather than grub.

As I recall, in addition to updating the bls entries, grubby updates /etc/kernel/cmdline for the ALL case.

Reproducible: Always

Steps to Reproduce:
1. Install sdubby
2. /usr/sbin/updateloaderentries --update-kernel=ALL --remove-args='TESTING'

Actual Results:  
sed: no input files



Expected Results:  
completion of request.

Specifing --update-kernel=ALL and --args just hangs (probably because no entry was found and it is waiting for console input).

Comment 1 Jeremy Linton 2024-08-27 00:41:58 UTC
*** Bug 2306497 has been marked as a duplicate of this bug. ***

Comment 2 Jeremy Linton 2024-08-27 00:42:51 UTC
There is a rawhide build here:  https://koji.fedoraproject.org/koji/taskinfo?taskID=122530988


After that cooks for a bit, I will update older versions.

Comment 3 Nicolas Chauvet (kwizart) 2024-09-18 16:43:09 UTC
Can you issue an update for f41+ (or even f39+ since the problem can be seen there).

Also branching for epel10 would be nice...

Comment 4 Fedora Update System 2024-09-24 00:09:57 UTC
FEDORA-2024-16a51f0d7f (sdubby-1.0-11.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-16a51f0d7f

Comment 5 Fedora Update System 2024-09-24 01:29:52 UTC
FEDORA-2024-cfb759212e (sdubby-1.0-11.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-cfb759212e

Comment 6 Fedora Update System 2024-09-24 19:51:34 UTC
FEDORA-2024-16a51f0d7f has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-16a51f0d7f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-16a51f0d7f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-09-25 01:44:12 UTC
FEDORA-2024-cfb759212e has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cfb759212e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cfb759212e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-10-02 01:31:58 UTC
FEDORA-2024-16a51f0d7f (sdubby-1.0-11.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-10-03 01:57:21 UTC
FEDORA-2024-cfb759212e (sdubby-1.0-11.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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