Hello community,

here is the log from the commit of package yast2-ftp-server for 
openSUSE:Factory checked in at 2014-08-27 07:46:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ftp-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-ftp-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ftp-server"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ftp-server/yast2-ftp-server.changes        
2014-08-25 11:05:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-ftp-server.new/yast2-ftp-server.changes   
2014-08-27 07:46:58.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Aug 26 10:01:37 CEST 2014 - sch...@suse.de
+
+- Autoyast configuration mode: Set installation mode to "normal"
+  before writing the settings. So the target system has to be
+  set at first. (bnc#888212)
+- 3.1.4
+
+-------------------------------------------------------------------

Old:
----
  yast2-ftp-server-3.1.3.tar.bz2

New:
----
  yast2-ftp-server-3.1.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-ftp-server.spec ++++++
--- /var/tmp/diff_new_pack.WI8GkT/_old  2014-08-27 07:46:59.000000000 +0200
+++ /var/tmp/diff_new_pack.WI8GkT/_new  2014-08-27 07:46:59.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ftp-server
-Version:        3.1.3
+Version:        3.1.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-ftp-server-3.1.3.tar.bz2 -> yast2-ftp-server-3.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ftp-server-3.1.3/package/yast2-ftp-server.changes 
new/yast2-ftp-server-3.1.4/package/yast2-ftp-server.changes
--- old/yast2-ftp-server-3.1.3/package/yast2-ftp-server.changes 2014-08-22 
16:34:17.000000000 +0200
+++ new/yast2-ftp-server-3.1.4/package/yast2-ftp-server.changes 2014-08-26 
10:04:16.000000000 +0200
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Tue Aug 26 10:01:37 CEST 2014 - sch...@suse.de
+
+- Autoyast configuration mode: Set installation mode to "normal"
+  before writing the settings. So the target system has to be
+  set at first. (bnc#888212)
+- 3.1.4
+
+-------------------------------------------------------------------
 Wed Aug 20 09:25:51 UTC 2014 - c...@suse.com
 
 - Using different defaults about logging for vsftpd/pure-ftpd (bnc#888287)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ftp-server-3.1.3/package/yast2-ftp-server.spec 
new/yast2-ftp-server-3.1.4/package/yast2-ftp-server.spec
--- old/yast2-ftp-server-3.1.3/package/yast2-ftp-server.spec    2014-08-22 
16:34:17.000000000 +0200
+++ new/yast2-ftp-server-3.1.4/package/yast2-ftp-server.spec    2014-08-26 
10:04:16.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-ftp-server
-Version:        3.1.3
+Version:        3.1.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ftp-server-3.1.3/src/clients/ftp-server_auto.rb 
new/yast2-ftp-server-3.1.4/src/clients/ftp-server_auto.rb
--- old/yast2-ftp-server-3.1.3/src/clients/ftp-server_auto.rb   2014-08-22 
16:34:17.000000000 +0200
+++ new/yast2-ftp-server-3.1.4/src/clients/ftp-server_auto.rb   2014-08-26 
10:04:16.000000000 +0200
@@ -81,12 +81,22 @@
         FtpServer.InitDaemon
         @ret = FtpServer.Read
         Progress.set(@progress_orig)
-      # Write givven settings
+      # Write given settings
       elsif @func == "Write"
         Yast.import "Progress"
         @progress_orig = Progress.set(false)
         FtpServer.write_only = true
+        old_mode = Mode.mode
+        if old_mode == "autoinst_config"
+           # We are in the autoyast configuration module.
+           # So there is currently no access to the target system.
+           # This has to be done at first. (bnc#888212)
+           Mode.SetMode("normal")
+           FtpServer.InitDaemon
+           FtpServer.InitStartViaXinetd()
+        end
         @ret = FtpServer.Write
+        Mode.SetMode(old_mode)
         Progress.set(@progress_orig)
       else
         Builtins.y2error("Unknown function: %1", @func)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to