View Issue Details

IDProjectCategoryView StatusLast Update
0016662CentOS-7selinux-policypublic2019-10-27 15:48
Reporterdcatkin6364 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016662: SELinux is preventing clamscan from 'unlink' accesses on the file booked.zip.
DescriptionDescription of problem:
SELinux is preventing clamscan from 'unlink' accesses on the file booked.zip.

***** Plugin catchall (100. confidence) suggests **************************

If you believe that clamscan should be allowed unlink access on the booked.zip file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'clamscan' --raw | audit2allow -M my-clamscan
# semodule -i my-clamscan.pp

Additional Information:
Source Context system_u:system_r:antivirus_t:s0-s0:c0.c1023
Target Context unconfined_u:object_r:user_home_t:s0
Target Objects booked.zip [ file ]
Source clamscan
Source Path clamscan
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.4.1.el7.x86_64 #1 SMP
                              Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64
Alert Count 10
First Seen 2019-10-26 06:14:12 MDT
Last Seen 2019-10-27 05:33:18 MDT
Local ID bcc95c20-de98-4646-9808-caab610353ae

Raw Audit Messages
type=AVC msg=audit(1572175998.528:1487): avc: denied { unlink } for pid=18867 comm="clamscan" name="booked.zip" dev="dm-2" ino=807789335 scontext=system_u:system_r:antivirus_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0


Hash: clamscan,antivirus_t,user_home_t,file,unlink

Version-Release number of selected component:
selinux-policy-3.13.1-252.el7.1.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.4.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash9996251048401003d58fdfc41cc169dd455a7d3cb9aefed336ca4e09a8d1ed89
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-27 15:48 dcatkin6364 New Issue