Bug 2338933

Summary: RPM verify reports SELinux module directory as modified
Product: [Fedora] Fedora EPEL Reporter: overact_ninetieth160
Component: fail2banAssignee: Orion Poplawski <orion>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel9CC: anon.amish, hobbes1069, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 overact_ninetieth160 2025-01-20 01:12:01 UTC
After installation of fail2ban on RHEL 9, `rpm -V fail2ban-selinux` shows:
```
.M.......  g /var/lib/selinux/targeted/active/modules/200/fail2ban
```

Perhaps due to this line missing an %attr directive:
https://src.fedoraproject.org/rpms/fail2ban/blob/rawhide/f/fail2ban.spec#_398

Version-Release number of selected component (if applicable):
1.0.2-12.el9, 1.1.0-5.fc41

How reproducible:


Steps to Reproduce:
1. `dnf install fail2ban`
2. `rpm -V fail2ban-selinux`

Actual results:
Permission modification reported for /var/lib/selinux/targeted/active/modules/200/fail2ban

Expected results:
No modification reported

Comment 1 overact_ninetieth160 2025-05-31 09:53:43 UTC
Is more info needed? A fix would be very appreciated.