toby wrote:
Daniel Liston wrote:
OK, I waited 3 full days, going into 4 before reposting.
Please, can anyone tell me where to fix this or when it
broke?
-------- Original Message --------
When did `domainname` start producing "(none)" as the output?
I have looked through all the startup rc files and can not find
a place to change this back to the way it was. A blank/empty result
or the NIS value of domain name. I also looked in /etc/sysconfig
for clues but came up empty handed. Can somebody point me in the
right direction?
/etc/sysconfig/network:
NISDOMAIN=yourdomainname
ypserver & domain also need to be defined in /etc/yp.conf.
Thanks Toby, but the setting I am looking for is nearly the
reverse of your solution. I need the domainname command to
return "" instead of "(none)". I found in the rc.sysinit
where hostname is tested for "(none)" and if true sets the
hostname to localhost. I did not realize hostname had also
acquired this deficiency. What I had to do was add a command
to rc.sysinit forcing `domainname ""`. This provides me with
a solution, but not an answer.
I do appreciate that you took the time to answer though.
Thanks,
Dan Liston
--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list