pkg
pkg copied to clipboard
HANDLE_RC_SCRIPTS should handle reverse dependencies
When HANDLE_RC_SCRIPTS=true, pkg should restart services not only when the service package itself is upgraded but also when any package that lists the service package as a reverse dependency gets an upgrade.
Without it, this feature feels pretty useless - the admin still has to manually go and restart relevant services when there is a vulnerability in the underlying libraries like OpenSSL, or write their own wrapper using pkg query %rn
which is what I'm doing.