View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017129 | CentOS-8 | dracut | public | 2020-03-10 16:37 | 2020-03-11 15:49 |
Reporter | olahaye74 | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 8.1.1911 | ||||
Summary | 0017129: 35network-manager module doesn't trigger initqueue/online hook when network devices are set up | ||||
Description | 35network-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 Reproduce | Create 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 | ||||
Tags | No tags attached. | ||||
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) |
|