Mailing List Archive


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

Re: [tlug] Chasing the GHOST in my machine



On 01/30/2015 05:51 PM, Attila Kinali wrote:
On Fri, 30 Jan 2015 14:13:48 +0800
Raymond Wan <rwan.kyoto@example.com> wrote:

My problem is that I administer servers that I rarely have a chance to
reboot -- about once a year.  People are running processes that can
run for weeks or months at a time.  A proposal to reboot is usually
met with groans.  :-)  Does anyone know, under Ubuntu and using
aptitude or apt-get, how I can update only those packages that do not
require a reboot?  Or if it's bad to upgrade everything and ignore the
suggestion to reboot for weeks or months?

You can use
lsof +c 0 | awk '/libc-/ && /DEL/ { print $1 }' | sort -u
to find out which processes use an old libc and then restart those
individually.

How do you do it for statically linked executables ;)

Edward



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links