Hello community,
here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2019-02-04 16:10:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Mon Feb 4 16:10:02 2019 rev:415 rq:670588 version:4.1.35
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2018-12-31 09:44:15.886321007 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-installation.new.28833/yast2-installation.changes 2019-02-04 16:10:03.929986002 +0100
@@ -1,0 +2,22 @@
+Fri Feb 1 13:13:31 CET 2019 - schubi@suse.de
+
+- Copying SSH keys from a privious installation into the new one:
+ Set the right file permissions for the SSH deamon (bnc#1122303).
+- 4.1.35
+
+-------------------------------------------------------------------
+Thu Jan 3 10:51:28 UTC 2019 - jreidinger@suse.com
+
+- remove no longer used SCR agents without replacement:
+ sysconfig.boot, sysconfig.fam, etc.passwd and
+ install_inf workarounds for aliases and options
+- remove no longer used clients:
+ - inst_ask_online_update replaced by registration for SLE and
+ online_repos for openSUSE.
+ - inst_check_autoinst_mode dropped without replacement. Floppy
+ support was dropped.
+ - inst_scenarios replaced by system roles.
+ - update_wizard_steps replaced by direct call of code without
+ client
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-4.1.34.tar.bz2
New:
----
yast2-installation-4.1.35.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.FUBzNa/_old 2019-02-04 16:10:04.517985636 +0100
+++ /var/tmp/diff_new_pack.FUBzNa/_new 2019-02-04 16:10:04.517985636 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-installation
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 4.1.34
+Version: 4.1.35
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -233,13 +233,8 @@
%{yast_libdir}/transfer
# agents
-%{yast_scrconfdir}/etc_passwd.scr
-%{yast_scrconfdir}/cfg_boot.scr
%{yast_scrconfdir}/cfg_windowmanager.scr
-%{yast_scrconfdir}/cfg_fam.scr
%{yast_scrconfdir}/etc_install_inf.scr
-%{yast_scrconfdir}/etc_install_inf_alias.scr
-%{yast_scrconfdir}/etc_install_inf_options.scr
%{yast_scrconfdir}/run_df.scr
# fillup
%{_fillupdir}/sysconfig.security-checksig
++++++ yast2-installation-4.1.34.tar.bz2 -> yast2-installation-4.1.35.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/doc/control-file.md new/yast2-installation-4.1.35/doc/control-file.md
--- old/yast2-installation-4.1.34/doc/control-file.md 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/doc/control-file.md 2019-02-01 15:06:41.000000000 +0100
@@ -727,7 +727,7 @@
```
They were requested in FATE#317481 and they are an evolution of the earlier
-concept of Server Scenarios used in SLE 11.
+concept of Server Scenarios used in SLE 11. The server scenarios were dropped.
Example:
@@ -807,107 +807,6 @@
The *services* part currently only supports enabling additional services which
is done by specifying *service* with its *name* as seen in the example.
-### System Scenarios
-
-System scenarios contain the definition of the *inst\_scenarios* dialog in the
-first stage installation. It offers several base scenarios, but only one
-of them can be selected.
-
-Example of configured scenarios:
-
-```xml
- http://www.suse.com/1.0/yast2ns"
- xmlns:config="http://www.suse.com/1.0/configns">
- <software>
-
- <!-- list of supported scenarios -->
-
-
- <!-- one scenario -->
-
- <!-- 'id' matches the text 'scenario_game_server' -->
- <id>scenario_game_server</id>
- <!-- space-separated list of patterns -->
- <patterns>game_server-pattern high-load-server</patterns>
- <!-- plain icon filename (from the 32x32 directory) without suffix -->
- <icon>yast-system</icon>
-
-
-
- <id>scenario_web_server</id>
- <patterns>web_server-pattern</patterns>
- <icon>yast-http-server</icon>
-
-
-
- <id>scenario_nfs_server</id>
- <patterns>nfs_server-pattern</patterns>
- <icon>yast-nfs-server</icon>
-
-
-
-
- <!-- this scenario (id) is selected by default -->
- scenario_nfs_server
-
- </software>
-
- <texts>
-
- <!-- dialog caption -->
- <label>Server Base Scenario</label>
- <!-- informative text between caption and listed scenarios -->
- <label>SUSE Linux Enterprise Server offers several base scenarios.
- Choose the one that matches your server the best.</label>
-
- <!-- matches the 'id' of one 'system_scenario' -->
- <label>Game Server</label>
- <label>Web Server</label>
- <label>NFS Server</label>
-
- </texts>
- </productDefines>
-```
-
-System scenarios are defined in the *software* section. The
-*system\_scenarios* section consists of several *system\_scenario* definitions.
-Each *system\_scenario* consists of:
-
-- *id* - unique identificator of a selection.
-
-- *patterns* - space-separated list of patterns covering the software
- scenario.
-
-- *icon* - plain icon filename (from the 32x32 theme directory) without
- suffix.
-
-Selection labels must be defined in the [texts](#control_texts) section.
-Scenarios *id*s are used as link identificators.
-
-```xml
- <software>
-
- <id></id>
-
- </software>
-
- <texts>
- <><label>Some Label</label>>
- </texts>
-```
-
-The *software* section can also contain an optional *default\_system\_scenario*
-that defines the id of the default scenario.
-
-There are some important texts that have to be defined for the dialog
-layout:
-
-- *scenarios\_caption* - used as a dialog caption for the "scenarios"
- dialog.
-
-- *scenarios\_text* - used as an informative text describing the
- available selections below.
-
### Partitioning
**Note:** this section describes the format implemented by yast2-storage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/package/yast2-installation.changes new/yast2-installation-4.1.35/package/yast2-installation.changes
--- old/yast2-installation-4.1.34/package/yast2-installation.changes 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/package/yast2-installation.changes 2019-02-01 15:06:41.000000000 +0100
@@ -1,4 +1,26 @@
+Fri Feb 1 13:13:31 CET 2019 - schubi@suse.de
+
+- Copying SSH keys from a privious installation into the new one:
+ Set the right file permissions for the SSH deamon (bnc#1122303).
+- 4.1.35
+
+-------------------------------------------------------------------
+Thu Jan 3 10:51:28 UTC 2019 - jreidinger@suse.com
+
+- remove no longer used SCR agents without replacement:
+ sysconfig.boot, sysconfig.fam, etc.passwd and
+ install_inf workarounds for aliases and options
+- remove no longer used clients:
+ - inst_ask_online_update replaced by registration for SLE and
+ online_repos for openSUSE.
+ - inst_check_autoinst_mode dropped without replacement. Floppy
+ support was dropped.
+ - inst_scenarios replaced by system roles.
+ - update_wizard_steps replaced by direct call of code without
+ client
+
+-------------------------------------------------------------------
Mon Dec 17 09:03:47 UTC 2018 - jlopez@suse.com
- Hardening commands execution (part of bsc#1118291).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/package/yast2-installation.spec new/yast2-installation-4.1.35/package/yast2-installation.spec
--- old/yast2-installation-4.1.34/package/yast2-installation.spec 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/package/yast2-installation.spec 2019-02-01 15:06:41.000000000 +0100
@@ -16,7 +16,7 @@
#
Name: yast2-installation
-Version: 4.1.34
+Version: 4.1.35
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -232,13 +232,8 @@
%{yast_libdir}/transfer
# agents
-%{yast_scrconfdir}/etc_passwd.scr
-%{yast_scrconfdir}/cfg_boot.scr
%{yast_scrconfdir}/cfg_windowmanager.scr
-%{yast_scrconfdir}/cfg_fam.scr
%{yast_scrconfdir}/etc_install_inf.scr
-%{yast_scrconfdir}/etc_install_inf_alias.scr
-%{yast_scrconfdir}/etc_install_inf_options.scr
%{yast_scrconfdir}/run_df.scr
# fillup
%{_fillupdir}/sysconfig.security-checksig
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/clients/inst_ask_online_update.rb new/yast2-installation-4.1.35/src/clients/inst_ask_online_update.rb
--- old/yast2-installation-4.1.34/src/clients/inst_ask_online_update.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/clients/inst_ask_online_update.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-require "installation/clients/inst_ask_online_update"
-Yast::InstAskOnlineUpdateClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/clients/inst_check_autoinst_mode.rb new/yast2-installation-4.1.35/src/clients/inst_check_autoinst_mode.rb
--- old/yast2-installation-4.1.34/src/clients/inst_check_autoinst_mode.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/clients/inst_check_autoinst_mode.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-require "installation/clients/inst_check_autoinst_mode"
-Yast::InstCheckAutoinstModeClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/clients/inst_scenarios.rb new/yast2-installation-4.1.35/src/clients/inst_scenarios.rb
--- old/yast2-installation-4.1.34/src/clients/inst_scenarios.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/clients/inst_scenarios.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-require "installation/clients/inst_scenarios"
-Yast::InstScenariosClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/clients/update_wizard_steps.rb new/yast2-installation-4.1.35/src/clients/update_wizard_steps.rb
--- old/yast2-installation-4.1.34/src/clients/update_wizard_steps.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/clients/update_wizard_steps.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-require "installation/clients/update_wizard_steps"
-Yast::UpdateWizardStepsClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/lib/installation/clients/inst_ask_online_update.rb new/yast2-installation-4.1.35/src/lib/installation/clients/inst_ask_online_update.rb
--- old/yast2-installation-4.1.34/src/lib/installation/clients/inst_ask_online_update.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/lib/installation/clients/inst_ask_online_update.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,160 +0,0 @@
-# encoding: utf-8
-
-# ------------------------------------------------------------------------------
-# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
-#
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of version 2 of the GNU General Public License as published by the
-# Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, contact Novell, Inc.
-#
-# To contact Novell about this file by physical or electronic mail, you may find
-# current contact information at www.novell.com.
-# ------------------------------------------------------------------------------
-
-# File: clients/inst_ask_online_update.ycp
-# Module: Installation
-# Summary: Ask if the user wants to run an online update during installation
-# Authors: J. Daniel Schmidt
-#
-# Ask if the user wants to run an online update during installation
-#
-# $Id: inst_ask_online_update.ycp 1 2006-02-17 13:20:02Z jdsn $
-module Yast
- class InstAskOnlineUpdateClient < Client
- def main
- Yast.import "Pkg"
- Yast.import "UI"
- textdomain "installation"
-
- # FIXME: move to yast2-registration later, it doesn't belog here
-
- Yast.import "Wizard"
- Yast.import "Popup"
- Yast.import "GetInstArgs"
- Yast.import "CustomDialogs"
- Yast.import "Directory"
- Yast.import "Language"
- Yast.import "Mode"
- Yast.import "String"
- Yast.import "Label"
- Yast.import "Internet"
- Yast.import "Installation"
- Yast.import "NetworkService"
-
- # BNC #572734
- if GetInstArgs.going_back
- Builtins.y2milestone("going_back -> returning `auto")
- return :auto
- end
-
- # BNC #450229
- # There used to be >if (!Internet::do_you)<
- if NetworkService.isNetworkRunning != true
- Builtins.y2milestone("No network running, skipping online update...")
- return :auto
- end
-
- @ui = UI.GetDisplayInfo
-
- @argmap = GetInstArgs.argmap
-
- # strings for "ask for online update"-popup
- @ask_update_run_btn = _("Run Update")
- @ask_update_skip_btn = _("Skip Update")
-
- @online_update = _("Online Update")
- @ask_update_main = _("Run Online Update now?")
-
- @help = _(
- "Select whether to run an online update now.\nYou may skip this step and run an online update later.\n"
- )
-
- # vv MAIN (WIZARD) LAYOUT vv
- @sr_layout = nil
- @sr_layout = HVSquash(
- VBox(
- Left(Label(@ask_update_main)),
- Left(
- RadioButtonGroup(
- Id(:run_update),
- HBox(
- HSpacing(1),
- VBox(
- Left(RadioButton(Id(:update), @ask_update_run_btn, true)),
- Left(RadioButton(Id(:noupdate), @ask_update_skip_btn))
- ),
- HSpacing(1)
- )
- )
- )
- )
- )
-
- @contents = VBox(VSpacing(0.5), @sr_layout, VSpacing(0.5))
- # ^^ END MAIN LAYOUT ^^
-
- # check if there are some patches available
-
- # BNC #447080
- Pkg.TargetInitialize(Installation.destdir)
- Pkg.TargetLoad
- Pkg.SourceStartManager(true)
-
- # Patches need solver run to be selected
- Pkg.PkgSolve(true)
-
- @selected = Pkg.ResolvableCountPatches(:affects_pkg_manager)
- Builtins.y2milestone(
- "Available patches for pkg management: %1",
- @selected
- )
- if Ops.less_than(@selected, 1)
- @selected = Pkg.ResolvableCountPatches(:all)
- Builtins.y2milestone("All available patches: %1", @selected)
- if Ops.less_than(@selected, 1)
- Builtins.y2milestone("No patch available, skiping offer to run YOU")
- Internet.do_you = false
- return :next
- end
- end
-
- # check if we are in installation workflow or running independently (for development)
- Wizard.CreateDialog if Mode.normal
-
- Wizard.SetContents(
- @online_update,
- @contents,
- @help,
- GetInstArgs.enable_back,
- GetInstArgs.enable_next
- )
-
- @ret = nil
- loop do
- @ret = Wizard.UserInput
-
- if @ret == :abort
- break if Mode.normal
- break if Popup.ConfirmAbort(:incomplete)
- elsif @ret == :help
- Wizard.ShowHelp(@help)
- elsif @ret == :next
- # Skipping online update
- # needed later BNC #450229
- Internet.do_you = !UI.QueryWidget(Id(:noupdate), :Value)
- end
- break if [:next, :back].include?(@ret)
- end
-
- Convert.to_symbol(@ret)
- end
- end
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/lib/installation/clients/inst_check_autoinst_mode.rb new/yast2-installation-4.1.35/src/lib/installation/clients/inst_check_autoinst_mode.rb
--- old/yast2-installation-4.1.34/src/lib/installation/clients/inst_check_autoinst_mode.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/lib/installation/clients/inst_check_autoinst_mode.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,77 +0,0 @@
-# encoding: utf-8
-
-# ------------------------------------------------------------------------------
-# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
-#
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of version 2 of the GNU General Public License as published by the
-# Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, contact Novell, Inc.
-#
-# To contact Novell about this file by physical or electronic mail, you may find
-# current contact information at www.novell.com.
-# ------------------------------------------------------------------------------
-
-# File: clients/inst_check_autoinst_mode.ycp
-# Package: Installation
-# Summary: Installation mode selection, checking for autoinst.xml on floppy
-# Authors: Lukas Ocilka
-#
-# $Id$
-#
-module Yast
- class InstCheckAutoinstModeClient < Client
- def main
- textdomain "installation"
-
-# storage-ng
-# rubocop:disable Style/BlockComments
-=begin
- Yast.import "StorageDevices"
-=end
- Yast.import "Mode"
-
- Builtins.y2milestone("Checking for autoinst.xml on floppy...")
-
-# storage-ng
-=begin
- # do we have a floppy drive attached ?
- if StorageDevices.FloppyReady
- # Try to load settings from disk, if a floppy is present
- SCR.Execute(
- path(".target.mount"),
- [StorageDevices.FloppyDevice, "/media/floppy"],
- "-t auto"
- )
-
- # Check for autoinst.xml. if available
- # set mode to autoinst. Later, the file is parsed and installation
- # is performed automatically.
-
- if Ops.greater_than(
- SCR.Read(path(".target.size"), "/media/floppy/autoinst.xml"),
- 0
- )
- Builtins.y2milestone("Found control file, switching to autoinst mode")
- Mode.SetMode("autoinstallation")
- # initialize Report behavior
- # Default in autoinst mode is showing messages and warnings with timeout of 10 sec.
- # Errors are shown without timeout.
- end
- SCR.Execute(path(".target.umount"), "/media/floppy")
- end
-=end
-
- true
-
- # EOF
- end
- end
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.1.34/src/lib/installation/clients/inst_scenarios.rb new/yast2-installation-4.1.35/src/lib/installation/clients/inst_scenarios.rb
--- old/yast2-installation-4.1.34/src/lib/installation/clients/inst_scenarios.rb 2018-12-17 16:18:09.000000000 +0100
+++ new/yast2-installation-4.1.35/src/lib/installation/clients/inst_scenarios.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,308 +0,0 @@
-# encoding: utf-8
-
-# ------------------------------------------------------------------------------
-# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
-#
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of version 2 of the GNU General Public License as published by the
-# Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, contact Novell, Inc.
-#
-# To contact Novell about this file by physical or electronic mail, you may find
-# current contact information at www.novell.com.
-# ------------------------------------------------------------------------------
-
-# File: clients/inst_scenarios.ycp
-# Package: Installation (First Stage)
-# Summary: Server/Desktop Scenarios
-# Authors: Lukas Ocilka
-#
-# $Id$
-module Yast
- class InstScenariosClient < Client
- def main
- Yast.import "UI"
- Yast.import "Pkg"
- # See FATE: #304373: Align installation process to use scenarios for Server in early stage
-
- textdomain "installation"
-
- Yast.import "Arch"
- Yast.import "ProductControl"
- Yast.import "ProductFeatures"
- Yast.import "Wizard"
- Yast.import "Icon"
- Yast.import "Installation"
- Yast.import "Popup"
- Yast.import "PackageCallbacks"
- Yast.import "Report"
- Yast.import "Packages"
- Yast.import "DefaultDesktop"
- Yast.import "PackagesProposal"
-
- @test_mode = false
-
- if Ops.greater_than(Builtins.size(WFM.Args), 0) &&
- Ops.is_string?(WFM.Args(0))
- Builtins.y2milestone("Args: %1", WFM.Args)
- @test_mode = true if WFM.Args(0) == "test"
- end
-
- # load supported scenarios from control file
- @any_scenarios = ProductFeatures.GetFeature(
- "software",
- "system_scenarios"
- )
-
- if @any_scenarios.nil? || @any_scenarios == "" || @any_scenarios == []
- Builtins.y2error("Undefined software->system_scenarios")
- return :auto
- end
-
- @system_scenarios = Convert.convert(
- @any_scenarios,
- from: "any",
- to: "list