When installing rawhide (20180123) on s390x with network details set on the kernel command line (via dracut), the /etc/resolv.conf file isn't created and installation source (repo URL) can't be set. This is when install.img/anaconda runs, name resolution works fine in the initrd (it downloads install.img). The parameter file content is ro ramdisk_size=40000 cio_ignore=all,!condev rd.dasd=200-207 vnc ip=1.2.3.4::1.2.3.255:24:foo.bar.com:enc800:none rd.znet=qeth,0.0.0800,0.0.0801,0.0.0802,layer2=0,portno=0 repo=https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180123. n.1/compose/Everything/s390x/os/ root=live:https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-2018 0123.n.1/compose/Everything/s390x/os/images/install.img nameserver=10.9.8.7 Version-Release number of selected component (if applicable): anaconda 28.18-1.fc28 How reproducible: 100%
[anaconda root@devel7 tmp]# nmcli dev show GENERAL.DEVICE: enc800 GENERAL.TYPE: ethernet GENERAL.HWADDR: 02:00:00:00:00:BD GENERAL.MTU: 1492 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: enc800 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1 WIRED-PROPERTIES.CARRIER: on WIRED-PROPERTIES.S390-SUBCHANNELS[1]: 0.0.0800 WIRED-PROPERTIES.S390-SUBCHANNELS[2]: 0.0.0801 WIRED-PROPERTIES.S390-SUBCHANNELS[3]: 0.0.0802 IP4.ADDRESS[1]: 1.2.3.4/21 IP4.GATEWAY: 1.2.3.255.254 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.16.111.254, mt = 0 IP4.ROUTE[2]: dst = 1.2.3.0/24, nh = 0.0.0.0, mt = 0 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255 seems NM isn't aware of the DNS server set on the kernel command line
May be related to bug #1537977. Could you please attach these logs? /tmp/anaconda.log /tmp/ifcfg.log /tmp/syslog Thank you.
Created attachment 1388409 [details] anaconda.log
Created attachment 1388415 [details] anaconda.log
Created attachment 1388416 [details] ifcfg.log
Created attachment 1388417 [details] syslog
IIRC Jan has seen similar issue too.
A problem with resolv.conf in the past was reported as bug 1327169, which turned out to be a consequence of bug 1327204 - Two network connections reported by nmcli during installation on s390x. /etc/resolv.conf existed in that case, but the nameserver was not set in the file.
(In reply to Radek Vykydal from comment #2) > May be related to bug #1537977. It really seems to be the same issue as bug #1537977. To confirm, you can check with updates image enabling the fedora-import-state service: https://rvykydal.fedorapeople.org/updates.fedora-import-state.img
Yes, with the provided updates image the nameserver is set in /etc/resolv.conf and installation source is set to a repo.
*** This bug has been marked as a duplicate of bug 1537977 ***
Should be fixed in latest rawhide Fedora-Rawhide-20180204.n.0.
Verified with the branched Fedora-28-20180221.n.0 compose, thanks.