Bug 2280855
| Summary: | On some systems clamdscan gets a permission denied error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Jon Schewe <jon.schewe> |
| Component: | clamav | Assignee: | Orion Poplawski <orion> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel8 | CC: | anon.amish, bennie.joubert, gk, j, lee.jnk, ondrejj, orion, pgnd, redhat-bugzilla, rh-bugzilla, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| 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
Jon Schewe
2024-05-16 17:42:50 UTC
The error disappears if I use "--stream" instead of "--fdpass". Looking at the documentation I see that "--stream" is meant for testing and debugging, so I've stayed away from using this in our regular environment. Is "--stream" something that I should be using all of the time despite the documentation? We are using a central scanning server rather than scanning locally. Clamav version 0.103.11-1.el8 Does it work in permissive mode? sudo setenforce 0 Any difference in the /etc/clamd.d/scan.conf files between the machines? (assuming that is your clamd config file). $ sudo setenforce 0 $ sudo /usr/bin/clamdscan --fdpass -v --stdout /etc/gshadow /etc/gshadow: File path check failure: Permission denied. ERROR /etc/gshadow: File path check failure: Permission denied. ERROR ----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 2 Time: 0.002 sec (0 m 0 s) Start Date: 2024:05:17 08:59:53 End Date: 2024:05:17 08:59:53 This suggests it's not selinux. I checked the config files, they are the same. We push the same config to all hosts using ansible. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. |