Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30121 - patch for domainname and rp-pppoe conflict
Summary: patch for domainname and rp-pppoe conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 16:37 UTC by Joerg Schaible
Modified: 2003-10-02 05:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2003-10-01 16:37:57 UTC
The init.d scripts of both packages manipulate /etc/resolv.conf in an incompatible way. 
rp-pppoe removes any existing file and creates a symlink to /etc/ppp/resolv.conf if the 
provider provides the nameservers dynamically. The domainname script will modify 
/etc/resolv.conf and remove the symlink. 

Reproducible: Always
Steps to Reproduce:
1. rc-update add domainname 
2. rc-update add rp-pppoe 
3. reboot 
Actual Results:  
Depending on your configuration and the current dependency order of the init scripts 
you might ot be able to connect to the internet! 

Expected Results:  
rp-pppoe should be executed always after domainname 

patch: 
add a depenceny to /etc/init.d/rp-pppoe: 
 
	depend() { 
		need net 
		after domainname 
	}
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-02 05:21:27 UTC
thx, fixed :)