View Issue Details

IDProjectCategoryView StatusLast Update
0016030CentOS-7selinux-policypublic2019-04-23 22:11
Reporterranusau 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016030: SELinux is preventing /usr/sbin/squid from 'write' accesses on the directory squid2.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/squid from 'write' accesses on the directory squid2.

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

If you believe that squid should be allowed write access on the squid2 directory 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 'squid' --raw | audit2allow -M my-squid
# semodule -i my-squid.pp

Additional Information:
Source Context system_u:system_r:squid_t:s0
Target Context unconfined_u:object_r:var_spool_t:s0
Target Objects squid2 [ dir ]
Source squid
Source Path /usr/sbin/squid
Port <Unknown>
Host (removed)
Source RPM Packages squid-3.5.20-12.el7_6.1.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.10.1.el7.x86_64 #1 SMP
                              Mon Mar 18 15:06:45 UTC 2019 x86_64 x86_64
Alert Count 3
First Seen 2019-04-23 17:52:14 EDT
Last Seen 2019-04-23 17:52:48 EDT
Local ID 3a1b3697-9b21-4b92-bb7a-f139132accbf

Raw Audit Messages
type=AVC msg=audit(1556056368.898:191): avc: denied { write } for pid=11699 comm="squid" name="squid2" dev="dm-0" ino=16785466 scontext=system_u:system_r:squid_t:s0 tcontext=unconfined_u:object_r:var_spool_t:s0 tclass=dir permissive=0


type=SYSCALL msg=audit(1556056368.898:191): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=55b63d6e1ea0 a1=1ed a2=ffffffffffffff30 a3=5cbf8930 items=0 ppid=11693 pid=11699 auid=4294967295 uid=23 gid=23 euid=23 suid=0 fsuid=23 egid=23 sgid=23 fsgid=23 tty=(none) ses=4294967295 comm=squid exe=/usr/sbin/squid subj=system_u:system_r:squid_t:s0 key=(null)

Hash: squid,squid_t,var_spool_t,dir,write

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

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-04-23 22:11 ranusau New Issue