当前位置: 技术问答>linux和unix
selinux问题
来源: 互联网 发布时间:2016-03-31
本文导语: 我的服务器程序启动后, 每秒在系统日志里就会打印下面这些消息( Jul 9 00:22:14 chagera setroubleshoot: SELinux is preventing the /sbin/ifconfig from using potentially mislabeled files (/tmp/bp_envstatus.T27311). For comp...
我的服务器程序启动后,
每秒在系统日志里就会打印下面这些消息(
Jul 9 00:22:14 chagera setroubleshoot: SELinux is preventing the /sbin/ifconfig from using potentially mislabeled files (/tmp/bp_envstatus.T27311). For complete SELinux messages. run sealert -l b5559926-eef3-4e17-b913-d0545ec5088e
>Jul 9 00:22:15 chagera setroubleshoot: SELinux is preventing the /sbin/ifconfig from using potentially mislabeled files (/tmp/bp_status.f27358). For complete SELinux messages. run sealert -l f2be3d85-f64a-44ca-b4ea-6bfa795cf924)
不知道是怎么回事,请大家帮忙
每秒在系统日志里就会打印下面这些消息(
Jul 9 00:22:14 chagera setroubleshoot: SELinux is preventing the /sbin/ifconfig from using potentially mislabeled files (/tmp/bp_envstatus.T27311). For complete SELinux messages. run sealert -l b5559926-eef3-4e17-b913-d0545ec5088e
>Jul 9 00:22:15 chagera setroubleshoot: SELinux is preventing the /sbin/ifconfig from using potentially mislabeled files (/tmp/bp_status.f27358). For complete SELinux messages. run sealert -l f2be3d85-f64a-44ca-b4ea-6bfa795cf924)
不知道是怎么回事,请大家帮忙
|
关闭selinux:
/etc/selinux/config
SELINUX=disabled SELINUXTYPE=targeted
/etc/selinux/config
SELINUX=disabled SELINUXTYPE=targeted