linux-um archives
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] hostfs as root
Date: Tue, 02 Sep 2003 12:28:55 -0400	[thread overview]
Message-ID: <30858.1062520135@marajade.sandelman.ottawa.on.ca> (raw)
In-Reply-To: Your message of "Tue, 02 Sep 2003 08:58:46 +0200." <Pine.LNX.4.44.0309020854560.26729-100000@filer.marasystems.com>

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


>>>>> "Henrik" == Henrik Nordstrom <hno@marasystems.com> writes:
    Henrik> The rw mount option works fine here, but I am not using a full
    Henrik> system  
    Henrik> image but an image primarily designed for read-only root so mount
    Henrik> is happy  
    Henrik> in either case here..

  I went back to 2.4.19 + patch 47, with the same boot scripts (i.e. rootfs=,
not ubd0=)  No problem there.

    Henrik> Verify the permissions again.. also try booting in a emergency
    Henrik> shell  
    Henrik> (init=/bin/sh) to verify that it is not your system image which
    Henrik> remounts  
    Henrik> the root read-only while booting..

  Hmm. that's possible, but why would 2.4.19 not care?

  Let me try this hypothesis.... you are partly right.

  It looks like the only real complaint is that it can't open /etc/mtab~
at boot time, and it complains, and the /etc/mtab file isn't created
properly:

Mounted devfs on /dev
INIT: version 2.78 booting
Activating swap...
can't open lock file /etc/mtab~: Permission denied (use -n flag to override)
can't open lock file /etc/mtab~: Permission denied (use -n flag to override)
...

  /etc/mtab~ is created with mode 0, and this shows up in the host that way
as well. Perhaps this is the real problem. 

  Actually, I don't seem to be able to reproduce the read-only root now!
I swear it was complaining that it couldn't write, because the file system
was read only before.

cassidy-[nightly/testing/klips/east-icmp-01] mcr 1141 %ls -lta /c2/freeswan/sandboxes/nightly/UMLPOOL/east/root/etc/mtab*  
- -rw-r--r--    1 mcr      mcr             0 Sep  2 12:24 /c2/freeswan/sandboxes/nightly/UMLPOOL/east/root/etc/mtab
- ----------    1 mcr      mcr             0 Sep  2 12:24 /c2/freeswan/sandboxes/nightly/UMLPOOL/east/root/etc/mtab~

  I tried removing the file in my boot script first, but that doesn't help.

]      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

iQCVAwUBP1TFRIqHRg3pndX9AQEZjAQAxTM87CRMtT3dLR9XWK8kTruB4bITRONS
tuPlUVq9Pp1cNUzwycKK2SIJqBfzOvlkNCI9TQ4B3mzsfS8zNQPdBXJk/Iyd6X7F
VTmM91KMoPCmCwLihcxxT6Dx86rPo1vu9xc338wnkhjQ9/BkCuhQFZ5YgGKcGqjf
/N7s/nDoB+U=
=L/3s
-----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-02 16:30 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 ` Michael Richardson [this message]
2003-09-03  9:32   ` [uml-devel] hostfs as root 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
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=30858.1062520135@marajade.sandelman.ottawa.on.ca \
    --to=mcr@sandelman.ottawa.on.ca \
    --cc=hno@marasystems.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox