Bug 2363673

Summary: /usr/lib/rpm/macros.d/macros.sysusers references non-existent /usr/lib/rpm/sysusers.generate-pre.sh file
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: daan.j.demeyer, fedoraproject, lnykryn, msekleta, ryncsn, suraj.ghimire7, systemd-maint, yuwatana, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-257.5-6.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-07 12:41:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Berrangé 2025-05-02 15:15:27 UTC
When building a package on F42 which includes a reference to %sysusers_create_compat, RPM spews errors


sh: line 1: /usr/lib/rpm/sysusers.generate-pre.sh: No such file or directory
sh: line 1: /usr/lib/rpm/sysusers.generate-pre.sh: No such file or directory
sh: line 1: /usr/lib/rpm/sysusers.generate-pre.sh: No such file or directory

systemd-rpm-macros-257.5-2.fc42.noarch contains a macro that refers to thsi shell script, however, since f42 it no longer ships this shell script. 

Presumably need to either ship it, or stop referring to it in the macro ?


Reproducible: Always

Comment 1 Fedora Update System 2025-05-08 17:42:07 UTC
FEDORA-2025-47eaba5cb6 (systemd-257.5-6.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-47eaba5cb6

Comment 2 Fedora Update System 2025-05-09 01:51:18 UTC
FEDORA-2025-47eaba5cb6 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-47eaba5cb6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-47eaba5cb6

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

Comment 3 Fedora Update System 2025-05-10 01:17:51 UTC
FEDORA-2025-47eaba5cb6 (systemd-257.5-6.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.