Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1612131 - dracut: infinite loop when using rd.neednet=1 unless there is a wired network interface with carrier signal present
Summary: dracut: infinite loop when using rd.neednet=1 unless there is a wired network...
Keywords:
Status: CLOSED DUPLICATE of bug 1574413
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-03 14:30 UTC by Javier Martinez Canillas
Modified: 2018-09-12 11:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-12 11:16:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Javier Martinez Canillas 2018-08-03 14:30:04 UTC
Description of problem:

When adding the rd.neednet=1 parameter to the kernel command line on a system that either has no wired interface or an interface without its carrier signal present, dracut enters into an infinite loop caused by the /lib/dracut/hooks/initqueue/finished/wait-network.sh script.

Version-Release number of selected component (if applicable):

dracut-048-14.git20180726.fc28.x86_64

How reproducible:

Easy

Steps to Reproduce:
1. Generate a initramfs with the mentioned dracut version
2. Add the rd.neednet=1 parameter to the kernel command line
3. Boot a machine that doesn't have a wired network interface with its carrier signal present.

Actual results:

Dracut enters into an infinite loop and the system does not boot.

Expected results:

The system should always boot when adding rd.neednet=1 to the kernel command line parameters.

Additional info:

The regression was introduced by the following upstream commit:

https://github.com/dracutdevs/dracut/commit/f0094476fd8

Comment 1 Javier Martinez Canillas 2018-09-12 11:16:33 UTC

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


Note You need to log in before you can comment on or make changes to this bug.