From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1520 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not collecting zombies Date: Thu, 13 Sep 2007 17:51:52 +0300 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20070913145152.GB1542@home.power> References: <47939.::ffff:77.75.72.5.1189601606.squirrel@mail.podgorny.cz> <20070912143557.GC12043@home.power> <20070912150047.GD12043@home.power> <35517.::ffff:77.75.72.5.1189613042.squirrel@mail.podgorny.cz> <20070912170450.GE12043@home.power> <50411.::ffff:77.75.72.5.1189673890.squirrel@mail.podgorny.cz> <20070913105731.GL12043@home.power> <51910.::ffff:77.75.72.5.1189693860.squirrel@mail.podgorny.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189695658 1757 80.91.229.12 (13 Sep 2007 15:00:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 15:00:58 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1755-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 13 17:00:52 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1IVq2s-0005Sq-8B for gcsg-supervision@gmane.org; Thu, 13 Sep 2007 16:51:54 +0200 Original-Received: (qmail 13542 invoked by uid 76); 13 Sep 2007 14:52:15 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 13536 invoked from network); 13 Sep 2007 14:52:15 -0000 Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <51910.::ffff:77.75.72.5.1189693860.squirrel@mail.podgorny.cz> User-Agent: Mutt/1.5.16 (2007-06-09) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1520 Archived-At: Hi! On Thu, Sep 13, 2007 at 04:31:00PM +0200, Radek Podgorny wrote: > > Important question: do you recompile overall system after upgrading any of > > toolchain packages (linux-headers/glibc/gcc/binutils)? I see you're using > > newer gcc (4.x.x), but do you recompiled everything with it? > > No I don't. I just upgrade the compiler and as the packages are to be > upgraded, the new compiler is used. So the system is compiled with > different versions. Do you recompile the entire system? Of course. Every time one of toolchain packages upgrades I'll do this: # To be able to safely use `emerge -k` we should clean directory with # current binary packages (e.g. move it to /tmp/portage-packages): pkgdir=$(portageq pkgdir) mv $pkgdir /tmp/portage-packages install -d -o portage -g portage $pkgdir # First compilation of toolchain: emerge linux-headers glibc binutils gcc-config gcc # if newer gcc was installed in separate SLOT, then choose it now: gcc-config NAME_OF_NUMBER_OF_NEW_GCC # look `gcc-config -l` source /etc/profile emerge -1 libtool # Second compilation of toolchain with creation of binary packages: emerge -b glibc binutils gcc portage # Rebuild 'system', toolchain will be quickly unpacked from binary packages: emerge -bke system # Rebuild 'world', all 'system' packages will be unpacked from binary packages: emerge -ke world This take some time (about 5-6 hours on my current servers), but ensure all changes in toolchain will affect overall system. P.S. It may seen like overkill, but it's only known 100% __safe__ way to upgrade toolchain. -- WBR, Alex.