Hello community, here is the log from the commit of package yast2-iscsi-lio-server for openSUSE:Factory checked in at 2018-05-03 12:33:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server (Old) and /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-iscsi-lio-server" Thu May 3 12:33:58 2018 rev:29 rq:603081 version:4.0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server/yast2-iscsi-lio-server.changes 2018-05-02 12:20:00.224718413 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new/yast2-iscsi-lio-server.changes 2018-05-03 12:33:59.220850739 +0200 @@ -1,0 +2,8 @@ +Wed May 2 09:43:35 UTC 2018 - lszhu@suse.com + +- bsc#1091626 + Change regular expression for matching a LUN path, in order + to pick file names include special characters. +- 4.10 + +------------------------------------------------------------------- Old: ---- yast2-iscsi-lio-server-4.0.9.tar.bz2 New: ---- yast2-iscsi-lio-server-4.0.10.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-iscsi-lio-server.spec ++++++ --- /var/tmp/diff_new_pack.7yznx9/_old 2018-05-03 12:33:59.992823240 +0200 +++ /var/tmp/diff_new_pack.7yznx9/_new 2018-05-03 12:33:59.992823240 +0200 @@ -17,7 +17,7 @@ Name: yast2-iscsi-lio-server -Version: 4.0.9 +Version: 4.0.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-iscsi-lio-server-4.0.9.tar.bz2 -> yast2-iscsi-lio-server-4.0.10.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-4.0.9/package/yast2-iscsi-lio-server.changes new/yast2-iscsi-lio-server-4.0.10/package/yast2-iscsi-lio-server.changes --- old/yast2-iscsi-lio-server-4.0.9/package/yast2-iscsi-lio-server.changes 2018-05-02 09:59:57.000000000 +0200 +++ new/yast2-iscsi-lio-server-4.0.10/package/yast2-iscsi-lio-server.changes 2018-05-02 13:51:42.000000000 +0200 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Wed May 2 09:43:35 UTC 2018 - lszhu@suse.com + +- bsc#1091626 + Change regular expression for matching a LUN path, in order + to pick file names include special characters. +- 4.10 + +------------------------------------------------------------------- Sat Apr 28 05:59:05 UTC 2018 - lszhu@suse.com - bsc#1091194 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-4.0.9/package/yast2-iscsi-lio-server.spec new/yast2-iscsi-lio-server-4.0.10/package/yast2-iscsi-lio-server.spec --- old/yast2-iscsi-lio-server-4.0.9/package/yast2-iscsi-lio-server.spec 2018-05-02 09:59:57.000000000 +0200 +++ new/yast2-iscsi-lio-server-4.0.10/package/yast2-iscsi-lio-server.spec 2018-05-02 13:51:42.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-iscsi-lio-server -Version: 4.0.9 +Version: 4.0.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-lio-server-4.0.9/src/include/iscsi-lio-server/TargetData.rb new/yast2-iscsi-lio-server-4.0.10/src/include/iscsi-lio-server/TargetData.rb --- old/yast2-iscsi-lio-server-4.0.9/src/include/iscsi-lio-server/TargetData.rb 2018-05-02 09:59:57.000000000 +0200 +++ new/yast2-iscsi-lio-server-4.0.10/src/include/iscsi-lio-server/TargetData.rb 2018-05-02 13:51:42.000000000 +0200 @@ -323,7 +323,7 @@ #match lun name like [fileio/iscsi_file1 or [block/iscsi_sdb RE_LUN_NAME = /\[(fileio|block)\/[\w\_\-\d]+\s/ #match lun patch like:(/home/lszhu/target1.raw) or (/dev/sdb) - RE_LUN_PATH = /[(]\/(\w|\.|\/)+[)]/ + RE_LUN_PATH = /\(\/.+\)\ / # match portal like 0.12.121.121:3260 RE_PORTAL = /(\d{1,3}\.){3}\d{1,3}:\d{1,5}/ @@ -468,7 +468,7 @@ # lun_num_int is a number like 1,3,57. lun_num_int = lun_num[3,lun_num.length] lun_path_tmp = RE_LUN_PATH.match(line).to_s - lun_path = lun_path_tmp[1,lun_path_tmp.length-2] + lun_path = lun_path_tmp[1,lun_path_tmp.length-3] if !File.exist?(lun_path) msg = format(_("Cannot access the storage %s.\n" \ "Please consider reconnecting the storage or\n" \