diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-24 16:41:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-27 12:20:36 +0100 |
commit | a06a47af305d44212c3aa1fb936cfdfe22848d20 (patch) | |
tree | d529aa3a4b059046ff5012be8d3ef81cf8202fc1 /scripts/lib/devtool/standard.py | |
parent | 3e2ab10159afd5b65e1120f25a7c347ad80f5227 (diff) | |
download | poky-a06a47af305d44212c3aa1fb936cfdfe22848d20.tar.gz |
sysklogd: Fix init script races
In testing we're seeing sysklogd fail to restart klogd since the original
process hasn't stopped before the new one is started. This means a restart
can result in no process running which is clearly not desireable.
Add extra code to ensure this works correctly. Busybox start-stop-daemon
seems particularly open to this kind of issue, the dpkg version maybe
less so if timeout options are used (which we don't use).
(From OE-Core rev: dc1fcb61f7d89cd066ace2edc143e7a2d329e033)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions