All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
To: Matt Zimmerman <mdz@debian.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] hostfs as root
Date: Fri, 05 Sep 2003 11:50:50 -0400	[thread overview]
Message-ID: <31667.1062777050@marajade.sandelman.ottawa.on.ca> (raw)
In-Reply-To: Your message of "Fri, 05 Sep 2003 10:01:19 EDT." <20030905140119.GM11825@alcor.net>

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Matt" == Matt Zimmerman <mdz@debian.org> writes:
    >> Well, if the opener is root, you get to ignore the permissions. That
    >> means that something has to break.
    >> 
    >> I propose: stat(), save permissions chmod(u+rw) (as appropriate for
    >> the open) open() chmod(oldperms)

    Matt> Sounds like a recipe for lots of race conditions.

  Uh, how?
  Remember, this is in the kernel. We have locks.

  If two UMLs come along, using the same rootfs, well, that's a different
problem. 

    >> Well, leaving us in a lurch is decidely not friendly.  Your fix has
    >> broken debian potato's mount. Being able to run other distros,
    >> versions, etc. inside of UML is one of the major features of UML.

    Matt> OK, so mount is already fixed.  So the only problem is that you
    Matt> can't use an old, mildly buggy version of mount with root-hostfs as
    Matt> a non-root user on the host.  I'd rather be able to extract tar
    Matt> files than have that scenario.

  Okay. I see.

    Matt> You must have already worked around some other problems in order to
    Matt> run potato in this configuration; it wouldn't work out of the box
    Matt> with a 2.4 kernel.  How are you managing device nodes?  Loading any
    Matt> kernel modules?

  Works fine for me.
  It has been working fine for two years now.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP1iw2YqHRg3pndX9AQEzJwP/T0G/+pKEc91jtkOOaVOcHEhGA7kyt+u2
fum+nFEkyeI7P/B+gn56j7ilGflQF/9PJUAZliQByXSh3kT+t+K6QfANV7b9MRSI
V6tk23VZ9aiUJffqo0pirs0l2ePFfgR09kw7U0se8IGM0c/+OWvPYZSXClEt8yGb
ptqs9Hzamms=
=Biha
-----END PGP SIGNATURE-----


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2003-09-05 15:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0309020854560.26729-100000@filer.marasystems.com>
2003-09-02 16:28 ` [uml-devel] hostfs as root Michael Richardson
2003-09-03  9:32   ` Henrik Nordstrom
2003-09-03 15:47     ` Matt Zimmerman
2003-09-03 18:22     ` Michael Richardson
2003-09-03 18:55       ` Henrik Nordstrom
2003-09-03 19:16       ` Matt Zimmerman
2003-09-05  0:55         ` Michael Richardson
2003-09-05  1:10           ` Matt Zimmerman
2003-09-05 13:43             ` Michael Richardson
2003-09-05 14:01               ` Matt Zimmerman
2003-09-05 15:50                 ` Michael Richardson [this message]
2003-09-05 16:06                   ` Adam Heath
2003-09-05 16:28                     ` Michael Richardson
2003-09-05 16:44                       ` Adam Heath
2003-09-05 16:13                   ` Matt Zimmerman
2003-09-05 17:37                     ` Michael Richardson
2003-09-05 18:02                       ` Matt Zimmerman
2003-09-05 18:39                         ` Michael Richardson
2003-09-05 18:49                           ` Matt Zimmerman
2003-09-17 16:43                           ` BlaisorBlade
2003-09-05 15:14 stian
2003-09-05 17:58 ` Michael Richardson
2003-09-05 18:19 ` Matt Zimmerman

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=31667.1062777050@marajade.sandelman.ottawa.on.ca \
    --to=mcr@sandelman.ottawa.on.ca \
    --cc=mdz@debian.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.