Gentoo Archives: gentoo-user

From: Bayrouni <bayrouni@×××××××.be>
To: gentoo-user@l.g.o
Subject: [gentoo-user] hostname and domainname
Date: Mon, 19 Feb 2007 10:33:53
Message-Id: 45D97CA8.6030808@brutele.be
1 Hello all,
2
3 cat /etc/conf.d.hostname
4 # /etc/conf.d/hostname
5
6 # Set to the hostname of this machine
7 HOSTNAME="MYHOST"
8
9 and cat /etc/conf.d/domainname
10 DNSDOMAIN="MYDOMAIN"
11
12 The hostname service is added to the /etc/init.d/ with rc-update,
13
14 but the commande hostname give:
15 #hostname
16 MYHOST
17
18 and
19 # hostname -f
20 MYHOST
21
22 I tried to add the domainname service:
23 sudo rc-update add domainname default
24 * rc-update: '/etc/init.d/domainname' not found; aborting
25
26 What is wrong or missing in my configuration ?
27
28 Thanks
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] hostname and domainname Dale <dalek@××××××××××.net>
Re: [gentoo-user] hostname and domainname Etaoin Shrdlu <shrdlu@×××××××××××××.org>