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 18:17:50
Message-Id: 1094753862.7716.12.camel@saj.multigig
In Reply to: Re: [gentoo-dev] Prelink and init by Stefan Jones
1 Well I did the quick hack. See prelink-20040707.ebuild and
2 prelink-20040707-init.patch
3
4 Any comments? Shall I unmask it?
5
6 Stefan
7
8 On Thu, 2004-09-09 at 10:40, Stefan Jones wrote:
9 > I do not think you can call "init u" or that it will not do anything if
10 > init is in the process of changing runlevels.
11 >
12 > I may be wrong, but that is why I discarded that solution.
13 >
14 > Stefan
15 >
16 > On Thu, 2004-09-09 at 10:22, Mike Frysinger wrote:
17 > > On Thursday 09 September 2004 01:00 pm, Stefan Jones wrote:
18 > > > If you run prelink and change /sbin/init then you have to run "init u"
19 > > > otherwise you cannot unmount the root filesystem as the kernel has a
20 > > > stray mmap memory segment relating to the old /sbin/int executable.
21 > > >
22 > > > "init u" re-executes the binary getting rid of the old mmap.
23 > >
24 > > what about we add this to the init scripts ?
25 > > if the remount fails, try running `init u` and then umounting again ?
26 > > -mike
27 > >
28 > > --
29 > > gentoo-dev@g.o mailing list
30 >
31 >
32 > --
33 > gentoo-dev@g.o mailing list
34
35
36 --
37 gentoo-dev@g.o mailing list