[yast-devel] Re: [yast-commit] r67572 - in /branches/SuSE-Code-11-SP2-Branch/network: VERSION package/yast2-network.changes src/modules/Lan.ycp
On 03/07/2012 11:16 AM, mvidner@svn2.opensuse.org 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: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (1)
-
Lukas Ocilka