Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2013-04-03 13:09:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-network (Old) and /work/SRC/openSUSE:Factory/.yast2-network.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network", Maintainer is "mfi...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2013-03-01 09:11:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-network.new/yast2-network.changes 2013-04-03 13:10:00.000000000 +0200 @@ -1,0 +2,19 @@ +Tue Mar 5 16:05:05 CET 2013 - mvid...@suse.cz + +- Adopted to restart / reload using NetworkService instead Service, + that has been changed to use network.service alias link installed + by NetworkManager.service while "systemctl enable" and obsoletes + the NETWORKMANAGER=yes/no variable in /etc/sysconfig/network/config + (bnc#764055,bnc#764336,bnc#798348, by m...@suse.com) +- Requires sysconfig >= 0.80.0 and yast2 >= 2.23.20 +- 2.24.16 + +------------------------------------------------------------------- +Wed Feb 27 22:42:42 UTC 2013 - mfi...@suse.com + +- fate#313548, fate#309055 and fate#100011 in general. Removed + SUSEconfig calls for postfix and sendmail. Also related to + bnc#786665 +- 2.24.15 + +------------------------------------------------------------------- Old: ---- yast2-network-2.24.14.tar.bz2 New: ---- yast2-network-2.24.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.zmL7MI/_old 2013-04-03 13:10:02.000000000 +0200 +++ /var/tmp/diff_new_pack.zmL7MI/_new 2013-04-03 13:10:02.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-network -Version: 2.24.14 +Version: 2.24.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -33,12 +33,13 @@ BuildRequires: yast2-installation >= 2.15.27 BuildRequires: yast2-testsuite -# yast2 v2.23.19 - Checking for systemd services extended with /etc/init.d path -BuildRequires: yast2 >= 2.23.19 -Requires: yast2 >= 2.23.6 +# yast2 v2.23.22: NetworkService handles +# systemd link network.service->NetworkManager.service +BuildRequires: yast2 >= 2.23.22 +Requires: yast2 >= 2.23.22 #netconfig (FaTE #303618) -Requires: sysconfig >= 0.71.2 +Requires: sysconfig >= 0.80.0 #GetLanguageCountry #(in newly created yast2-country-data) Requires: yast2-country-data >= 2.16.3 ++++++ yast2-network-2.24.14.tar.bz2 -> yast2-network-2.24.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/VERSION new/yast2-network-2.24.16/VERSION --- old/yast2-network-2.24.14/VERSION 2013-02-12 15:01:36.000000000 +0100 +++ new/yast2-network-2.24.16/VERSION 2013-03-06 10:20:50.000000000 +0100 @@ -1 +1 @@ -2.24.14 +2.24.16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/configure new/yast2-network-2.24.16/configure --- old/yast2-network-2.24.14/configure 2013-02-26 17:56:28.000000000 +0100 +++ new/yast2-network-2.24.16/configure 2013-03-26 17:55:04.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-network 2.24.14. +# Generated by GNU Autoconf 2.69 for yast2-network 2.24.16. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='yast2-network' PACKAGE_TARNAME='yast2-network' -PACKAGE_VERSION='2.24.14' -PACKAGE_STRING='yast2-network 2.24.14' +PACKAGE_VERSION='2.24.16' +PACKAGE_STRING='yast2-network 2.24.16' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1247,7 +1247,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-network 2.24.14 to adapt to many kinds of systems. +\`configure' configures yast2-network 2.24.16 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1318,7 +1318,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-network 2.24.14:";; + short | recursive ) echo "Configuration of yast2-network 2.24.16:";; esac cat <<\_ACEOF @@ -1398,7 +1398,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-network configure 2.24.14 +yast2-network configure 2.24.16 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1415,7 +1415,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-network $as_me 2.24.14, which was +It was created by yast2-network $as_me 2.24.16, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2354,7 +2354,7 @@ # Define the identity of the package. PACKAGE='yast2-network' - VERSION='2.24.14' + VERSION='2.24.16' cat >>confdefs.h <<_ACEOF @@ -2477,7 +2477,7 @@ -VERSION="2.24.14" +VERSION="2.24.16" RPMNAME="yast2-network" MAINTAINER="Michal Filka <mfi...@suse.com>" @@ -3403,7 +3403,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-network $as_me 2.24.14, which was +This file was extended by yast2-network $as_me 2.24.16, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3456,7 +3456,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-network config.status 2.24.14 +yast2-network config.status 2.24.16 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/configure.in new/yast2-network-2.24.16/configure.in --- old/yast2-network-2.24.14/configure.in 2013-02-26 17:56:23.000000000 +0100 +++ new/yast2-network-2.24.16/configure.in 2013-03-26 17:55:00.000000000 +0100 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-network, 2.24.14, http://bugs.opensuse.org/, yast2-network) +AC_INIT(yast2-network, 2.24.16, http://bugs.opensuse.org/, yast2-network) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) dnl Important YaST2 variables -VERSION="2.24.14" +VERSION="2.24.16" RPMNAME="yast2-network" MAINTAINER="Michal Filka <mfi...@suse.com>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/src/modules/DNS.ycp new/yast2-network-2.24.16/src/modules/DNS.ycp --- old/yast2-network-2.24.14/src/modules/DNS.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/src/modules/DNS.ycp 2013-03-01 13:16:35.000000000 +0100 @@ -293,7 +293,7 @@ /* Progress stage 1 */ _("Write hostname"), /* Progress stage 2 */ - _("Run SuSEconfig"), + _("Update configuration"), /* Progress stage 3 */ _("Update /etc/resolv.conf") ]; @@ -318,7 +318,7 @@ sleep(sl); /* Progress step 2/3 */ - ProgressNextStage(_("Running SuSEconfig...")); + ProgressNextStage(_("Updating configuration...")); /* Finish him */ RunSuSEconfig(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/src/modules/ISDN.ycp new/yast2-network-2.24.16/src/modules/ISDN.ycp --- old/yast2-network-2.24.14/src/modules/ISDN.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/src/modules/ISDN.ycp 2013-03-01 13:16:35.000000000 +0100 @@ -402,7 +402,7 @@ // stage 6/13 plist = add(plist, _("Write providers")); // stage 7/13 - plist = add(plist, _("Run SuSEconfig")); + plist = add(plist, _("Update configuration...")); if (start) { steps = 8; // stage 8/13 @@ -475,8 +475,8 @@ if(Abort()) return false; // step 7 in writing current ISDN setup - ProgressNextStage(_("Running SuSEconfig...")); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module isdn"); + ProgressNextStage(_("Updating configuration...")); + SCR::Execute(.target.bash, "/etc/sysconfig/isdn/scripts/postprocess.isdn"); sleep(sl); if(Abort()) return false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/src/modules/Lan.ycp new/yast2-network-2.24.16/src/modules/Lan.ycp --- old/yast2-network-2.24.14/src/modules/Lan.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/src/modules/Lan.ycp 2013-03-06 10:20:50.000000000 +0100 @@ -123,7 +123,7 @@ */ global boolean Modified() { boolean ret = LanItems::GetModified() || DNS::modified || Routing::Modified() || - NetworkConfig::Modified(); + NetworkConfig::Modified() || NetworkService::Modified(); return ret; } @@ -442,7 +442,7 @@ /* Progress stage 9 */ if (!write_only) step_labels = add(step_labels, _("Activate network services")); /* Progress stage 10 */ - step_labels=add(step_labels, _("Run SuSEconfig")); + step_labels=add(step_labels, _("Update configuration")); if (!NetworkService::IsManaged() && /*(boolean) SCR::Read(.init.scripts.exists, "smpppd") &&*/ !write_only ) { /* Progress stage 11 */ @@ -556,7 +556,7 @@ any ret = UI::TimeoutUserInput(10*1000); if (ret==`ok){ y2internal("Restarting network because of bridged proposal"); - Service::Restart("network"); + NetworkService::Restart(); } UI::CloseDialog(); } @@ -565,17 +565,15 @@ else if (Stage::cont() && (Linuxrc::usessh() || Linuxrc::vnc() || Linuxrc::display_ip())) y2milestone("For ssh or vnc installation don't reload/restart network during installation."); else if (LanItems::force_restart) - Service::Restart("network"); - else if(Service::Status("network")==0){ - Service::Reload("network"); - } - else Service::Restart("network"); + NetworkService::Restart(); + else + NetworkService::ReloadOrRestart(); sleep(sl); } if(Abort()) return false; /* Progress step 10 */ - ProgressNextStage(_("Running SuSEconfig...")); + ProgressNextStage(_("Updating configuration...")); if(!write_only) RunSuSEconfig(); sleep(sl); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/src/modules/Remote.ycp new/yast2-network-2.24.16/src/modules/Remote.ycp --- old/yast2-network-2.24.14/src/modules/Remote.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/src/modules/Remote.ycp 2013-03-01 13:16:35.000000000 +0100 @@ -138,8 +138,7 @@ ]; if (Mode::normal()) { - /* Progress stage 3+4 */ - steps = add( steps, _("Run SuSEconfig") ); + /* Progress stage 3 */ steps = add( steps, _("Restart the services") ); } @@ -222,16 +221,6 @@ sleep(sl); if(Mode::normal ()) { - ProgressNextStage(_("Running SuSEconfig...")); - /* no longer needed - have been dropped from SuSEconfig - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module xdm"); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module kde3"); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module kdm3");*/ - - //Still needed for enabling/disabling remote administration - //because 'rcxdm reload' kills running X session if gdm is used - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module gdm"); - sleep(sl); boolean dm_was_running = Service::Status("xdm") == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/src/routines/runtime.ycp new/yast2-network-2.24.16/src/routines/runtime.ycp --- old/yast2-network-2.24.14/src/routines/runtime.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/src/routines/runtime.ycp 2013-03-01 13:16:35.000000000 +0100 @@ -45,29 +45,13 @@ * @return true if success */ define boolean RunSuSEconfig() { - y2milestone("Running SuSEconfig ..."); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module apache 2>/dev/null"); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module sendmail 2>/dev/null"); - SCR::Execute(.target.bash, "/sbin/SuSEconfig --module postfix 2>/dev/null"); + y2milestone("Updating sendmail and/or postfix configuration."); + SCR::Execute(.target.bash, "/usr/lib/sendmail.d/update 2>/dev/null"); + SCR::Execute(.target.bash, "/usr/sbin/config.postfix 2>/dev/null"); return true; } /** - * Run one SuSEconfig module - * @param modul SuSEconfig module - * @return true if success - */ -define boolean RunSuSEconfigModule(string modul) { - if(modul == nil || modul == "") { - y2error("Wrong SuSEconfig module: %1", modul); - return false; - } - y2milestone("Running SuSEconfig module %1", modul); - return (SCR::Execute(.target.bash, sformat("/sbin/SuSEconfig --module %1", modul)) == 0); -} - - -/** * Link detection * @return true if link found * @see ethtool(8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/testsuite/tests/runtime.out new/yast2-network-2.24.16/testsuite/tests/runtime.out --- old/yast2-network-2.24.14/testsuite/tests/runtime.out 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/testsuite/tests/runtime.out 2013-03-01 13:16:35.000000000 +0100 @@ -1,17 +1,10 @@ Dump RunSuSEconfig -Execute .target.bash "/sbin/SuSEconfig --module apache 2>/dev/null" 0 -Execute .target.bash "/sbin/SuSEconfig --module sendmail 2>/dev/null" 0 -Execute .target.bash "/sbin/SuSEconfig --module postfix 2>/dev/null" 0 +Execute .target.bash "/usr/lib/sendmail.d/update 2>/dev/null" 0 +Execute .target.bash "/usr/sbin/config.postfix 2>/dev/null" 0 Return true -Execute .target.bash "/sbin/SuSEconfig --module apache 2>/dev/null" 1 -Execute .target.bash "/sbin/SuSEconfig --module sendmail 2>/dev/null" 1 -Execute .target.bash "/sbin/SuSEconfig --module postfix 2>/dev/null" 1 +Execute .target.bash "/usr/lib/sendmail.d/update 2>/dev/null" 1 +Execute .target.bash "/usr/sbin/config.postfix 2>/dev/null" 1 Return true -Dump RunSuSEconfigModule -Execute .target.bash "/sbin/SuSEconfig --module postfix" 0 -Return true -Execute .target.bash "/sbin/SuSEconfig --module postfix" 1 -Return false Dump SetupSMPPPD Return true Return false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.24.14/testsuite/tests/runtime.ycp new/yast2-network-2.24.16/testsuite/tests/runtime.ycp --- old/yast2-network-2.24.14/testsuite/tests/runtime.ycp 2013-01-22 11:31:22.000000000 +0100 +++ new/yast2-network-2.24.16/testsuite/tests/runtime.ycp 2013-03-01 13:16:35.000000000 +0100 @@ -90,10 +90,6 @@ TEST(``(RunSuSEconfig()), [$[],$[],EXEC0], nil); TEST(``(RunSuSEconfig()), [$[],$[],EXEC1], nil); -DUMP("RunSuSEconfigModule"); -TEST(``(RunSuSEconfigModule("postfix")), [$[],$[],EXEC0], nil); -TEST(``(RunSuSEconfigModule("postfix")), [$[],$[],EXEC1], nil); - import "NetworkInterfaces"; NetworkInterfaces::Devices = $[ "dsl" : $[ "0" : $[] ]]; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org