1 |
Hi all, |
2 |
|
3 |
I am trying to bury bug http://bugs.gentoo.org/show_bug.cgi?id=42929 |
4 |
|
5 |
If you run prelink and change /sbin/init then you have to run "init u" |
6 |
otherwise you cannot unmount the root filesystem as the kernel has a |
7 |
stray mmap memory segment relating to the old /sbin/int executable. |
8 |
|
9 |
"init u" re-executes the binary getting rid of the old mmap. |
10 |
|
11 |
Now the old solution I can think of is a quick hack in the main() |
12 |
function of the prelink executable to run this command automatically if |
13 |
/sbin/init is changed. This can be disabled with a command line switch. |
14 |
|
15 |
Any comments, if no other solutions I will implement it, |
16 |
|
17 |
Stefan |
18 |
|
19 |
|
20 |
-- |
21 |
gentoo-dev@g.o mailing list |