From: Rob Landley <rob@landley.net>
To: qemu-devel@nongnu.org
Cc: Christopher Friedt <cfriedt@visible-assets.com>
Subject: Re: [Qemu-devel] root userid remapping? ... no UID / GID variables set in NFS root?
Date: Fri, 1 Jun 2007 01:48:28 -0400 [thread overview]
Message-ID: <200706010148.28828.rob@landley.net> (raw)
In-Reply-To: <465F46F3.1080700@visible-assets.com>
On Thursday 31 May 2007 6:06 pm, Christopher Friedt wrote:
> Hi everyone,
>
> I've just gotten qemu emulating an arm system on my laptop, which I'm
> hoping to use for cross-compilation. I don't have a disk image to use
> (is there any way to create a disk image from a directory tree??), so
> I'm using NFS instead.
>
> The strange thing is, is that although I specify no_root_squash in my
> /etc/exports (and I've been using NFS for quite a long time successfully
> with other machines), only when I'm using Qemu does the user id of the
> 'init' process [0] get remapped to some completely absurd value of
> 4294967295.
You disabled CONFIG_UID16 in the EMBEDDED menu, so you don't have the legacy
system calls to query 16 bit user ids, but your program is using the old ones
rather than the new ones. So the attempt to make said syscall is
returning -EPERM, I.E. -1.
Nothing to do with qemu, this is your kernel .config. I'm guessing you built
a different kernel for qemu than for your host system?
Rob
prev parent reply other threads:[~2007-06-01 5:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-31 22:06 [Qemu-devel] root userid remapping? ... no UID / GID variables set in NFS root? Christopher Friedt
2007-05-31 22:16 ` Mark Glines
2007-06-01 5:48 ` Rob Landley [this message]
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=200706010148.28828.rob@landley.net \
--to=rob@landley.net \
--cc=cfriedt@visible-assets.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).