Bug 2363673 - /usr/lib/rpm/macros.d/macros.sysusers references non-existent /usr/lib/rpm/sysusers.generate-pre.sh file
Summary: /usr/lib/rpm/macros.d/macros.sysusers references non-existent /usr/lib/rpm/sy...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 15:15 UTC by Daniel Berrangé
Modified: 2025-11-07 12:41 UTC (History)
9 users (show)

Fixed In Version: systemd-257.5-6.fc42
Clone Of:
Environment:
Last Closed: 2025-11-07 12:41:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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