diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-03-05 09:33:52 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-03-16 22:21:45 +0100 |
commit | 52e6fb13692986c76fd32159fb9fc82d712a5c3f (patch) | |
tree | 2f5de8b7e2fa74a19c19a292058b657645f8b4b8 /package/devel | |
parent | 3db9b83f160724a489993e1095e346bbad041796 (diff) | |
download | upstream-52e6fb13692986c76fd32159fb9fc82d712a5c3f.tar.gz upstream-52e6fb13692986c76fd32159fb9fc82d712a5c3f.tar.bz2 upstream-52e6fb13692986c76fd32159fb9fc82d712a5c3f.zip |
rpcd: fix respawn settings
Commit 432ec292ccc8 ("rpcd: add respawn param") has introduced infinite
restarting of the service which could be reached over network. This is
not recommended security practice as it might give potential adversary
infinite number of tries in case there might be some issue in the rpcd
or its surrounding stack.
So lets remove the currently bogus `respawn_retry` variable (it wasn't
possible to override it anyway), reverting to the previous default max.
of 5 service restarts which could be now overriden via system's UCI
settings if desired.
Cc: Jo-Philip Wich <jow@mein.io>
Cc: Florian Eckert <fe@dev.tdt.de>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Fixes: 432ec292ccc8 ("rpcd: add respawn param")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/devel')
0 files changed, 0 insertions, 0 deletions