Re: [Re-SOLVED] Hostname error when using OpenRC
Reply #5 –
In OpenRc you use the /etc/conf.d/hostname file. I believe /etc/hostname will override it, but your errors seem to be from it needing a proper /etc/conf.d version, as below:
# /etc/conf.d/hostname for OpenRC
# Set to the fully qualified domain name (fqdn) of this machine
hostname="mybox.example.com"
# Aliases, if any
aliases="MyBox"
# NIS domain name of this machine, if it has one
#nisdomainname="localdomain.com"