diff options
author | André Draszik <adraszik@tycoint.com> | 2017-11-01 11:16:32 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-06 12:18:24 -0800 |
commit | 9cb0957711a898b091ba720882d98e161af31255 (patch) | |
tree | 3965845f294a95d28dfa60ed8036ced37312b035 /recipes-security/checksecurity/files/setuid-log-folder.patch | |
parent | ebed429d201db47cdb9c18694c9d40ebe34be05b (diff) | |
download | meta-security-9cb0957711a898b091ba720882d98e161af31255.tar.gz |
trousers: make initscript more reliable
The combination of using start-stop-daemon and pidof is
not working reliably in all cases. Sometimes, the
tcsd daemon isn't running yet at the time pidof is being
invoked.
This results in an empty /var/run/tcsd.pid, making it
impossible to stop tcsd using the init script.
To solve this, one could either add a delay before calling
pidof, or alternatively use start-stop-daemon's built-in
functionality to achieve the same.
Let's do the latter.
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/checksecurity/files/setuid-log-folder.patch')
0 files changed, 0 insertions, 0 deletions