Should a package restart on upgrade itself
freebsd at grem.de
Tue Jun 27 19:09:00 UTC 2017
> On 27. Jun 2017, at 20:11, Matthias Fechner <idefix at fechner.net> wrote:
>> Am 27.06.2017 um 18:50 schrieb Vlad K.:
>> Will this cover libraries as well? Eg. Libre/Open SSL upgrades,
>> restart all services that depend on it?
>> Meanwhile, there's "lsop":
> thanks for this tool, that is indeed very helpful.
> Maybe it is a good idea if pkg collects the information from each
> package what should be restarted if:
> HANDLE_RC_SCRIPTS = true;
> is set.
> In this case it is the responsibility of the package maintainer to mark which service should be started if it was upgraded.
> And then do a single bulk restart operation at the end of the complete upgrade.
As default behavior this is not good for admins - you really want to be able to control when a service restarts, especially when running many services, doing multiple updates etc.
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports