Bug 2031426

Summary: Remove systemd-boot legacies from systemd package
Product: Red Hat Enterprise Linux 9 Reporter: Robert Scheck <redhat-bugzilla>
Component: systemdAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: medium Docs Contact:
Priority: medium    
Version: CentOS StreamCC: bstinson, davide, jwboyer, msekleta, systemd-maint-list
Target Milestone: rc   
Target Release: 9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: systemd-249-9.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:57:38 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 Robert Scheck 2021-12-11 22:25:22 UTC
Description of problem:
As of writing, systemd does no longer provide systemd-boot but still ships the following legacies in systemd-udev:

-rw-r--r--    1 root    root                     3666 Nov 18 14:51 /usr/share/man/man1/bootctl.1.gz
-rw-r--r--    1 root    root                       44 Nov 18 14:51 /usr/share/man/man7/sd-boot.7.gz
-rw-r--r--    1 root    root                     5696 Nov 18 14:51 /usr/share/man/man7/systemd-boot.7.gz
-rw-r--r--    1 root    root                      564 Nov 18 14:51 /usr/share/man/man8/systemd-bless-boot-generator.8.gz
-rw-r--r--    1 root    root                       58 Nov 18 14:51 /usr/share/man/man8/systemd-bless-boot.8.gz
-rw-r--r--    1 root    root                     1741 Nov 18 14:51 /usr/share/man/man8/systemd-bless-boot.service.8.gz
-rw-r--r--    1 root    root                     1443 Nov 18 14:51 /usr/share/man/man8/systemd-boot-system-token.service.8.gz

Version-Release number of selected component (if applicable):
systemd-udev-249-9.el9.x86_64.rpm

How reproducible:
rpm -qpvl systemd-udev-249-9.el9.x86_64.rpm | grep boot

Actual results:
Legacies from systemd-boot in systemd-udev.

Expected results:
No legacies from systemd-boot in systemd-udev.

Comment 1 Davide Cavalca 2021-12-13 17:20:48 UTC
Looks like this is a systemd upstream issue, not a packaging bug, as I can repro it on github master if I build with -Dgnu-efi=false

Comment 2 Davide Cavalca 2021-12-13 17:29:12 UTC
Put up https://github.com/systemd/systemd/pull/21759 upstream for this.

Comment 3 Davide Cavalca 2021-12-13 17:43:17 UTC
And put up https://gitlab.com/redhat/centos-stream/rpms/systemd/-/merge_requests/39 to get that into the c9s package.

Comment 4 Jan Macku 2021-12-14 09:12:41 UTC
Thank you Davide for your PRs!

Comment 5 Davide Cavalca 2021-12-14 20:41:37 UTC
And put up https://github.com/redhat-plumbers/systemd-rhel9/pull/54 for systemd-rhel9.

Comment 6 Plumber Bot 2021-12-16 08:56:22 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel9/pull/54

Comment 10 errata-xmlrpc 2022-05-17 15:57:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: systemd), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3979