Gentoo Archives: gentoo-dev

From: Stefan Jones <cretin@g.o>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Prelink and init
Date: Thu, 09 Sep 2004 17:40:02
Message-Id: 1094751595.7716.10.camel@saj.multigig
In Reply to: Re: [gentoo-dev] Prelink and init by Mike Frysinger
1 I do not think you can call "init u" or that it will not do anything if
2 init is in the process of changing runlevels.
3
4 I may be wrong, but that is why I discarded that solution.
5
6 Stefan
7
8 On Thu, 2004-09-09 at 10:22, Mike Frysinger wrote:
9 > On Thursday 09 September 2004 01:00 pm, Stefan Jones wrote:
10 > > If you run prelink and change /sbin/init then you have to run "init u"
11 > > otherwise you cannot unmount the root filesystem as the kernel has a
12 > > stray mmap memory segment relating to the old /sbin/int executable.
13 > >
14 > > "init u" re-executes the binary getting rid of the old mmap.
15 >
16 > what about we add this to the init scripts ?
17 > if the remount fails, try running `init u` and then umounting again ?
18 > -mike
19 >
20 > --
21 > gentoo-dev@g.o mailing list
22
23
24 --
25 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Prelink and init Stefan Jones <cretin@g.o>