Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489826

Summary: net-misc/netifrc - Provide an accessible solution to avoid resolv.conf from being overwritten if the user does not want it.
Product: Gentoo Linux Reporter: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Component: Current packagesAssignee: netifrc Team <netifrc>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, kfm, matoro_bugzilla_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/posting.php?mode=quote&p=7428966
See Also: https://bugs.gentoo.org/show_bug.cgi?id=925276
Whiteboard: netifrc:resolvconf
Package list:
Runtime testing required: ---

Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-29 21:54:54 UTC
system.sh appears to overwrite resolv.conf; while there might be tricks hidden in corners of our search results or wiki, it might be interesting to allow this to be configurable in the package (or documentation about it more accessible) in one or another way such that it gets easier for the user to take back control over resolv.conf. 

I've seen this a few times so it has hit some users; some might then resolve this by changing the immutable flag, however, I have seen this lead to other problems where it leads to bugs due to permissions being denied. Of course that's a bug with the other service; but, it would be nice if we wouldn't touch it in the first place if that is a possibility.

Thank you in advance.
Comment 1 matoro archtester 2024-02-23 01:16:31 UTC
I believe this should be handled by:

dhcp_eth0="nodns"

Or is this about something different?

Also, I don't follow how this relates to bug 925276 , because that is about dhcpcd clobbering resolv.conf, which is controlled by a different option in dhcpcd.conf.

Are both of these statements correct?