Description of problem: Happens during login in the web interface of cobbler SELinux is preventing /usr/sbin/httpd from 'rename' accesses on the file sessionidc075d0b4ce9f36444b2ba81e2c3d695c_out_2aUHY8. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that httpd should be allowed rename access on the sessionidc075d0b4ce9f36444b2ba81e2c3d695c_out_2aUHY8 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 /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 system_u:object_r:cobbler_var_lib_t:s0 Target Objects sessionidc075d0b4ce9f36444b2ba81e2c3d695c_out_2aUH Y8 [ file ] Source /usr/sbin/httpd Source Path /usr/sbin/httpd Port <Unknown> Host (removed) Source RPM Packages httpd-2.4.4-2.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-87.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.6-203.fc18.x86_64 #1 SMP Tue Apr 9 19:33:01 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-04-14 18:12:02 CEST Last Seen 2013-04-14 18:12:02 CEST Local ID 8c3d4b18-afb3-4b74-8fed-bab0c01a3eac Raw Audit Messages type=AVC msg=audit(1365955922.714:396): avc: denied { rename } for pid=2385 comm="/usr/sbin/httpd" name="sessionidc075d0b4ce9f36444b2ba81e2c3d695c_out_2aUHY8" dev="dm-1" ino=666754 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:cobbler_var_lib_t:s0 tclass=file type=SYSCALL msg=audit(1365955922.714:396): arch=x86_64 syscall=rename success=no exit=EACCES a0=7f1fe8476f30 a1=7f1fe7495eb0 a2=7f1fd45cca08 a3=3436336639656334 items=0 ppid=1306 pid=2385 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 ses=4294967295 tty=(none) comm=/usr/sbin/httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) Hash: /usr/sbin/httpd,httpd_t,cobbler_var_lib_t,file,rename audit2allow #============= httpd_t ============== #!!!! This avc is allowed in the current policy allow httpd_t cobbler_var_lib_t:file rename; audit2allow -R require { type httpd_t; } #============= httpd_t ============== cobbler_manage_lib_files(httpd_t) Additional info: hashmarkername: setroubleshoot kernel: 3.8.6-203.fc18.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 951948 ***