Monday, March 24, 2025

Re: Comment on /etc/myname vs /etc/hostname

On Mon, Mar 24, 2025 at 02:40:47PM +0000, otto.cooper said:
[ snip ]

>Can we agree that /etc/myname can be safely and easily replaced with /etc/hostname?

Assuming you ignore all the installed copies of OpenBSD and derivatives,
perhaps, however I'd caution against such a cavalier attitude. I'd much
prefer not to have to update my various automation to have to understand
and react to a breaking change like this, especially where failure may
mean I have to drive across town to a colocation facility to fix it.

># Q2
[ snip ]

>Can we agree that /etc/hostname.if makes sense only because of muscle memory, while something like /etc/ifconfig.dev would be more in line with its intended purpose?

Same answer as above. These are core mechanisms for making OpenBSD work
and changing the names and nothing else makes no sense.

Of course if you are determined, patches would be the normal method for
advancing a discussion. Don't forget all the documentation (manpages,
website, FAQs, afterboot messages) that will need to be updated as well
as the actual code.

--
Please direct replies to the list.

No comments:

Post a Comment