On 03/07/2012 11:16 AM, [email protected] wrote:
Author: mvidner Date: Wed Mar 7 11:16:40 2012 New Revision: 67572--- branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Wed Mar 7 11:16:40 2012 @@ -462,6 +462,11 @@ ProgressNextStage(_("Writing device configuration...")); if (!Mode::autoinst()&& LanUdevAuto::AllowUdevModify()) { LanItems::WriteUdevDriverRules(); + // wait so that ifcfgs written in NetworkInterfaces are newer + // (1-second-wise) than netcontrol status files, + // and rcnetwork reload actually works (bnc#749365) + SCR::Execute(.target.bash, "udevadm settle"); + sleep(1000); } // hack: no "netcard" filter as biosdevname names it diferently (bnc#712232) NetworkInterfaces::Write("");
Looks like a bit strange workaround - it should be fixed in network scripts, not in network configuration module.
Bye Lukas -- Lukas Ocilka, Appliances Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
