Bug 611028 - SELinux is preventing /usr/sbin/httpd "unlink" access on zms-107019w.sock.
Summary: SELinux is preventing /usr/sbin/httpd "unlink" access on zms-107019w.sock.
Keywords:
Status: CLOSED DUPLICATE of bug 611016
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c013d94a25e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-03 06:34 UTC by Bart Kus
Modified: 2010-07-04 21:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-04 21:39:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bart Kus 2010-07-03 06:34:14 UTC
Summary:

SELinux is preventing /usr/sbin/httpd "unlink" access on zms-107019w.sock.  Happens when trying to view a video stream from the zoneminder web UI.


Detailed Description:

SELinux denied access requested by httpd. It is not expected that this access is
required by httpd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:httpd_t:s0
Target Context                unconfined_u:object_r:tmp_t:s0
Target Objects                zms-107019w.sock [ sock_file ]
Source                        httpd
Source Path                   /usr/sbin/httpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           httpd-2.2.15-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-28.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.5-124.fc13.i686 #1 SMP
                              Fri Jun 11 09:48:40 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Fri 02 Jul 2010 11:31:23 PM PDT
Last Seen                     Fri 02 Jul 2010 11:31:33 PM PDT
Local ID                      f195f523-11e7-44d4-8223-8fc0ac79f728
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278138693.64:27446): avc:  denied  { unlink } for  pid=2916 comm="httpd" name="zms-107019w.sock" dev=dm-1 ino=61897 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=sock_file

node=(removed) type=SYSCALL msg=audit(1278138693.64:27446): arch=40000003 syscall=10 success=no exit=-13 a0=1fc35e0 a1=7c00006b a2=131ad1c a3=1fc35e0 items=0 ppid=2912 pid=2916 auid=500 uid=48 gid=488 euid=48 suid=48 fsuid=48 egid=488 sgid=488 fsgid=488 tty=(none) ses=1 comm="httpd" exe="/usr/sbin/httpd" subj=unconfined_u:system_r:httpd_t:s0 key=(null)



Hash String generated from  catchall,httpd,httpd_t,tmp_t,sock_file,unlink
audit2allow suggests:

#============= httpd_t ==============
allow httpd_t tmp_t:sock_file unlink;

Comment 1 Miroslav Grepl 2010-07-04 21:39:33 UTC

*** This bug has been marked as a duplicate of bug 611016 ***


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