Red Hat Bugzilla – Bug 244632
nisdomain not set during kickstart
Last modified: 2008-08-02 19:40:34 EDT
Description of problem:
auth --useshadow --enablenis --nisdomain xxxxxxx
no "NISDOMAIN=xxxxxxx" is found in /etc/sysconfig/network
authconfig does not change the behavior.
It works fine with fedora 6 and Redhat 4.5 and 5.0
(The same fault probably has been in older Versions, as there is
a comment line
#echo "NISDOMAIN=xxxxxxx" >> /etc/sysconfig/network
in my %post section
I suspect something overwrites the /etc/sysconfig/network as written by
authconfig. When I run authconfig standalone the command 'authconfig --useshadow
--enablenis --nisdomain xxxxxx --update' works fine.
Can you try to do that after install?
Sorry - It is not a bug:
A fresh install without any changes has been ok!
It took me a while to find out:
The nis-domain is no longer set in /etc/sysconfig/network but in
/etc/yp.conf - which is overwritten by me during %post installation!