Weblog entry #50 for simonw

Debian must reboot for this change to take effect
Posted by simonw on Fri 21 Apr 2006 at 13:12
Tags: none.
Noted today that the 3.1r2 update wasn't in use by Postfix today.

"postfix check" reported that the chroot copies of various "libnss" libraries were stale. This is readily fixed with "/etc/init.d/postfix restart" (Thanks to Lamont Jones and his excellent packaging of Postfix, which updates the chroot automatically on a restart of Postfix).

However these libraries are in "libc6", and it occurs to me that after updating "libc6", I'm not entirely clear what else might need restarting to ensure it is utilising the latest version of various updates.

My programming days are mostly behind me, but I assume pretty much all running processes depend on libc.so.6, and will thus need restarting. "ldd /sbin/init" - suggests that for a thorough application of the patches, a reboot is mandatory.

Although I'll settle for restarting all Internet exposed services for the moment. We have enough power related outages planned to avoid truely impressive uptimes occurring any time soon.

Or did I misunderstand something basic?

 

Comments on this Entry

Posted by Anonymous (213.164.xx.xx) on Fri 21 Apr 2006 at 14:05
Shh! You're not meant to tell people this :)

[ Parent | Reply to this comment ]

Posted by Steve (212.20.xx.xx) on Fri 21 Apr 2006 at 14:07
[ Send Message | View Steve's Scratchpad | View Weblogs ]

No, you're not missing anything basic.

I remember several previous libc upgrades where the package installation expressly asked for permission to restart certain services, and then did so.

I'd guess whether a restart is required depends on the nature of the libc6 changes involved in any given upgrade.

Steve

[ Parent | Reply to this comment ]

Posted by niol (143.196.xx.xx) on Mon 24 Apr 2006 at 10:26
[ Send Message | View Weblogs ]

There is the checkrestart script located in the debian-goodies Debian package.

It seems to use ld to see which processes are using old versions of updated libraries.

I have been using this bash alias for a few months now and it behaves very well :

alias updatedistro='su -c "apt-get update && aptitude --with-recommends upgrade && apt-get clean && checkrestart"'

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Mail Filtering

Quick Site Search