summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm/trousers/trousers_git.bb
diff options
context:
space:
mode:
authorAndré Draszik <adraszik@tycoint.com>2017-11-01 11:16:32 +0000
committerArmin Kuster <akuster808@gmail.com>2017-11-06 12:17:42 -0800
commitfc75466e0b5025c3313b003429ae14c585ef8bfb (patch)
treed6957b177a541bbdcb487794355fecbe648f260f /meta-tpm/recipes-tpm/trousers/trousers_git.bb
parentde48d57a7f22cd5129279e977fd0d871c81e818f (diff)
downloadmeta-security-fc75466e0b5025c3313b003429ae14c585ef8bfb.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 'meta-tpm/recipes-tpm/trousers/trousers_git.bb')
0 files changed, 0 insertions, 0 deletions