Closed troglobit closed 6 years ago
First stage committed in aa7bdfe, probably also remove --long-options.
May I know the reason for this change? I mean, for example, wasn't it easier to just read the routes with a "pimd -r" ? This way we have to run the program in foreground or watch syslog messages. Thanks
Race conditions and poor design, are the main reasons.
The intention is to add a pimctl
tool to interact with a running pimd
, similar to how other daemons work.
You can still use signals and look for the status file, which is what pimd -r
wrapping anyway.
Hidden feature request for privilege separation moved to separate issue, #115
Since pimd 3.0 will not be fully backwards compatible (see #93), this is a good time to simplify and streamline the command line options. A user which does not read the ChangeLog and notices the change in major number on upgrade, may actually read it if the old options no longer work.
Proposed new usage: