Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 7378

Summary: ifup-post trashes resolv.conf
Product: [Retired] Red Hat Linux Reporter: andy
Component: pppAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: andrew.pickin, rmiddle, sdeibel
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-30 15:59:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description andy 1999-11-27 20:16:35 UTC
After a ppp connection is made the first two nameservers in resolv.conf
are overwritten by those in /etc/ppp/resolv.conf. Thus trashing the
DNS resolution of for example the local network. I've commentted out the
entire section in ifup-post ppp0, this works fine appart from on auto-dial
which remains broken.

AMP

Comment 1 Michael K. Johnson 1999-11-30 15:59:59 UTC
Add the line
PEERDNS=no
to your /etc/sysconfig/network-scripts/ifcfg-ppp* files.

Comment 2 Stephan R.A. Deibel 2000-02-20 07:09:59 UTC
I'd maintain that this *is* a bug since it means your default installation won't
work right for many people.  Drop the ppp connection and suddenly you're hanging
up left and right... Also, it's pretty obscure to find since ifcfg-ppp0 doesn't
even have a PEERDNS=yes entry by default and this isn't in linuxconf as far as I
could see.  You've got to fix this in future releases of RHL.

Comment 3 rmiddle 2000-05-23 16:39:59 UTC
Problem is also present in redhat 6.2 althought they atleast include the option
in the ifcfg-ppp0 file now.  Althought I would like it if the would ask you
before had.  Also this doesn't respect File atrrib. as I set resolv.conf to read
only and it was still over writen.