Bug 1357658

Summary: [RFE] Add support for 'DNS3' option in ifcfg-* files
Product: Red Hat Enterprise Linux 7 Reporter: mpathan
Component: initscriptsAssignee: David Kaspar [Dee'Kej] <deekej>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: medium Docs Contact: Petr Bokoc <pbokoc>
Priority: urgent    
Version: 7.4CC: carsten.grohmann, deekej, drusek, ovasik, rpiddapa
Target Milestone: rcKeywords: FutureFeature, Patch, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: initscripts-9.49.40-2.el7 Doc Type: Enhancement
Doc Text:
`ifcfg-*` files now allow you to specify a third DNS server `ifcfg-*` configuration files now support the "DNS3" option. You can use this option to specify a third Domain Name Server (DNS) address to be used in `/etc/resolv.conf`, instead of the previous maximum of two DNS servers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 18:24:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1364895    
Bug Blocks:    
Attachments:
Description Flags
Suggestion to fix this issue none

Comment 3 mpathan 2016-07-19 15:14:56 UTC
Can we make this bug public ? customer is requesting for public access .

-mpathan

Comment 4 Lukáš Nykrýn 2016-07-20 06:47:12 UTC
(In reply to mpathan from comment #3)
> Can we make this bug public ? customer is requesting for public access .
> 
> -mpathan

I am fine with that.

Also if you don't want any networking daemon running on background I think that NM now has some set&exit mode.

Comment 6 Carsten Grohmann 2016-07-28 12:40:37 UTC
Created attachment 1185085 [details]
Suggestion to fix this issue

Comment 7 Lukáš Nykrýn 2016-07-28 15:08:37 UTC
As I wrote in comment #1 I am sorry, but we don't accept any new features to initscripts. Please try NetworkManager instead and file any RFE there.

Comment 8 Carsten Grohmann 2016-07-28 15:26:28 UTC
The attached patch is just for reference. Maybe other people have similar issues and the patch could help them.

Comment 10 David Kaspar [Dee'Kej] 2017-10-02 16:21:05 UTC
Hello everybody,

I'm reopening this BZ so it is reconsidered as a valid request for enhancement for initscripts package.

IMHO, even though the 'initscripts/network-scripts' are in "deprecated" state, I think this request is reasonable enough to at least try to implement this change.

However, I can only suggest to add support for 'DNS3' option, because glibc's MAXNS value is still (even in Fedora) set to value *3*, meaning that only 3 nameservers will be actually used for name resolving.

ATM I don't see a valid reason to support DNS4 (or more) in network-scripts, especially when network-scripts are already in "deprecated" state, and they were never meant to be 1:1 equivalent to NetworkManager in the first place. (NetworkManager is suppose to replace and surpass the limitations of network-scripts.)

Best regards,

 -- David --

Comment 11 David Kaspar [Dee'Kej] 2017-10-09 10:23:45 UTC
Pull-request submitted into upstream:
https://github.com/fedora-sysv/initscripts/pull/131

Comment 19 errata-xmlrpc 2018-04-10 18:24:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0983