mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de>
To: Bernd Eckenfels <lists@lina.inka.de>
Cc: linux-kernel@vger.kernel.org, debian-devel@lists.debian.org
Subject: Re: the remount problem [2.4.0] kind of solved [patch]
Date: 22 Jan 2001 17:09:44 +0100	[thread overview]
Message-ID: <87vgr78t6f.fsf@mose.informatik.uni-tuebingen.de> (raw)
In-Reply-To: <20010121130745.A1383@lina.inka.de> <87snmcl31k.fsf@mose.informatik.uni-tuebingen.de> <20010122093234.A9194@lina.inka.de>
In-Reply-To: Bernd Eckenfels's message of "Mon, 22 Jan 2001 09:32:34 +0100"

>>>>> " " == Bernd Eckenfels <lists@lina.inka.de> writes:
    >> Why in hell are library open for write? But it doesn't seem to
    >> be only libraries:

     > They are not open for write. They are open for mmaped read. The
     > Problem with this is, that as long as the files are open, the
     > filesystem cannot remove them from disk. This means, that as
     > long as you have files open, even for read, which are deleted,
     > a remount ro will fail.

     > The new lsof will find those mmaped files, so you can simply
     > restart the associated binary.

Ah, I see. Forgot about that.

Maybe the kernel coud swap in the deleted libraries and keep it in
memory or real swap from then on instead of blocking the fs.

     > Yes, all daemons will get started with the old libs, since a
     > upgrade always happens after system start :) But not only
     > daemons. Think of Shells, getty, login, ...

So, when you update glibc, / can't be remounted ro any more?
Ugly.

MfG
        Goswin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-22 16:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-21 12:07 Bernd Eckenfels
2001-01-22  2:43 ` Goswin Brederlow
2001-01-22  8:32   ` Bernd Eckenfels
2001-01-22 16:09     ` Goswin Brederlow [this message]
2001-01-26 15:21       ` Wichert Akkerman
2001-01-27 20:40         ` Albert D. Cahalan

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=87vgr78t6f.fsf@mose.informatik.uni-tuebingen.de \
    --to=goswin.brederlow@student.uni-tuebingen.de \
    --cc=debian-devel@lists.debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@lina.inka.de \
    /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

all inboxes | Powered by JetHome®