public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Prelink and init
@ 2004-09-09 17:00 Stefan Jones
  2004-09-09 17:22 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Jones @ 2004-09-09 17:00 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-09 18:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-09 17:00 [gentoo-dev] Prelink and init Stefan Jones
2004-09-09 17:22 ` Mike Frysinger
2004-09-09 17:40   ` Stefan Jones
2004-09-09 18:18     ` Stefan Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox