1. SELinux shutdown of Linux
By default, SELinux contains the policy for DHCP, so close SELinux and restart the DHCP service to start it
method:
1) Temporary shutdown (no machine restart): setenforce 0 ## Set SELinux to permission mode ## Setenforce 1 sets SELinux to enforcing mode
2) To modify the configuration file, you need to restart the machine: modify the/etc/SELinux/config file, change SELinux = enforcing to SELinux = disabled, and restart the machine
2. By modifying dhcpd to root, the policy management of SELinux is bypassed
Reproduced in: https://blog.51cto.com/qiansi/1966572
Similar Posts:
- Solutions to start failed after dhcpd installation
- How to Solve Nginx Error 13: Permission denied) while connecting to upstream
- [Solved] Linux No access to the system error: Failed to load SELinux policy. Freezing
- ZABBIX server startup error resolution
- Centos Service Cannot Start: Failed to start Login Service Failed to start Install ABRT coredump hook
- 20190603 – CentOS 7 prompt failed to load SELinux policy. Freezing causes stuck solution
- Centos Dhcpd Error: No subnet declaration [How to Solve]
- MySQL Changes the configuration file (my.ini) Error [How to Solve]
- How to Solve Failed to load SELinux policy. Freezing Error (System Restart)
- Error openstack resource loading Exception (Two Errors to Solve]