aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-10-30 17:08:42 +0100
committerDee'Kej <deekej@linuxmail.org>2017-10-31 13:11:59 +0100
commit5d6156454bf8f6dab4a5fdd7e1bf6cdc72c09456 (patch)
treec9a61b6f7fc553ada018d1bf13dd7b4a2cc3c467 /initscripts.spec
parent9e48c7ad6fae91a333d0b0a39cffee14a3130f2c (diff)
downloadinitscripts-5d61564.tar
initscripts-5d61564.tar.gz
initscripts-5d61564.tar.bz2
initscripts-5d61564.tar.xz
initscripts-5d61564.zip
ifup-post: always update nameserver & search entries in /etc/resolv.conf
This is complete rework of how we generate the /etc/resolv.conf. Fixes: * always update 'nameserver' & 'search' entries when DNS* & DOMAIN options (respectively) were updated in ifcfg-* files * always update the order of 'nameserver' entries when the order of DNS* options was updated * always keep /etc/resolv.conf.save as a proper backup - do not overwrite it everytime when updating 'nameserver' or 'search' Enhancements: * added support for DNS3 option (equals to MAXNS value in GLIBC) * added logic to process duplicate DNS* options * added logic to process randomly omitted DNS* options (e.g. omitting DNS1 while specifying DNS2 and/or DNS3 will still work now) This work was based on these two RHEL-7.5 BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1364895 https://bugzilla.redhat.com/show_bug.cgi?id=1357658
Diffstat (limited to 'initscripts.spec')
0 files changed, 0 insertions, 0 deletions