From: Steve Dickson <SteveD@redhat.com>
To: Chuck Lever <chuck.lever@oracle.com>,
Anna Schumaker <schumakeranna@gmail.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: managing the system's NFSv4 domain name
Date: Thu, 30 Jul 2015 09:39:14 -0400 [thread overview]
Message-ID: <55BA2902.2020903@RedHat.com> (raw)
In-Reply-To: <5E5505A2-44BA-4ED7-89A6-8639C0D068BF@oracle.com>
On 07/29/2015 10:28 PM, Chuck Lever wrote:
> Hi-
>
> At least for testing purposes, it would be great to be able to
> manage a system's NFSv4 domain name from the command line. I'm
> frequently asked how to determine a system's NFSv4 domain name,
> and I'm forced to answer something like this:
>
>> Linux does not currently have a command line tool for managing
>> the system's NFSv4 idmapping domain. Use:
>>
>> awk '/^Domain/ { print $3 }' < /etc/idmapd.conf
>>
>> If that fails to find anything, then use `dnsdomainname` . That
>> won't be helpful if the system has multiple i/f's.
>
>
> This doesn't even get into /proc/keys, or what to do to change
> the NFSv4 domainname, or the differences between rpc.idmapd and
> the keyring-based idmapper.
>
> Linux now has hostnamectl and other tools to manage a system's
> hostname and so on. Solaris has sharectl, which can display and
> update the nfs4mapid_domain.
>
> Does it make sense to extend the nfsidmap command to display and
> modify the NFSv4 domain name?
I would think so... All the tools (aka conf_XXX() calls) are there
and I think it would be relatively simple...
Another thing I always thought would be nice is a way
to show the existing uid/gid keys in a human format.
Now to see what keys exist one has to cat /proc/keys
which is not very readable...
steved.
next prev parent reply other threads:[~2015-07-30 13:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 2:28 managing the system's NFSv4 domain name Chuck Lever
2015-07-30 13:39 ` Steve Dickson [this message]
2015-07-30 15:17 ` Chuck Lever
2015-07-30 18:29 ` Steve Dickson
2015-07-30 18:44 ` Chuck Lever
2015-07-30 20:05 ` Chuck Lever
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=55BA2902.2020903@RedHat.com \
--to=steved@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=schumakeranna@gmail.com \
/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.