[CentOS] init/upstart issue? ypbind and autofs

Fri Feb 10 16:47:11 UTC 2012
Lars Hecking <lhecking at users.sourceforge.net>

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.