Hi everyone,
After updating libraries, I always run something like
lsof -x / | grep DEL
to see if any running binaries are linking to old libraries that were
just updated and then I manually restart them. This is particularly
important if the update addresses some security issue in the library.
Debian and its derivatives take the drastic step of restarting the
daemons for you, which is, in my opinion, undesirable. I'd like to be
in control of when I upgrade and when I restart my daemons.
OpenSuse has a nice solution. After an upgrade, it tells you that there
are some running binaries still linking against the old libraries and
asks you to run "zypper ps" to see them in a pretty format. You can
then restart at your discretion.
I'm wondering if we should add something like that? Something to be run
post_inst() and just ewarn the user. It could be a small eclass on its
own that maintainers can elect to inherit and use in ebuilds for daemons.
What do you think? If its a good idea, is implementing it in an eclass
the way to go?
--
Anthony G. Basile, Ph. D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
(716) 829-8197