Should a package restart on upgrade itself

Matthias Fechner idefix at fechner.net
Tue Jun 27 18:12:06 UTC 2017


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.

Gruß
Matthias

-- 

"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



More information about the freebsd-ports mailing list