View Issue Details

IDProjectCategoryView StatusLast Update
0017129CentOS-8dracutpublic2020-03-11 15:49
Reporterolahaye74 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version8.1.1911 
Target VersionFixed in Version 
Summary0017129: 35network-manager module doesn't trigger initqueue/online hook when network devices are set up
Description35network-manager module doesn't trigger initqueue/online hook when network devices are set up

Issue reported here:
https://github.com/dracutdevs/dracut/issues/756

All modules requiring "network" and having an online hook will fail (no online hook will be run)

As SystemImager developper a critically depends on this hook with will run the main SystemImager logic.
Steps To ReproduceCreate a basic module with depend "network" with an initqueue/online hook that touch /tmp/foo and an initqueue/finished that exit 0 if /tmp/foo exists or exit 1 if /tmp/foo doesn't exists.
expected result: no problem.
actual result: initqueue/timout scripts are triggered
TagsNo tags attached.

Activities

olahaye74

olahaye74

2020-03-11 15:49

reporter   ~0036491

Bug found!:
file dracut/modules.d/35network-manager/nm-run.sh lack a critical line: source_hook initqueue/online $ifname

Line 22 here https://github.com/dracutdevs/dracut/blob/fc6f458c3becd55277d1ab87d1608f0fe1fccf08/modules.d/35network-manager/nm-run.sh#L22
If this line is missing, there is no code to run the online hook.

Please fix (easy fix)

Issue History

Date Modified Username Field Change
2020-03-10 16:37 olahaye74 New Issue
2020-03-11 15:49 olahaye74 Note Added: 0036491