Red Hat Bugzilla – Bug 1007476
udevadm trigger --type=devices with 70-persistent-net.rules calls ifup on devices whose ifcfg contains ONBOOT=no
Last modified: 2016-11-25 08:04:46 EST
Description of problem:
Calling "udevadm trigger --type=devices" will ifup all network devices, including those with ONBOOT=no in their ifcfg files.
Version-Release number of selected component (if applicable):
udev rpm: udev-147-2.46.el6.x86_64
initscripts rpm: initscripts-9.03.38-1.el6.x86_64
Steps to Reproduce:
1. ifdown an interface (eth1 for example)
2. set ONBOOT=no in its ifcfg file
3. Call udevadm trigger --type=devices
ifup called on eth1
ifup not called on eth1
I think that setting HOTPLUG=no would be a proper solution here.
(In reply to Lukáš Nykrýn from comment #2)
> I think that setting HOTPLUG=no would be a proper solution here.
Do you mean adding that to all ifcfg files? it is not really an option... but after reviewing the entire initscripts, I understand you point of view.