From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Min Jun,Xi" <xi.minjun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: One warning message when switching root to /sysroot (which is the mount point for NFS)
Date: Thu, 17 Jun 2010 11:29:17 +0200 [thread overview]
Message-ID: <4C19EAED.5020104@redhat.com> (raw)
In-Reply-To: <AANLkTik38g1JnWlVZTTCRV2QNlQythULFrtHzu9E1tw5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 06/12/2010 09:27 AM, Min Jun,Xi wrote:
> I have found the reason for "mount: only root can do that (effective
> UID is -2)",
> The nfs server is NFSv4-powered, NFSv4 has a concept of a root of the
> overall exported file system. The export point exported with fsid=0 is
> used as this root. If we didn't specify "fsid=0" in the /etc/exports
> file, when it is mounted by the NFS client, all the owner of the
> overall exported file system will become "nfsnobody:nfsnobody".
> Because of this, the owner of "/bin/mount" is changed to
> "nfsnobody:nfsnobody" from "root:root". when "mount" is called, the
> warning message is shown.
>
For RHEL6 you want at least dracut-004-18 to get NFS4 working.
dracut-005-3 in Fedora 13 should work as well.
prev parent reply other threads:[~2010-06-17 9:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-12 6:47 One warning message when switching root to /sysroot (which is the mount point for NFS) Min Jun,Xi
[not found] ` <AANLkTimBgxVQ4C-dUBPVhG6BHNDQVpD2XFL8NmuhaDZB-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-12 7:27 ` Min Jun,Xi
[not found] ` <AANLkTik38g1JnWlVZTTCRV2QNlQythULFrtHzu9E1tw5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-17 9:29 ` Harald Hoyer [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=4C19EAED.5020104@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=xi.minjun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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.