All of lore.kernel.org
 help / color / mirror / Atom feed
* managing the system's NFSv4 domain name
@ 2015-07-30  2:28 Chuck Lever
  2015-07-30 13:39 ` Steve Dickson
  0 siblings, 1 reply; 6+ messages in thread
From: Chuck Lever @ 2015-07-30  2:28 UTC (permalink / raw)
  To: Anna Schumaker, Steve Dickson; +Cc: Linux NFS Mailing List

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?


--
Chuck Lever




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-30 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30  2:28 managing the system's NFSv4 domain name Chuck Lever
2015-07-30 13:39 ` Steve Dickson
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

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.