Bugzilla – Bug 1165547
incomplete resolv.conf built by dracut.
Last modified: 2020-04-03 10:41:01 UTC
I've installed 15.2 on an NFS root - when I boot it, I always end up in the emergency shell because it could not be mounted. After some debugging I have determined this is because there is no "nameserver x.x.x.x" directive in /etc/resolv.conf. The problem is - I believe - in dracut module 35network-legacy, ifup.sh. Look at function dhcp_wicked_apply, line 75. A "nameserver" directive is only added if an existing file is being edited, not when creating the temporary file.
Maybe take a look at module 40network/ifup.sh line 138 (dracut 044.2) to compare.
Created attachment 831785 [details] proposed patch I've tested this on my 15.2 systems with root on NFS.
This should be fixed now. Similar patch is in SUSE/049 and SUSE/050 which are on their way to 15.2/TW.
Looking at the installed system, it looks good, but I think the installer also needs updating.
*** Bug 1165366 has been marked as a duplicate of this bug. ***