public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stefan Jones <cretin@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Prelink and init
Date: Thu, 09 Sep 2004 10:00:43 -0700	[thread overview]
Message-ID: <1094749243.7716.5.camel@saj.multigig> (raw)

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


             reply	other threads:[~2004-09-09 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 17:00 Stefan Jones [this message]
2004-09-09 17:22 ` [gentoo-dev] Prelink and init Mike Frysinger
2004-09-09 17:40   ` Stefan Jones
2004-09-09 18:18     ` Stefan Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1094749243.7716.5.camel@saj.multigig \
    --to=cretin@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox