[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checking what running program are using old libraries



On Thu, Mar 18, 2004 at 10:34:36AM +0000, Ronny Adsetts wrote:
> Stefan Neufeind was heard to utter, at roughly 18/03/04 10:24:
> 
> >On 18 Mar 2004 at 10:03, Ronny Adsetts wrote:
> >
> >>Whilst doing security upgrades this morning for openssl, it occurred to
> >> me that lots of software that uses the openssl libraries will not 
> >>automatically get restarted and will therefore still be running with 
> >>old libraries and therefore be vulnerable. I usually do this by hand 
> >>for the most obvious programs, but that can often get overlooked or 
> >>things get missed.
> >>
> >Try using command "lsof". Will show you the open files, by which program 
> >they are opened and if there status is "deleted" (replaced library). 
> >Should help you in this case ...
> 
> Excellent, thanks. Knew there was a real easy way to do this! Now to knock 
> up a script that uses this information to restart the correct app.

Such a script exists in testing

package: debian-goodies
filename: /usr/bin/checkrestart


Regards
Jan



Reply to: