配置:
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
状态
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: disabled
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
ls -ld /etc/quagga
drwxrwxrwx. 2 quagga quagga 70 Nov 26 15:19 /etc/quagga
cuagga 无法在 /etc/quagga/ 中写入配置文件
收到错误:
Can't open configuration file /etc/quagga/zebra.conf.7ImXJy
禁用 selinux 并创建目录 777
答案1
尝试检查 quagga 组是否存在,如果存在则检查 quagga 用户是否属于 quagga 组