Hide Forgot
SELinux is preventing /usr/sbin/httpd from 'open' accesses on the directory at-spi2. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that httpd should be allowed open access on the at-spi2 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 httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: running drupal6 image import Source Context system_u:system_r:httpd_t:s0 Target Context system_u:object_r:xdm_tmp_t:s0 Target Objects at-spi2 [ dir ] Source httpd Source Path /usr/sbin/httpd Port <Unknown> Host (removed) Source RPM Packages httpd-2.2.21-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-48.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.40.6-0.fc15.x86_64 #1 SMP Tue Oct 4 00:39:50 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Mon 26 Dec 2011 10:30:25 PM EET Last Seen Mon 26 Dec 2011 10:30:25 PM EET Local ID 4c6ca710-672a-4a70-be3b-b843c100ca8e Raw Audit Messages type=AVC msg=audit(1324931425.437:112): avc: denied { open } for pid=2487 comm="httpd" name="at-spi2" dev=dm-1 ino=262192 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=dir type=SYSCALL msg=audit(1324931425.437:112): arch=x86_64 syscall=open success=no exit=EACCES a0=7f874598df20 a1=90800 a2=7f873759fbb5 a3=7fffe30fbf70 items=0 ppid=1288 pid=2487 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 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) Hash: httpd,httpd_t,xdm_tmp_t,dir,open audit2allow #============= httpd_t ============== allow httpd_t xdm_tmp_t:dir open; audit2allow -R #============= httpd_t ============== allow httpd_t xdm_tmp_t:dir open;
Why is apache trying to read at-spi2 directory?
*** Bug 784072 has been marked as a duplicate of this bug. ***