On Sun, 28 Nov 2010 13:48:54 +0300
denisgolovan <[email protected]> wrote:
> Quite often I need to upgrade some servers under Gentoo and this task
> is always here. Basically after some "heavy" upgrade with lots of
> packages involved, I need to find out which processes/daemons still
> use old libraries to restart them.
> 
> I found a following script, but I am unsure it is a right approach.
> $ lsof | grep 'DEL.*lib' | cut -f 1 -d ' ' | sort -u
> 
> Maybe it's worth creating a script somewhere
> in /usr/share/paludis/*/demos, which would be officially supported by
> paludis/cave? I feel I am not the first who need something like this.

Wouldn't this be more appropriately done at the EAPI level? Have
ebuilds export that information, rather than using an unreliable query?

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to