#
3da879ef |
| 26-Jan-2023 |
Andrew Geissler <geissonator@yahoo.com> |
update service file deps in accordance with recent refactoring
As noted in the following mailing list thread: https://lists.ozlabs.org/pipermail/openbmc/2022-November/032457.html
and implemented vi
update service file deps in accordance with recent refactoring
As noted in the following mailing list thread: https://lists.ozlabs.org/pipermail/openbmc/2022-November/032457.html
and implemented via this series of commits: https://gerrit.openbmc.org/q/topic:op-power-control-ref
Some systemd services had their names changed. Update the service files in this repo to reflect this.
Change-Id: I2121c63ba18222bbd1dfb37a2484d789950a160a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
bdca4938 |
| 15-Jan-2021 |
Andrew Geissler <geissonator@yahoo.com> |
fix pseq-monitor and chassis power off race cond Downstream testing recently found an issue where chassis power would be removed before the pseq-monitor had stopped. This caused the
fix pseq-monitor and chassis power off race cond Downstream testing recently found an issue where chassis power would be removed before the pseq-monitor had stopped. This caused the pseq-monitor to log errors. Reviewing the systemd Conflicts documentation out at https://www.freedesktop.org/software/systemd/man/systemd.unit.html highlights some special caveats with the Conflicts statement. Mainly that ordering is not guaranteed without an After or Before clause. Testing also showed that when it comes to a service vs. target conflicts, the most systemd will do is guarantee the conflicting service is stopped before the target completes. Give the above constraints, move the pseq-monitor Conflicts to the obmc-power-stop-pre@.target and add an After clause. The obmc-power-stop-pre@.target is the target which runs prior to power being removed from the chassis. Tested: - Verified pseq monitor services consistently stop before the power is removed from the chassis. Change-Id: Ic73efc6281c3c422e0b483d4c24cb92228fd5875 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|