Bug 669200 - SELinux is preventing /usr/sbin/httpd from 'remove_name' accesses on the directory sess_2meh475kemfim65maf83cn8c00.
Summary: SELinux is preventing /usr/sbin/httpd from 'remove_name' accesses on the dire...
Keywords:
Status: CLOSED DUPLICATE of bug 669199
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fa229fe1626...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-12 21:06 UTC by Miguel Angelo Mello
Modified: 2011-09-25 16:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-12 21:46:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miguel Angelo Mello 2011-01-12 21:06:35 UTC
SELinux is preventing /usr/sbin/httpd from 'remove_name' accesses on the directory sess_2meh475kemfim65maf83cn8c00.

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

If you believe that httpd should be allowed remove_name access on the sess_2meh475kemfim65maf83cn8c00 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:
# grep /usr/sbin/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                unconfined_u:object_r:user_home_t:s0
Target Objects                sess_2meh475kemfim65maf83cn8c00 [ dir ]
Source                        httpd
Source Path                   /usr/sbin/httpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           httpd-2.2.17-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-19.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23
                              16:04:50 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 12 Jan 2011 06:54:25 PM BRST
Last Seen                     Wed 12 Jan 2011 06:54:25 PM BRST
Local ID                      2b377b97-4c5a-476e-992c-966b9b5ba1cc

Raw Audit Messages
type=AVC msg=audit(1294865665.909:52): avc:  denied  { remove_name } for  pid=1594 comm="httpd" name="sess_2meh475kemfim65maf83cn8c00" dev=sda5 ino=10490084 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir

httpd,httpd_t,user_home_t,dir,remove_name
type=AVC msg=audit(1294865665.909:52): avc:  denied  { unlink } for  pid=1594 comm="httpd" name="sess_2meh475kemfim65maf83cn8c00" dev=sda5 ino=10490084 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file

httpd,httpd_t,user_home_t,dir,remove_name
type=SYSCALL msg=audit(1294865665.909:52): arch=x86_64 syscall=unlink success=yes exit=0 a0=7fff79ed8980 a1=7f9f62f36942 a2=30306338 a3=6b35373468656d32 items=0 ppid=1562 pid=1594 auid=4294967295 uid=500 gid=48 euid=500 suid=500 fsuid=500 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null)
httpd,httpd_t,user_home_t,dir,remove_name

#============= httpd_t ==============
allow httpd_t user_home_t:dir remove_name;
allow httpd_t user_home_t:file unlink;

Comment 1 Daniel Walsh 2011-01-12 21:46:09 UTC

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


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