pkg icon indicating copy to clipboard operation
pkg copied to clipboard

HANDLE_RC_SCRIPTS should handle reverse dependencies

Open dsg22 opened this issue 4 years ago • 0 comments

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.

dsg22 avatar Jul 08 '20 14:07 dsg22