サービスが executable、world-writable または world-inaccessible とマークされている場合に警告を出す
Issue
systemd は、実行可能なビットを含むサービスファイルが見つかった場合、パーミッションが過度に寛大である場合、または他のユーザーがアクセスできない場合に警告を発します。
Jul 30 16:09:37 server01 systemd[1]: Configuration file /etc/systemd/system/custom-service.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Jul 30 16:09:37 server01 systemd[1]: Configuration file /etc/systemd/system/custom-service.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
Jul 30 16:09:37 server01 systemd[1]: Configuration file /etc/systemd/system/custom-service.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Environment
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.