Bug 1859513

Summary: Priority of dhcp-server and next-server in inst.stage2 and inst.ks
Product: Red Hat Enterprise Linux 8 Reporter: Denis Volkov <dvolkov>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: dracut-maint-list, dtardon, fsumsal, jfindysz, jstodola
Target Milestone: rcKeywords: Triaged
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-049-129.git20210107.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:02:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch none

Description Denis Volkov 2020-07-22 10:09:20 UTC
Created attachment 1702045 [details]
Proposed patch

Description of problem:
In pxelinux.cfg kernel command line parameters it is possible to omit the NFS server. Kickstart then uses the next-server or the dhcp-server as nfs server. The syntax is inst.stage2=nfs:::/my/export/dir
When dhcp-server and next-server are different ones, kickstart prefers the dhcp-server over next-server which should be the other way round.


Additional info:
Proposed patch attached

Comment 4 Jan Stodola 2020-07-23 07:49:54 UTC
Switching to RHEL-8 and dracut, based on the patch from comment 0.

Comment 5 Lukáš Nykrýn 2020-07-29 06:53:18 UTC
Could you please submit that patch as a PR to dracut upstream? https://github.com/dracutdevs/dra

Comment 6 Lukáš Nykrýn 2020-07-29 06:53:35 UTC
https://github.com/dracutdevs/dracut

Comment 7 Denis Volkov 2020-08-04 14:58:58 UTC
I finally made a PR to upstream

Comment 17 errata-xmlrpc 2021-05-18 15:02:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (dracut bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1661