Hello community,
here is the log from the commit of package yast2-iscsi-lio-server for
openSUSE:Factory checked in at 2019-02-24 17:15:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server (Old)
and /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-iscsi-lio-server"
Sun Feb 24 17:15:48 2019 rev:33 rq:677698 version:4.1.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-iscsi-lio-server/yast2-iscsi-lio-server.changes
2019-01-03 18:06:30.712146555 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new.28833/yast2-iscsi-lio-server.changes
2019-02-24 17:15:59.152444295 +0100
@@ -1,0 +2,6 @@
+Wed Feb 20 12:55:07 UTC 2019 - [email protected]
+
+- accept symlinks to block devices and files in dialogs (bsc#1123316)
+- 4.1.3
+
+-------------------------------------------------------------------
Old:
----
yast2-iscsi-lio-server-4.1.2.tar.bz2
New:
----
yast2-iscsi-lio-server-4.1.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-iscsi-lio-server.spec ++++++
--- /var/tmp/diff_new_pack.2Kwt6l/_old 2019-02-24 17:15:59.808444178 +0100
+++ /var/tmp/diff_new_pack.2Kwt6l/_new 2019-02-24 17:15:59.812444177 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-iscsi-lio-server
#
-# 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-iscsi-lio-server
-Version: 4.1.2
+Version: 4.1.3
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-iscsi-lio-server-4.1.2.tar.bz2 ->
yast2-iscsi-lio-server-4.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-iscsi-lio-server-4.1.2/package/yast2-iscsi-lio-server.changes
new/yast2-iscsi-lio-server-4.1.3/package/yast2-iscsi-lio-server.changes
--- old/yast2-iscsi-lio-server-4.1.2/package/yast2-iscsi-lio-server.changes
2018-12-18 09:28:03.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.1.3/package/yast2-iscsi-lio-server.changes
2019-02-20 14:06:10.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Feb 20 12:55:07 UTC 2019 - [email protected]
+
+- accept symlinks to block devices and files in dialogs (bsc#1123316)
+- 4.1.3
+
+-------------------------------------------------------------------
Mon Dec 17 15:11:06 UTC 2018 - [email protected]
- Hardening commands execution (part of bsc#1118291).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-iscsi-lio-server-4.1.2/package/yast2-iscsi-lio-server.spec
new/yast2-iscsi-lio-server-4.1.3/package/yast2-iscsi-lio-server.spec
--- old/yast2-iscsi-lio-server-4.1.2/package/yast2-iscsi-lio-server.spec
2018-12-18 09:28:03.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.1.3/package/yast2-iscsi-lio-server.spec
2019-02-20 14:06:10.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-iscsi-lio-server
-Version: 4.1.2
+Version: 4.1.3
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-iscsi-lio-server-4.1.2/src/include/iscsi-lio-server/UI_dialogs.rb
new/yast2-iscsi-lio-server-4.1.3/src/include/iscsi-lio-server/UI_dialogs.rb
--- old/yast2-iscsi-lio-server-4.1.2/src/include/iscsi-lio-server/UI_dialogs.rb
2018-12-18 09:28:03.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.1.3/src/include/iscsi-lio-server/UI_dialogs.rb
2019-02-20 14:06:10.000000000 +0100
@@ -2710,8 +2710,7 @@
@lun_path_input.value = nil
return false
end
- file_type = File.ftype(file)
- if (file_type != 'blockSpecial') && (file_type != 'file')
+ if !File.file?(file) && !File.blockdev?(file)
Yast::Popup.Error(_('Please provide a normal file or a block device.'))
@lun_path_input.value = nil
return false
@@ -2727,8 +2726,7 @@
if !(File.exist?(file))
return false
end
- file_type = File.ftype(file)
- if (file_type != 'blockSpecial') && (file_type != 'file')
+ if !File.file?(file) && !File.blockdev?(file)
return false
end
true
@@ -2883,7 +2881,7 @@
lun_name = ret[1]
file = ret[2]
if !file.nil? && (File.exist?(file))
- @lun_table.add_lun_item([rand(9999), lun_number, lun_name, file,
File.ftype(file)])
+ @lun_table.add_lun_item([rand(9999), lun_number, lun_name, file,
File.stat(file).ftype])
end
end
when :delete