1 最后由 rain6966 (2018-05-15 09:59:24) 编辑

主题: iredapd.service 的權限

CentOS7 :

May 14 18:45:43 mail systemd: Configuration file /opt/iredapd/rc_scripts/iredapd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
May 14 18:45:43 mail systemd: Configuration file /opt/iredapd/rc_scripts/iredapd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

# ll /opt/iredapd/rc_scripts

總計 20
-r-x------. 1 root root 2112  6月 28  2017 iredapd.debian
-r-x------. 1 root root 2095  6月 28  2017 iredapd.freebsd
-r-x------. 1 root root   96  6月 28  2017 iredapd.openbsd
-r-x------. 1 root root 1982  6月 28  2017 iredapd.rhel
-r-x------. 1 root root  292  6月 28  2017 iredapd.service

iRedMail 0.9.7
# ll /usr/lib/systemd/system/irqbalance.service

-rw-r--r-- 1 root root 209  4月 11 14:55 /usr/lib/systemd/system/irqbalance.service

iRedMail 0.9.8
ll /usr/lib/systemd/system/iredapd.service

lrwxrwxrwx. 1 root root 39  5月 14 18:45 /usr/lib/systemd/system/iredapd.service -> /opt/iredapd/rc_scripts/iredapd.service

當更改權限:
chmod 0644 /opt/iredapd/rc_scripts/iredapd.service
修正: 0444

上面異常消除.