| commit | a0bb2a330f29f62c922a0293eaa8d6e89230668d | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Fri Sep 24 11:03:56 2021 +0800 |
| committer | Lei YU <yulei.sh@bytedance.com> | Thu Oct 14 11:34:42 2021 +0000 |
| tree | 2680dbb7a4137fc0c14b1e2b5e062c047237b77e | |
| parent | eba8e9a209a7cc5c7077d28a28f3f92018517496 [diff] |
sel-cache: Handle exception invalid entry ID
When the Logging service restarts, the match will get callbacks for all
objects, including /xyz/openbmc_project/logging/internal/manager which
is not a valid logging entry, and the stoul will throw.
Handle the exception properly so that ipmid does not crash on this
exception.
Tested: Manually restart xyz.openbmc_project.Logging.service and verify
ipmid does not crash, and `ipmitool sel list` works fine.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I12b665b6bcdbef4e6176ad2a7e376126fdce5939
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.