I seem to have this very odd issue with CentOS 6 WRT NIS. I have taken the package selection that I used with CentOS 5 and basically plopped it into my C6 kickstart file (see below). On C5 this works just fine and I'm able to log in with NIS credentials just fine. However, it looks like on C6 if you use a package selection like this, you also need to specify the yp-tools package as part of the kickstart *even though* you specify an authentication method of NIS in the kickstart. Seems like a bug to me?!? auth --useshadow --enablemd5 --enablenis --nisdomain test --nisserver yp.example.com %packages @core augeas autofs dstat nfs-utils ntp openssh openssh-clients openssh-server portreserve puppet redhat-lsb rsh-server sendmail sendmail-cf sudo sysstat tcp_wrappers wget xinetd yum-utils %end -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpeltier at sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier I will do the best I can with the talent I have
On Tue, Sep 27, 2011 at 1:55 PM, James A. Peltier <jpeltier at sfu.ca> wrote:> I seem to have this very odd issue with CentOS 6 WRT NIS. I have taken the > package selection that I used with CentOS 5 and basically plopped it into my > C6 kickstart file (see below). On C5 this works just fine and I'm able to > log in with NIS credentials just fine. However, it looks like on C6 if you > use a package selection like this, you also need to specify the yp-tools > package as part of the kickstart *even though* you specify an authentication > method of NIS in the kickstart. Seems like a bug to me?!? >Current versions of fedora do this as well, in addition to f15 having a buggy startup script for yp*. I agree with you that if you specify auth, the tools for it should be there. That said, NIS needs to die. Quickly. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
On 09/27/2011 11:55 AM, James A. Peltier wrote:> I seem to have this very odd issue with CentOS 6 WRT NIS. I have taken the package selection that I used with CentOS 5 and basically plopped it into my C6 kickstart file (see below). On C5 this works just fine and I'm able to log in with NIS credentials just fine. However, it looks like on C6 if you use a package selection like this, you also need to specify the yp-tools package as part of the kickstart *even though* you specify an authentication method of NIS in the kickstart. Seems like a bug to me?!?since you mention nis, i'll guess you use automount as well. so be warned that centos 6 has some issues with automount. if automount requests are made rapidly (like on a mail server delivery to a large alias), it will quickly start failing to mount directories and get stuck that way for minutes. i don't have access to r*dh*t box to determine if this has been fixed with all the 6.1 updates. needless to say i can't roll out centos 6 yet. i have filed a centos bug (4984), but since i can't compare against upstream, i don't know for sure where the problem lies.
Okay, I'm getting frustrated here. C6 has been a bit of a bear. It looks like I am also having trouble with rsh on C6 with just @core as well. At least with the NIS stuff I was able to determine rather easily why it wasn't working, but with rsh on workstation working and only on my server with @core, I can't seem to figure out what the package is that I am missing to make rsh on C6 work. Hints please... -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpeltier at sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier I will do the best I can with the talent I have