Bugzilla – Attachment 831785 Details for
Bug 1165547
incomplete resolv.conf built by dracut.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
proposed patch
dracut-patch.diff (text/plain), 971 bytes, created by
Per Jessen
on 2020-03-03 12:08:52 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Per Jessen
Created:
2020-03-03 12:08:52 UTC
Size:
971 bytes
patch
obsolete
>--- 35network-legacy/ifup.sh 2020-03-03 13:03:16.526084613 +0100 >+++ /usr/lib/dracut/modules.d/35network-legacy/ifup.sh 2020-03-03 13:07:03.960015452 +0100 >@@ -76,12 +76,18 @@ > if [ ! -s /tmp/net.$netif.resolv.conf.ipv${1:1:1} ]; then > if [ -n "${DNSDOMAIN}" ]; then > echo domain "${DNSDOMAIN}" >- fi >> /tmp/net.$netif.resolv.conf.ipv${1:1:1} >+ fi > > if [ -n "${DNSSEARCH}" ]; then > echo search "${DNSSEARCH}" >- fi >> /tmp/net.$netif.resolv.conf.ipv${1:1:1} >- fi >+ fi >+ >+ if [ -n "${DNSSERVERS}" ] ; then >+ for s in ${DNSSERVERS}; do >+ echo nameserver "$s" >+ done >+ fi >+ fi >> /tmp/net.$netif.resolv.conf.ipv${1:1:1} > # copy resolv.conf if it doesn't exist yet, modify otherwise > if [ -e /tmp/net.$netif.resolv.conf.ipv${1:1:1} ] && [ ! -e /etc/resolv.conf ]; then > cp -f /tmp/net.$netif.resolv.conf.ipv${1:1:1} /etc/resolv.conf >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1165547
: 831785