On Monday 19 February 2007 11:32, Bayrouni wrote:

> Hello all,
>
> cat /etc/conf.d.hostname
> # /etc/conf.d/hostname
>
> # Set to the hostname of this machine
> HOSTNAME="MYHOST"
>
> and cat /etc/conf.d/domainname
> DNSDOMAIN="MYDOMAIN"
>
> The hostname service is added to the /etc/init.d/ with rc-update,
>
> but the commande hostname give:
> #hostname
> MYHOST
>
> and
> # hostname -f
> MYHOST
>
> I tried to add the domainname service:
> sudo rc-update add domainname default
>  * rc-update: '/etc/init.d/domainname' not found; aborting
>
> What is wrong or missing  in my configuration ?

DNS domain name is not set via /etc/conf.d/domainname anymore. You should 
use /etc/conf.d/net for that.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to