[CentOS] init/upstart issue? ypbind and autofs

Lars Hecking lhecking at users.sourceforge.net
Mon Feb 13 13:00:15 UTC 2012


Lars Hecking writes:
> Lars Hecking writes:
> > 
> >  One problem I have with custom CentOS 6 installation is that NIS auto.*
> >  maps are not available. According to boot.log, ypbind starts before autofs,
> >  but when I login to the machine, the maps are not available until I issue
> >  a service autofs restart.
> > 
> >  Any pointers on what to check?
>  
>  I guess CentOS doesn't use pid randomisation. autofs does start before
>  ybind:
> 
> root      2107     1  0 16:40 ?        00:00:00 automount --pid-file /var/run/autofs.pid
> root      2517     1  0 16:41 ?        00:00:00 /usr/sbin/ypbind
> root      3009  2976  0 16:43 pts/0    00:00:00 egrep auto|ypb
> 
>  Another machine I installed interactively (this one is kickstarted) works
>  correctly.

 Solved.

 The other machine doesn't have NetworkManager installed. Removed it here
 and NIS/autofs started working correctly.

 Why again did RH switch to NM?




More information about the CentOS mailing list