Bug 857682 - SELinux is preventing /usr/sbin/squid from using the 'signal' accesses on a process.
Summary: SELinux is preventing /usr/sbin/squid from using the 'signal' accesses on a p...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b0a91f1eec1d2d5d18ac24970f5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-16 04:58 UTC by geminic86
Modified: 2012-09-17 08:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-17 08:10:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-16 04:58 UTC, geminic86
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-16 04:58 UTC, geminic86
no flags Details

Description geminic86 2012-09-16 04:58:10 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.3-1.fc17.i686.PAEdebug

description:
:SELinux is preventing /usr/sbin/squid from using the 'signal' accesses on a process.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that squid should be allowed signal access on processes labeled unconfined_t 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:
:# grep squid /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:squid_t:s0
:Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
:                              023
:Target Objects                 [ process ]
:Source                        squid
:Source Path                   /usr/sbin/squid
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           squid-3.2.0.16-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.3-1.fc17.i686.PAEdebug #1 SMP
:                              Wed Aug 29 18:43:49 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-09-16 00:54:43 EDT
:Last Seen                     2012-09-16 00:54:43 EDT
:Local ID                      9aab24d9-16a4-4957-ab92-56c21582dde0
:
:Raw Audit Messages
:type=AVC msg=audit(1347771283.963:2489): avc:  denied  { signal } for  pid=19614 comm="squid" scontext=system_u:system_r:squid_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process
:
:
:type=SYSCALL msg=audit(1347771283.963:2489): arch=i386 syscall=kill success=no exit=EACCES a0=4c6a a1=f a2=b7783674 a3=b77846d0 items=0 ppid=1 pid=19614 auid=4294967295 uid=0 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,unconfined_t,process,signal
:
:audit2allow
:
:#============= squid_t ==============
:allow squid_t unconfined_t:process signal;
:
:audit2allow -R
:
:#============= squid_t ==============
:allow squid_t unconfined_t:process signal;
:

Comment 1 geminic86 2012-09-16 04:58:12 UTC
Created attachment 613373 [details]
File: type

Comment 2 geminic86 2012-09-16 04:58:14 UTC
Created attachment 613374 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-09-17 08:10:00 UTC
Did you run squid directly? If looks so and I believe you won't see this AVC msgs the next time.

What does

# ps -eZ |grep squid


Note You need to log in before you can comment on or make changes to this bug.