dhclient is overwriting /etc/yp.conf interfering with domain access
I'm having an issue with dhclient.script overwriting yp.conf. In my particular configuration, my system has a defined domain which is in part configured via yp.conf ("domain NISDOMAIN server SERVER") as well as in /etc/sysconfig/network ("NISDOMAIN=NISDOMAIN"). It seems to need both to find the domain server.
I'm running rPath Linux (Red Hat variant). I considered setting: PEERDNS=No but believe that the automatic overwriting of /etc/resolv is proper. Is there a method for supressing the messing with yp.conf only? Thanks Greg |
That would depend on which dhcp client you use.
I run dhcpcd, where the -Y option give "Prevents dhcpcd from replacing existing <etcDir>/yp.conf file". Cheers. |
I'm using dhclient which appears to not have that particular option.
|
All times are GMT -5. The time now is 04:19 AM. |