systemd でサービスに Type=Notify 設定および NotifyAccess=All 設定を使用すると、別のサービスによって突然シャットダウンする
Issue
-
systemd でサービスに
Type=Notify
設定およびNotifyAccess=All
設定を定義すると、同じように設定した別のサービスによって突然シャットダウンします。 -
systemd でサービスに
Type=Notify
設定およびNotifyAccess=All
設定を使用しないように定義すると、ジャーナルに以下のいずれかのメッセージが出力される可能性があります (ただし、その他には何も起こりません)。Got notification message from PID xxx, but reception is disabled. Got notification message from PID xxx, but reception only permitted for main PID Got notification message from PID xxx, but reception only permitted for main PID which is currently not known
Environment
- Red Hat Enterprise Linux (RHEL) 7 , 8.0 や 8.1
- systemd
- システムに空き PID がない
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.