From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8866 invoked from network); 9 Sep 2004 17:00:30 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 9 Sep 2004 17:00:30 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C5SHd-0004Hn-E0 for arch-gentoo-dev@lists.gentoo.org; Thu, 09 Sep 2004 17:00:29 +0000 Received: (qmail 16225 invoked by uid 89); 9 Sep 2004 17:00:28 +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 8493 invoked from network); 9 Sep 2004 17:00:27 +0000 From: Stefan Jones To: gentoo-dev@lists.gentoo.org Content-Type: text/plain Message-Id: <1094749243.7716.5.camel@saj.multigig> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 09 Sep 2004 10:00:43 -0700 Content-Transfer-Encoding: 7bit X-Scanned-By: AMaViS-ng at churchillrandoms.co.uk Subject: [gentoo-dev] Prelink and init X-Archives-Salt: 63c9c129-e372-4ce5-a9cb-dbee62d744ce X-Archives-Hash: 4457008001701ae08694e9966f3d5832 Hi all, I am trying to bury bug http://bugs.gentoo.org/show_bug.cgi?id=42929 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. Now the old solution I can think of is a quick hack in the main() function of the prelink executable to run this command automatically if /sbin/init is changed. This can be disabled with a command line switch. Any comments, if no other solutions I will implement it, Stefan -- gentoo-dev@gentoo.org mailing list