Bug 2367804

Summary: sysuser.d is used but that is only valid for rawhide - instead requires sysusers_compat
Product: [Fedora] Fedora Reporter: Paul Wouters <paul.wouters>
Component: suricataAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: ish, jtfas90, sgrubb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: suricata-7.0.10-2.el9 suricata-7.0.10-2.fc42 suricata-7.0.10-2.fc41 suricata-7.0.10-2.el8 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-30 00:40:12 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 Paul Wouters 2025-05-21 14:50:30 UTC
during %pre it thinks it is adding users but isn't.
Then in %post it tries to chown stuff but the user suricata does not exist, and it uses root instead.

Since we run this as non-root, things start failing.

It seems the rawhide changes for using sysuser.d were pulled into f42/f41 by mistake. It should use sysusers_compat or revert to the old adduser style.

Reproducible: Always

Comment 1 Fedora Update System 2025-05-21 21:01:00 UTC
FEDORA-2025-e28e896f70 (suricata-7.0.10-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e28e896f70

Comment 2 Fedora Update System 2025-05-21 21:01:01 UTC
FEDORA-EPEL-2025-31ff8cdc8f (suricata-7.0.10-2.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-31ff8cdc8f

Comment 3 Fedora Update System 2025-05-21 21:01:01 UTC
FEDORA-EPEL-2025-f8f514c679 (suricata-7.0.10-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-f8f514c679

Comment 4 Fedora Update System 2025-05-21 21:01:01 UTC
FEDORA-2025-9062ade4d9 (suricata-7.0.10-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9062ade4d9

Comment 5 Steve Grubb 2025-05-21 21:03:29 UTC
The packaging guidelines say F41 and EPEL are not compatible. So, they should be fixed now. Tryout the builds from the testing repo and let me know if that fixes it.

Comment 6 Fedora Update System 2025-05-22 01:14:15 UTC
FEDORA-2025-e28e896f70 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-e28e896f70`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e28e896f70

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

Comment 7 Fedora Update System 2025-05-22 01:59:43 UTC
FEDORA-EPEL-2025-f8f514c679 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-f8f514c679

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

Comment 8 Fedora Update System 2025-05-22 02:22:32 UTC
FEDORA-2025-9062ade4d9 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-2025-9062ade4d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9062ade4d9

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

Comment 9 Fedora Update System 2025-05-22 02:44:26 UTC
FEDORA-EPEL-2025-31ff8cdc8f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-31ff8cdc8f

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

Comment 10 Fedora Update System 2025-05-30 00:40:12 UTC
FEDORA-EPEL-2025-f8f514c679 (suricata-7.0.10-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-05-30 01:15:44 UTC
FEDORA-2025-e28e896f70 (suricata-7.0.10-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2025-05-30 01:45:28 UTC
FEDORA-2025-9062ade4d9 (suricata-7.0.10-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-05-30 02:26:17 UTC
FEDORA-EPEL-2025-31ff8cdc8f (suricata-7.0.10-2.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.