commit 559b79b72eb4f1bd70c6d24749f5cad3b946b36c
Author: Andy Ning <email address hidden>
Date: Fri Jun 16 09:06:33 2023 -0400
Add sssd systemd service file override
sssd is monitored by pmon. But currently the Restart option in its
systemd service file is set to on-failure. This sometimes causes
systemd and pmon to fight to restart the service when it fails. All
processes monitored by pmon should have Restart set to "no".
This change added a systemd override file to set Restart to "no" for
sssd service.
Test Plan:
PASS: Standard system deployment.
PASS: Check sssd Restart option using "systemctl cat sssd", verify
Restart option is set to "no", as following:
# /etc/systemd/system/sssd.service.d/sssd-stx-override.conf
[Service]
# pmond monitors sssd service Restart=no
PASS: Kill sssd process, verify pmon restart it successfully by
tailing pmon.log, and verify sssd is running by "systemctl
status sssd" command.
Closes-Bug: 2023421
Signed-off-by: Andy Ning <email address hidden>
Change-Id: I84521caf3745122492afe9ef4a251e42129b29b0
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/886257 /opendev. org/starlingx/ stx-puppet/ commit/ 559b79b72eb4f1b d70c6d24749f5ca d3b946b36c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 559b79b72eb4f1b d70c6d24749f5ca d3b946b36c
Author: Andy Ning <email address hidden>
Date: Fri Jun 16 09:06:33 2023 -0400
Add sssd systemd service file override
sssd is monitored by pmon. But currently the Restart option in its
systemd service file is set to on-failure. This sometimes causes
systemd and pmon to fight to restart the service when it fails. All
processes monitored by pmon should have Restart set to "no".
This change added a systemd override file to set Restart to "no" for
sssd service.
Test Plan:
PASS: Standard system deployment.
PASS: Check sssd Restart option using "systemctl cat sssd", verify
Restart option is set to "no", as following:
# /etc/systemd/ system/ sssd.service. d/sssd- stx-override. conf
Restart= no
[Service]
# pmond monitors sssd service
PASS: Kill sssd process, verify pmon restart it successfully by
tailing pmon.log, and verify sssd is running by "systemctl
status sssd" command.
Closes-Bug: 2023421 2492afe9ef4a251 e42129b29b0
Signed-off-by: Andy Ning <email address hidden>
Change-Id: I84521caf374512