I can't believe sentinels still re-write their own config in /etc.
There are so many issues with sentinels they really are still a hacked together afterthought just to try and tick off a few reliability boxes.
There are so many issues with sentinels they really are still a hacked together afterthought just to try and tick off a few reliability boxes.
I think that persisting the mutable state in the configuration file is a good thing, since actually in the Sentinel case, the initial configuration is the statement of a given state. As the state evolves it is reflected in the configuration.
The version of Sentinel provided with 2.8.7 also provides a full API that allows to change the configuration while the system is running, so you can automate everything without even having to touch the configuration file at all if you don't like it.