Bug 682417 - SELinux is preventing /usr/sbin/httpd from 'open' accesses on the file psched.
Summary: SELinux is preventing /usr/sbin/httpd from 'open' accesses on the file psched.
Keywords:
Status: CLOSED DUPLICATE of bug 666986
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1d7106005da...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-05 10:30 UTC by xr_ma
Modified: 2011-03-07 10:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-07 10:34:08 UTC
Type: ---


Attachments (Terms of Use)

Description xr_ma 2011-03-05 10:30:00 UTC
SELinux is preventing /usr/sbin/httpd from 'open' accesses on the file psched.

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

If you believe that httpd should be allowed open access on the psched 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:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:httpd_t:s0
Target Context                system_u:object_r:proc_net_t:s0
Target Objects                psched [ file ]
Source                        httpd
Source Path                   /usr/sbin/httpd
Port                          <未知>
Host                          (removed)
Source RPM Packages           httpd-2.2.17-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-31.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux localhost.localdomain
                              2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44
                              UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    2011年03月05日 星期六 18时13分02秒
Last Seen                     2011年03月05日 星期六 18时13分02秒
Local ID                      093ac69c-bfc6-4714-8eec-626fb314d8df

Raw Audit Messages
type=AVC msg=audit(1299319982.871:43): avc:  denied  { open } for  pid=1933 comm="httpd" name="psched" dev=proc ino=4026531970 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file


type=SYSCALL msg=audit(1299319982.871:43): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffca439800 a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=1933 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null)

Hash: httpd,httpd_t,proc_net_t,file,open

audit2allow

#============= httpd_t ==============
allow httpd_t proc_net_t:file open;

audit2allow -R

#============= httpd_t ==============
allow httpd_t proc_net_t:file open;

Comment 1 Miroslav Grepl 2011-03-07 10:34:08 UTC

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


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