I wrote: > The NIS stuff should be evicted from the hostname man page. Greg writes: > Well... maybe? While the use of NIS hostname resolution is strongly > discouraged, it's not *forbidden*. A system admin might, in theory, > be using NIS to serve up hostname/IP mappings, in which case the NIS > commands and references might be needed.
Evicted to a page of their own. I realize that it won't happen. > The part of hostname(1) that struck me as needing amendment was this: > The host name is usually set once at system startup in > /etc/init.d/hostname.sh (normally by reading the contents of a file > which contains the host name, e.g. /etc/hostname). > My Debian 12 system does not have an /etc/init.d/hostname.sh file, > or anything else that's close to it. My desktop, which has been upgraded many times, does have /etc/init.d/hostname.sh. However, a recently installed Bookworm does not. > Whatever's reading /etc/hostname comes from another location. systemd-hostnamed -- John Hasler j...@sugarbit.com Elmwood, WI USA