LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2007, 03:44 PM   #1
gdepp
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
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
 
Old 03-12-2007, 05:26 PM   #2
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
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.
 
Old 03-12-2007, 06:56 PM   #3
gdepp
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
I'm using dhclient which appears to not have that particular option.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dhclient and resolv.conf kellinjar Linux - Networking 1 10-13-2006 05:23 AM
dhclient.conf specs raypen Linux - Networking 0 05-29-2006 04:39 PM
DHCP client overwriting resolv.conf... how to stop it? gauge73 Linux - Networking 6 05-04-2005 11:51 AM
dhclient reversing dhcp offer in resolv.conf zugwrack Linux - Wireless Networking 2 03-16-2004 09:34 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration