Bug 771298

Summary: DNS settings not carried over from installation
Product: [openSUSE] openSUSE 12.2 Reporter: Jan Engelhardt <jengelh>
Component: InstallationAssignee: Michal Filka <mfilka>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: snwint
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot
/var/log/Yast2 at the time of the screenshot (+some hours idling in that state)

Description Jan Engelhardt 2012-07-12 23:57:21 UTC
In openSUSE 12.1 RC1 (build 050), since I have no DHCP server on the subnet installing on, I let the installation drop out into linuxrc, and then set up manual networking. However, the DNS settings, in particular the DNS server, is not saved into the system to be installed; /etc/resolv.conf is empty, causing the postinstall to fail grabbing updates (see screenshot).
Comment 1 Jan Engelhardt 2012-07-12 23:58:06 UTC
Created attachment 498482 [details]
screenshot
Comment 2 Kun Kun Zhang 2012-07-14 03:02:46 UTC
Hi,thank you for your report.could you please help to provide y2logs according to the following URL?Thank you:)
http://en.opensuse.org/openSUSE:Bugreport_YaST
Comment 3 Jan Engelhardt 2012-07-14 03:08:17 UTC
Created attachment 498642 [details]
/var/log/Yast2 at the time of the screenshot (+some hours idling in that state)
Comment 4 Thomas Göttlicher 2012-07-17 15:00:41 UTC
Michal, could you please look into that?
Comment 5 Michal Filka 2013-04-25 11:07:32 UTC
Reproduced even on 12.3.

*** This bug has been marked as a duplicate of bug 764429 ***
Comment 6 Michal Filka 2013-04-26 12:30:58 UTC
I'll reopen the bug as it is more simple to reproduce and debug than its duplicate.

I tried two ways how to prepare static net configuration by linuxrc:
- First one:
I've passed following params when starting installation
startshell=1
netconfig=static
hostip=<ipv4>
nameserver=<ipv4>
netdevice=eth0
gateway=<ipv4>
domain=suse.cz

When shell was started (before YaST) net wasn't running and none of params was mentioned in /etc/install.inf (including Cmdline key - with small exception of netconfig param)

- Second one
I've passed following params when starting installation
startshell=1
netsetup=-dhcp,now

This time net was running. However nothing was mentioned in /etc/install.inf.

I need the static net configuration in /etc/install.inf for second stage. I cannot store it on target system since some installation scenarios do not allow to store a net config on target and relevant code is excluded from installation control flow.

I've worked with OpenSUSE 12.3 Final(GM).

Would it be possible to store static net configuration in /etc/install.inf for second stage?
Comment 7 Josef Reidinger 2016-10-25 10:56:53 UTC
*** Bug 764429 has been marked as a duplicate of this bug. ***
Comment 8 Felix Miata 2016-10-25 14:19:45 UTC
The newer bug duplicates the old. One cannot duplicate that which does not exist.

*** This bug has been marked as a duplicate of bug 764429 ***