From: Chuck Lever III <chuck.lever@oracle.com>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: Chuck Lever <cel@kernel.org>,
"kdevops@lists.linux.dev" <kdevops@lists.linux.dev>
Subject: Re: [PATCH RFC 6/6] devconfig: Assign a DNS domain name to target hosts
Date: Tue, 5 Mar 2024 14:54:29 +0000 [thread overview]
Message-ID: <C73EE2E8-03CA-4505-AB7D-EBB04099EF2F@oracle.com> (raw)
In-Reply-To: <ZeY_TdEtDi57SO0g@manet.1015granger.net>
> On Mar 4, 2024, at 4:38 PM, Chuck Lever <chuck.lever@oracle.com> wrote:
>
> On Mon, Mar 04, 2024 at 12:55:08PM -0800, Luis Chamberlain wrote:
>> On Sun, Mar 03, 2024 at 01:07:59PM -0500, Chuck Lever wrote:
>>> From: Chuck Lever <chuck.lever@oracle.com>
>>>
>>> NFSv4 ID mapping grabs the default NFSv4 ID mapping domain, by
>>> default, from the host's DNS domain name.
>>>
>>> Note that this does not alter the target host's hostname entry in
>>> /etc/hosts, which is what some distributions expect.
>>>
>>> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
>>> ---
>>> playbooks/roles/devconfig/defaults/main.yml | 2 ++
>>> playbooks/roles/devconfig/templates/hostname | 2 +-
>>> 2 files changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/playbooks/roles/devconfig/defaults/main.yml b/playbooks/roles/devconfig/defaults/main.yml
>>> index 92552dfd87a7..c5b309c8574f 100644
>>> --- a/playbooks/roles/devconfig/defaults/main.yml
>>> +++ b/playbooks/roles/devconfig/defaults/main.yml
>>> @@ -29,6 +29,8 @@ devconfig_repos_addon_list:
>>> suse_register_system: False
>>> suse_registration_code: 0
>>>
>>> +devconfig_dns_domain: "kdevops.org"
>>
>> FWIW I just purchased this in case we need to do something with it later.
>> But typically wouldn't a "local" be a better default for domain name?
>
> Actually I went looking for something like that, but didn't find it.
>
> https://en.wikipedia.org/wiki/.local
>
> I can give "kdevops.local" a try.
This seems fine:
[vagrant@cel-nfsd ~]$ hostnamectl
Static hostname: cel-nfsd.kdevops.local
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: 16aa3bfaabf04eeca8f7987ff01fbaf6
Boot ID: 3d9cff0911b84651bc79edd2c5be5b71
Virtualization: kvm
Operating System: Fedora Linux 38 (Cloud Edition) CPE OS Name: cpe:/o:fedoraproject:fedora:38
OS Support End: Tue 2024-05-14
OS Support Remaining: 2month 1w 1d
Kernel: Linux 6.8.0-rc7-next-20240304
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009_
Firmware Version: 1.16.2-1.fc38
Firmware Date: Tue 2014-04-01
[vagrant@cel-nfsd ~]$ sudo nfsidmap -d
kdevops.local
[vagrant@cel-nfsd ~]$
Only question is if .local will be a problem for Kerberos.
I can't think of a reason it would be.
--
Chuck Lever
prev parent reply other threads:[~2024-03-05 14:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-03 18:07 [PATCH RFC 1/6] devconfig: Install 'perf' on target hosts Chuck Lever
2024-03-03 18:07 ` [PATCH RFC 2/6] libvirt_user: Run Fedora-specific libvirt_user set up on Fedora systems Chuck Lever
2024-03-04 21:27 ` Luis Chamberlain
2024-03-04 21:46 ` Chuck Lever
2024-03-03 18:07 ` [PATCH RFC 3/6] kdevops: Fix raw "include:" directives Chuck Lever
2024-03-04 20:56 ` Luis Chamberlain
2024-03-04 21:40 ` Chuck Lever
2024-03-03 18:07 ` [PATCH RFC 4/6] fstests: Make /media/scratch larger Chuck Lever
2024-03-03 18:07 ` [PATCH RFC 5/6] gitr: Change the default mode of root directories under test Chuck Lever
2024-03-03 18:07 ` [PATCH RFC 6/6] devconfig: Assign a DNS domain name to target hosts Chuck Lever
2024-03-04 20:55 ` Luis Chamberlain
2024-03-04 21:38 ` Chuck Lever
2024-03-05 14:54 ` Chuck Lever III [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=C73EE2E8-03CA-4505-AB7D-EBB04099EF2F@oracle.com \
--to=chuck.lever@oracle.com \
--cc=cel@kernel.org \
--cc=kdevops@lists.linux.dev \
--cc=mcgrof@kernel.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 read-only IMAP folder(s) and NNTP newsgroup(s).