Author: mvidner Date: Wed Mar 7 11:16:40 2012 New Revision: 67572 URL: http://svn.opensuse.org/viewcvs/yast?rev=67572&view=rev Log: Sleep between writing udev rules and ifcfgs (bnc#749365) so that rcnetwork reload works Modified: branches/SuSE-Code-11-SP2-Branch/network/VERSION branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-Code-11-SP2-Branch/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/VERSION?rev=67572&r1=67571&r2=67572&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/network/VERSION Wed Mar 7 11:16:40 2012 @@ -1 +1 @@ -2.17.171 +2.17.172 Modified: branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes?rev=67572&r1=67571&r2=67572&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/network/package/yast2-network.changes Wed Mar 7 11:16:40 2012 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Mar 7 11:10:31 CET 2012 - mvidner@suse.cz + +- Sleep between writing udev rules and ifcfgs so that + rcnetwork reload works (bnc#749365) +- 2.17.172 + +------------------------------------------------------------------- Fri Feb 3 13:52:59 CET 2012 - mvidner@suse.cz - Fix detection of properly configured LCS and CTC devices (bnc#741071#c20) Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/src/modules/Lan.ycp?rev=67572&r1=67571&r2=67572&view=diff ============================================================================== --- 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(""); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org