Bug 771298 - DNS settings not carried over from installation
Summary: DNS settings not carried over from installation
Status: RESOLVED DUPLICATE of bug 764429
Alias: None
Product: openSUSE 12.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Factory
Hardware: x86-64 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michal Filka
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 23:57 UTC by Jan Engelhardt
Modified: 2016-10-25 14:20 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot (4.19 KB, image/png)
2012-07-12 23:58 UTC, Jan Engelhardt
Details
/var/log/Yast2 at the time of the screenshot (+some hours idling in that state) (312.13 KB, application/octet-stream)
2012-07-14 03:08 UTC, Jan Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***