problem with kickstarting NIS clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all:


I am seeing some problems during kickstarting  NIS clients. More
specifically, nsswitch.conf is interfering with subsequent %post scripts
commands.  This is with Redhat 6.2.

I used following ks.cfg directive to configure my NIS client:

auth --useshadow --enablemd5 --enablenis --nisdomain mydomain --nisserver
myserver

In my %post section,  I have commands to delete extra system accounts. These
commands cause
the system to try to contact NIS server, even though portmapper and ypbind
have not been
configured/started yet. The result is that every subsequent commands has to
wait for rpc 
calls to timeout. A installation which normally takes 7 minutes now takes
over 50 minutes.

My workaround is to manually install all rpms,  create config files and
nsswitch.conf at the very end of %post scripts and not to use --enablenis
options in above auth directive.

I am wondering if this is a known bug and if there is a better way to
configure NIS client during kickstart.

Yiping Zhang





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux