Bug 2157082
Summary: | "nm-run.sh" runs only "online" hook once, which may lead to not fetching the Stage2 at all | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Renaud Métrich <rmetrich> |
Component: | dracut | Assignee: | Pavel Valena <pvalena> |
Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9.1 | CC: | bgalvani, dtardon, fsumsal, jstodola, lrintel, nilesh.javali, pvalena, rkhan, rvykydal, sfaye, sukulkar, till |
Target Milestone: | rc | Keywords: | Bugfix, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dracut-057-21.git20230214.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 08:24:17 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2153361 |
Description
Renaud Métrich
2022-12-30 15:02:55 UTC
Can we set up the NM generator in a way, that if user set a concrete device on the kernel cmdline NM will wait for it? I'm ok with having NM wait on the interface (which it currently doesn't, or only for a few seconds). However this won't solve the case when booting with "ip=dhcp". Reassigning this to dracut. This is a dracut regression, pull request for a revert filed here: https://github.com/dracutdevs/dracut/pull/2134 Dracut maintainers, please review & apply as appropriate. Thank you! *** Bug 2134060 has been marked as a duplicate of this bug. *** Alternative solution proposed by lnykryn: https://github.com/dracutdevs/dracut/pull/2173 I've prepared a PR here: https://gitlab.com/redhat/centos-stream/rpms/dracut/-/merge_requests/17 Scratch-build for testing: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=1956317 I wonder when the fix will hit rawhide. Seems that it was merged here: https://github.com/dracutdevs/dracut/pull/2134 (https://bugzilla.redhat.com/show_bug.cgi?id=2153361#c16) but I can't see it in the current rawhide (dracut-059-03.fc39). Hello, Even in case there is a single network interface, it's possible that 99-nm-run.sh executes while no interface was enumerated yet, causing it just impossible to install the system. This can be seen with IB interfaces (mlx5_core) on a customer site. So now the question is what we can do to workaround this reliably on 9.0 and 9.1? 9.0 has EUS, so it's even more critical than 9.1 (once BZ is release with - hopefully - 9.2). Renaud. FYI I've added the fix to the prepared Rawhide PR, soon to be merged: https://src.fedoraproject.org/rpms/dracut/pull-request/32 (In reply to Pavel Valena from comment #15) > FYI I've added the fix to the prepared Rawhide PR, soon to be merged: > https://src.fedoraproject.org/rpms/dracut/pull-request/32 Thank you, works for me in my local tests with Rawhide and anaconda part of the fix. 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-2023:2547 |