[CentOS] init/upstart issue? ypbind and autofs
James A. Peltier
jpeltier at sfu.ca
Mon Feb 13 20:16:53 UTC 2012
----- Original Message -----
| 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.
You don't have to remove NetworkManager you just need to tell the interface not to be managed by NM in order for it to work.
| Why again did RH switch to NM?
To better support mobile devices like laptops and to make network configuration easier for new GNU/Linux users.
More information about the CentOS
mailing list