Bug 7378 - ifup-post trashes resolv.conf
Summary: ifup-post trashes resolv.conf
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ppp
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-11-27 20:16 UTC by andy
Modified: 2008-05-01 15:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-11-30 15:59:56 UTC

Attachments (Terms of Use)

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.


Comment 1 Michael K. Johnson 1999-11-30 15:59:59 UTC
Add the line
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.

Note You need to log in before you can comment on or make changes to this bug.