OBD环境初始化不彻底咨询

obc对系统参数初始化成功,但是检查输出2个警告

[admin@localhost ~]$ obd host precheck admin 192.168.40.110 -p admin
get system config ok
[WARN] SELinux is not in a disabled state.
[WARN] The net-tools package is not installed.
No need to change system parameters
please run: `yum install net-tools` or `sudo apt install net-tools`
Please run `obd host init admin 192.168.40.110 -p '******'` to init host.
Trace ID: 81342fae-8c98-11f0-9f97-000c29e13c26
If you want to view detailed obd logs, please run: obd display-trace 81342fae-8c98-11f0-9f97-000c29e13c26
[admin@localhost ~]$ obd host init admin 192.168.40.110 -p admin
get system config ok
No need to change system parameters
disabling selinux ok
Trace ID: b3b7b626-8c98-11f0-b098-000c29e13c26
If you want to view detailed obd logs, please run: obd display-trace b3b7b626-8c98-11f0-b098-000c29e13c26
[admin@localhost ~]$ obd host precheck admin 192.168.40.110 -p admin
get system config ok
[WARN] SELinux is not in a disabled state.
[WARN] The net-tools package is not installed.
No need to change system parameters
please run: `yum install net-tools` or `sudo apt install net-tools`
Please run `obd host init admin 192.168.40.110 -p '******'` to init host.
Trace ID: bde78cc0-8c98-11f0-bfac-000c29e13c26
If you want to view detailed obd logs, please run: obd display-trace bde78cc0-8c98-11f0-bfac-000c29e13c26

This file controls the state of SELinux on the system.

SELINUX= can take one of these three values:

enforcing - SELinux security policy is enforced.

permissive - SELinux prints warnings instead of enforcing.

disabled - No SELinux policy is loaded.

SELINUX=disabled

SELINUXTYPE= can take one of three values:

targeted - Targeted processes are protected,

minimum - Modification of targeted policy. Only selected processes are protected.

mls - Multi Level Security protection.

SELINUXTYPE=targeted

检查下面的文件发现,已经是禁用状态,不晓得为啥会出现告警
[root@localhost ~]# cat /etc/selinux/config

This file controls the state of SELinux on the system.

SELINUX= can take one of these three values:

enforcing - SELinux security policy is enforced.

permissive - SELinux prints warnings instead of enforcing.

disabled - No SELinux policy is loaded.

SELINUX=disabled

SELINUXTYPE= can take one of three values:

targeted - Targeted processes are protected,

minimum - Modification of targeted policy. Only selected processes are protected.

mls - Multi Level Security protection.

SELINUXTYPE=targeted

告警可忽略 不影响

1 个赞

嗯嗯好的