From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13295 invoked from network); 9 Sep 2004 17:40:02 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 9 Sep 2004 17:40:02 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C5Stt-0003jQ-RR for arch-gentoo-dev@lists.gentoo.org; Thu, 09 Sep 2004 17:40:01 +0000 Received: (qmail 30011 invoked by uid 89); 9 Sep 2004 17:39:55 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18476 invoked from network); 9 Sep 2004 17:39:54 +0000 From: Stefan Jones To: Mike Frysinger Cc: gentoo-dev@lists.gentoo.org In-Reply-To: <200409091322.50860.vapier@gentoo.org> References: <1094749243.7716.5.camel@saj.multigig> <200409091322.50860.vapier@gentoo.org> Content-Type: text/plain Message-Id: <1094751595.7716.10.camel@saj.multigig> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 09 Sep 2004 10:40:09 -0700 Content-Transfer-Encoding: 7bit X-Scanned-By: AMaViS-ng at churchillrandoms.co.uk Subject: Re: [gentoo-dev] Prelink and init X-Archives-Salt: 670cd582-1d29-4839-b620-7602450a58af X-Archives-Hash: e4f0eb2249f978159be8a828ab78fb8a I do not think you can call "init u" or that it will not do anything if init is in the process of changing runlevels. I may be wrong, but that is why I discarded that solution. Stefan On Thu, 2004-09-09 at 10:22, Mike Frysinger wrote: > On Thursday 09 September 2004 01:00 pm, Stefan Jones wrote: > > If you run prelink and change /sbin/init then you have to run "init u" > > otherwise you cannot unmount the root filesystem as the kernel has a > > stray mmap memory segment relating to the old /sbin/int executable. > > > > "init u" re-executes the binary getting rid of the old mmap. > > what about we add this to the init scripts ? > if the remount fails, try running `init u` and then umounting again ? > -mike > > -- > gentoo-dev@gentoo.org mailing list -- gentoo-dev@gentoo.org mailing list