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

Bug 196248

Summary: sys-apps/baselayout: conf.d/net 'dns_options' is still ignored, patch hasn't been applied
Product: Gentoo Linux Reporter: Stefan Huber <stef>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Huber 2007-10-18 07:37:25 UTC
to define parameters for dns resolution (configured in /etc/resolv.conf) there are serveral variables in /etc/conf.d/net: dns_server, dns_domain and dns_options

the variable 'dns_options' is completely ignored, it's not even used (only defined in the expose section) in /lib/rcscripts/net/system.sh

/etc/conf.d/net.example describes this variable as possibility to add additional, non-standard parameters to /etc/resolv.conf

http://sources.gentoo.org/viewcvs.py/baselayout/trunk/net/system.sh?view=log
describes changes that should make this work again, but they are already some months old and not even the newest baselayout (1.12.9-r2), which has been release a month after this patch, includes those changes. I just guess that the patch would have been applied already, but something went wrong. If not, please excuse my bug report, I'm just in need for this feature and started worrying it might've been forgotten.

Reproducible: Always

Steps to Reproduce:
1. add parameter dns_options to /etc/conf.d/net
Actual Results:  
parameter gets ignored

Expected Results:  
parameters should be added to /etc/resolv.conf in the following manner:
options $parameter_value1 
options $parameter_value2
...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 09:02:21 UTC
Fixed in baselayout-2, as said on the bug.

*** This bug has been marked as a duplicate of bug 175367 ***