[yast-commit] r67312 - in /branches/SuSE-Code-11-SP2-Branch/network: VERSION package/yast2-network.changes src/modules/LanItems.ycp
Author: mvidner Date: Thu Jan 26 16:15:52 2012 New Revision: 67312 URL: http://svn.opensuse.org/viewcvs/yast?rev=67312&view=rev Log: Ensure persistent interface names by retriggering udev events after we have written an incomplete 70-persistent-net.rules (bnc#721520). 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/LanItems.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=67312&r1=67311&r2=67312&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/network/VERSION Thu Jan 26 16:15:52 2012 @@ -1 +1 @@ -2.17.169 +2.17.170 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=67312&r1=67311&r2=67312&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 Thu Jan 26 16:15:52 2012 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Thu Jan 26 16:05:05 CET 2012 - mvidner@suse.cz + +- Ensure persistent interface names by retriggering udev events + after we have written an incomplete 70-persistent-net.rules + (bnc#721520). +- 2.17.170 + +------------------------------------------------------------------- Wed Jan 25 13:22:14 CET 2012 - mvidner@suse.cz - Filter out the last Chelsio device (bnc#711432#c88). Modified: branches/SuSE-Code-11-SP2-Branch/network/src/modules/LanItems.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/network/src/modules/LanItems.ycp?rev=67312&r1=67311&r2=67312&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/network/src/modules/LanItems.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/network/src/modules/LanItems.ycp Thu Jan 26 16:15:52 2012 @@ -251,6 +251,12 @@ }); SCR::Write(.udev_persistent.rules, net_rules); SCR::Write(.udev_persistent.nil, []); + // When configuring a new s390 card, we neglect to fill + // its Items[i, "udev", "net"], causing jumbled names (bnc#721520) + // The udev trigger will will make udev write the persistent names + // (which it already has done, but we have overwritten them now). + SCR::Execute(.target.bash, "udevadm trigger --subsystem-match=net"); + y2milestone("Changed devices %1", changed_devices); if (size(changed_devices)>0) { string cmd = "rcnetwork stop && udevadm trigger --subsystem-match=net && rcnetwork start"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn2.opensuse.org