Mailinglist Archive: yast-devel (21 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] r67572 - in /branches/SuSE-Code-11-SP2-Branch/network: VERSION package/yast2-network.changes src/modules/Lan.ycp
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Wed, 07 Mar 2012 11:35:10 +0100
  • Message-id: <4F5739DE.4070809@suse.cz>
On 03/07/2012 11:16 AM, mvidner@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages