Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2018-05-11 14:26:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-network (Old) and /work/SRC/openSUSE:Factory/.yast2-network.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network" Fri May 11 14:26:54 2018 rev:385 rq:605776 version:4.0.31 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2018-04-26 13:31:54.965525189 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-network.new/yast2-network.changes 2018-05-11 14:26:58.830914198 +0200 @@ -1,0 +2,8 @@ +Wed May 9 10:35:36 UTC 2018 - [email protected] + +- Fix the check for adjusting ifcfg configuration in case of + network based root filesystem when saving the network at the end + of the installation (bsc#1090752). +- 4.0.31 + +------------------------------------------------------------------- Old: ---- yast2-network-4.0.30.tar.bz2 New: ---- yast2-network-4.0.31.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.fThCtr/_old 2018-05-11 14:26:59.998871761 +0200 +++ /var/tmp/diff_new_pack.fThCtr/_new 2018-05-11 14:27:00.002871616 +0200 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.0.30 +Version: 4.0.31 Release: 0 BuildArch: noarch ++++++ yast2-network-4.0.30.tar.bz2 -> yast2-network-4.0.31.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.0.30/package/yast2-network.changes new/yast2-network-4.0.31/package/yast2-network.changes --- old/yast2-network-4.0.30/package/yast2-network.changes 2018-04-25 14:52:17.000000000 +0200 +++ new/yast2-network-4.0.31/package/yast2-network.changes 2018-05-09 15:48:51.000000000 +0200 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed May 9 10:35:36 UTC 2018 - [email protected] + +- Fix the check for adjusting ifcfg configuration in case of + network based root filesystem when saving the network at the end + of the installation (bsc#1090752). +- 4.0.31 + +------------------------------------------------------------------- Wed Apr 25 08:31:35 UTC 2018 - [email protected] - Y2remote: When vnc is disabled disable also all the services that diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.0.30/package/yast2-network.spec new/yast2-network-4.0.31/package/yast2-network.spec --- old/yast2-network-4.0.30/package/yast2-network.spec 2018-04-25 14:52:17.000000000 +0200 +++ new/yast2-network-4.0.31/package/yast2-network.spec 2018-05-09 15:48:51.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 4.0.30 +Version: 4.0.31 Release: 0 BuildArch: noarch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.0.30/src/lib/network/clients/save_network.rb new/yast2-network-4.0.31/src/lib/network/clients/save_network.rb --- old/yast2-network-4.0.30/src/lib/network/clients/save_network.rb 2018-04-25 14:52:17.000000000 +0200 +++ new/yast2-network-4.0.31/src/lib/network/clients/save_network.rb 2018-05-09 15:48:51.000000000 +0200 @@ -37,16 +37,14 @@ # storage-ng # Check if installation is targeted to a remote destination. devicegraph = Y2Storage::StorageManager.instance.staging - is_disk_in_network = devicegraph.filesystem_in_network?( - Installation.destdir - ) + is_disk_in_network = devicegraph.filesystem_in_network?("/") if !is_disk_in_network - log.info("Directory \"#{Installation.destdir}\" is not on a network based device") + log.info("Root filesystem is not on a network based device") return end - log.info("Directory \"#{Installation.destdir}\" is on a network based device") + log.info("Root filesystem is on a network based device") # tune ifcfg file for remote filesystem SCR.Execute( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.0.30/src/modules/Lan.rb new/yast2-network-4.0.31/src/modules/Lan.rb --- old/yast2-network-4.0.30/src/modules/Lan.rb 2018-04-25 14:52:17.000000000 +0200 +++ new/yast2-network-4.0.31/src/modules/Lan.rb 2018-05-09 15:48:51.000000000 +0200 @@ -286,9 +286,6 @@ end return false if Abort() - - return false if Abort() - # Progress step 1/8 ProgressNextStage(_("Detecting ndiswrapper...")) if @gui # modprobe ndiswrapper before hwinfo when needed (#343893) if !Mode.autoinst && PackageSystem.Installed("ndiswrapper") @@ -325,11 +322,9 @@ end end - # ReadHardware(""); /* TESTING Builtins.sleep(sl) return false if Abort() - # Progress step 2/8 ProgressNextStage(_("Detecting network devices...")) if @gui # Dont read hardware data in config mode NetHwDetection.Start if !Mode.config @@ -337,14 +332,12 @@ Builtins.sleep(sl) return false if Abort() - # Progress step 3/8 - multiple devices may be present, really plural ProgressNextStage(_("Reading device configuration...")) if @gui LanItems.Read Builtins.sleep(sl) return false if Abort() - # Progress step 4/8 ProgressNextStage(_("Reading network configuration...")) if @gui begin NetworkConfig.Read @@ -354,7 +347,6 @@ Builtins.sleep(sl) return false if Abort() - # Progress step 5/8 ProgressNextStage(_("Reading hostname and DNS configuration...")) if @gui DNS.Read @@ -362,18 +354,11 @@ Builtins.sleep(sl) return false if Abort() - # Progress step 6/8 - ProgressNextStage(_("Reading installation information...")) if @gui - Builtins.sleep(sl) - - return false if Abort() - # Progress step 7/8 ProgressNextStage(_("Reading routing configuration...")) if @gui Routing.Read Builtins.sleep(sl) return false if Abort() - # Progress step 8/8 ProgressNextStage(_("Detecting current status...")) if @gui NetworkService.Read Builtins.sleep(sl) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-4.0.30/test/save_network_test.rb new/yast2-network-4.0.31/test/save_network_test.rb --- old/yast2-network-4.0.30/test/save_network_test.rb 2018-04-25 14:52:17.000000000 +0200 +++ new/yast2-network-4.0.31/test/save_network_test.rb 2018-05-09 15:48:51.000000000 +0200 @@ -22,13 +22,13 @@ Y2Storage::StorageManager.create_test_instance staging = Y2Storage::StorageManager.instance.staging - allow(staging).to receive(:filesystem_in_network?).and_return(in_network) + allow(staging).to receive(:filesystem_in_network?).with("/").and_return(in_network) allow(subject).to receive(:save_network) # Mainly for import subject.main end - context "when installation directory is in a network device" do + context "when the root filesystem of the target system is in a network device" do let(:in_network) { true } it "tunes ifcfg file for remote filesystem" do @@ -38,7 +38,7 @@ end end - context "when installation directory is in a local device" do + context "when the root filesystem of the target system is in a local device" do let(:in_network) { false } it "does not touch any configuration file" do
