SELinux policy enabled; httpd running as context unconfined_u:system
来源:互联网 发布:数据挖掘异常检测方法 编辑:程序博客网 时间:2024/06/07 03:46
CentOS6.0 下默认开selinux时出现httpd 报“SELinux policy enabled; httpd running as context unconfined_u:system”的解决方案
安装audit2allow 参看http://wiki.eri.ucsb.edu/sysadm/SELinux
yum install policycoreutils-pythonTo allow httpd to use nfs dirs in CentOS-6
setsebool -P httpd_use_nfs 1setsebool -P httpd_enable_homedirs 1
文章来源: http://www.xinotes.org/notes/note/1156/
Open/var/log/httpd/error_log
, you may see a line like this:[Wed Apr 13 15:50:35 2011] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
These are the steps to fix:
- If the directory resides in a user home directory:
# setsebool -P httpd_read_user_content 1- Create a policy package from the audit log:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol******************** IMPORTANT ***********************To make this policy package active, execute:semodule -i mypol.pp- Apply the policy package just created
# semodule -i mypol.pp- Restart apache httpd:
# apachectl restart
- SELinux policy enabled; httpd running as context unconfined_u:system
- Running CMD.EXE as Local System
- selinux context
- SELinux policy enforcement
- AS:Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
- AS:Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
- AS:Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
- selinux与httpd
- [SELinux Policy]如何设置SELinux策略规则?
- NSA:Configuring the SELinux Policy
- failed to load selinux policy
- SELinux policy问题解决思路总结
- SELinux: 为binderservice编写policy
- SELinux policy问题解决思路总结
- selinux的context
- SELinux targeted policy relabel is required
- Init进程设置SELinux的Policy
- 如何快速验证 SELinux Policy 问题
- WinCE下自定义的大软键盘
- WinCE6.0下如何动态设置系统分辨率
- 大小端问题
- 最近的学习计划
- uva 401
- SELinux policy enabled; httpd running as context unconfined_u:system
- 使用sql server2005非常慢的解决方案
- JSF2.0与Spring3集成
- DNS域名服务 BIND (下)
- 用session实现购物车(含设计分析及源代码)part3
- C语言inline详细讲解
- 6.继承与面向对象设计
- [Android实例] android中的handler案例
- FTP~~URL对FTP的支持原因