Bart Van Assche
faae8613ce
Merge r5663 from 3.0.x-iser branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-11 15:32:44 +00:00
Vladislav Bolkhovitin
fc51102b1a
Boost version numbers
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-11 04:26:28 +00:00
Bart Van Assche
d2d0d232b2
/etc/init.d/scst: Exit with status code 0 upon start if already running (merge r5912 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6123 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 13:48:29 +00:00
Bart Van Assche
1c17224d12
Version: Update from 3.0.0 into 3.0.1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@6117 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 13:12:02 +00:00
Bart Van Assche
fe9540b213
scstadmin: Sync saved configuration files (merge r5793 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:50:41 +00:00
Bart Van Assche
bb002671ca
scstadmin regression tests: Merge r5475:5915 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-05 10:49:20 +00:00
Vladislav Bolkhovitin
8868defd89
Version updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5815 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-20 05:52:06 +00:00
Bart Van Assche
1dd9dec15f
scstadmin: Suppress a Perl warning (merge r5731 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-04 13:55:04 +00:00
Bart Van Assche
3bbd4c4e12
scst: Leave out FSF mail address (merge r5572 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-20 06:47:58 +00:00
Bart Van Assche
1e4a8aaa35
regression tests: Sync with a recent sysfs change (merge r5581 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5638 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:28:45 +00:00
Bart Van Assche
dc87061cec
regression tests: Sort hash keys before comparing (merge r5582 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-29 05:27:14 +00:00
Bart Van Assche
7922cc2dfb
scstadmin, regression tests: Follow-up for r5409
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5475 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-24 18:45:23 +00:00
Bart Van Assche
c664dcb277
scstadmin: List keys alphabetically in the -list_sessions output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5410 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-06 20:26:08 +00:00
Bart Van Assche
ef9d1b9001
scstadmin: Restore LUNs in "scstadmin -list_sessions" output
...
Signed-off-by: Dave Butler <tears.the@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5409 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-06 20:13:53 +00:00
Bart Van Assche
e4ab729b48
make rpm: Do not remove rpmbuilddir
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-24 07:30:50 +00:00
Bart Van Assche
a8a71bf610
Spelling fix: initator -> initiator
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-24 06:56:44 +00:00
Bart Van Assche
06a3995b01
scstadmin/scstadmin.procfs/Makefile: Fix installation path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-17 11:40:50 +00:00
Bart Van Assche
1463890112
scstadmin: Use the "install_vendor" method when building an RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:20:45 +00:00
Bart Van Assche
e3534beba8
scstadmin: Make the regression tests independent of the installation path of iscsi-scstd
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:14:23 +00:00
Bart Van Assche
59ca77e6fe
scstadmin: Prevent manual installation if the scstadmin RPM has already been installed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:11:59 +00:00
Bart Van Assche
2c1469a2d7
scstadmin: Make it possible to rebuild the RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:07:27 +00:00
Bart Van Assche
cde37a8e3c
/etc/init.d/scst: Make this script independent of the installation directory (/usr/local versus /usr)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5128 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:01:36 +00:00
Bart Van Assche
136cbaebb9
scstadmin: Eliminate $SCST->{'err_string'}
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 17:00:50 +00:00
Bart Van Assche
3f1e616262
scstadmin: Add a regression test for saving and restoring scst.conf
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 16:59:50 +00:00
Bart Van Assche
3107c8fb82
scstadmin: Fix a bashishm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-19 16:58:32 +00:00
Bart Van Assche
22bd9156c7
scstadmin: -cont_on_err bug fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-14 10:10:37 +00:00
Bart Van Assche
ff73c5cb2e
scstadmin: Make -list_ttgt_attr and -set_ttgt_attr work for local target ports
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:16:37 +00:00
Bart Van Assche
4f31d1cc0e
scstadmin: Sort target group names alphabetically
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:08:53 +00:00
Bart Van Assche
40908c5d37
scstadmin: Remove duplicate code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:07:19 +00:00
Bart Van Assche
573b0e5dcb
scstadmin: Avoid complaints about passing an undefined value to chomp()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-11-13 21:06:46 +00:00
Bart Van Assche
4e6228fbb0
scstadmin: Avoid confusing Emacs' syntax highlighting algorithm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-24 07:26:35 +00:00
Bart Van Assche
5d8a563648
scstadmin: Reduce the time needed to save or restore a configuration
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5075 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-21 18:36:01 +00:00
Bart Van Assche
ca750d6383
scstadmin: Add more regression tests
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5070 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 16:40:02 +00:00
Bart Van Assche
a02cf2379d
scstadmin, SCST.pm, targets(): Return target names sorted alphabetically
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5069 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 16:33:05 +00:00
Bart Van Assche
dad81d3ba5
scstadmin: Add a regression test infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:37:16 +00:00
Bart Van Assche
0298c2ecc3
scstadmin, SCST.pm: Fix checkTargetDynamicAttributes() return code
...
If no attributes have been passed to this function via the second argument,
only report success if the driver (first argument) exists.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5067 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:36:40 +00:00
Bart Van Assche
5ea0cf813f
scstadmin, SCST.pm: Make argument checking more strict
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5066 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:30:31 +00:00
Bart Van Assche
00a6eeafe7
scstadmin: Add command-line option -cont_on_err
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5065 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:28:05 +00:00
Bart Van Assche
4b63daed53
scstadmin, SCST.pm: Fix checkDriverDynamicAttributes() return code
...
If no attributes have been passed to this function via the second argument,
only report success if the driver (first argument) exists.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5064 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:14:11 +00:00
Bart Van Assche
9e77adb8b8
scstadmin, SCST.pm: Fix setLunAttribute() error return code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5063 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:10:58 +00:00
Bart Van Assche
bf82499635
scstadmin, SCST.pm: Fix lunExists() return code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:09:59 +00:00
Bart Van Assche
960759632f
scstadmin, SCST.pm: Avoid triggering runtime warnings about strings having the value "undef"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:08:38 +00:00
Bart Van Assche
70a9baa58a
scstadmin, SCST.pm: Check the number of arguments passed to subroutines
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:07:47 +00:00
Bart Van Assche
5fc9261fc8
scstadmin, SCST.pm: Remove dead code
...
_syswrite() either returns a positive number or undef but never -1.
Hence remove code that would only be executed if _syswrite() would
have returned -1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:04:59 +00:00
Bart Van Assche
2a93823408
scstadmin: Fix Perl syntax
...
The Perl operator for comparing strings is "eq" and not "=".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5058 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:04:16 +00:00
Bart Van Assche
117304c1a7
scstadmin: Fix a typo in a diagnostic message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5057 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:03:05 +00:00
Bart Van Assche
140c5af41c
scstadmin: Set hardware target attributes correctly
...
For target drivers that support creating targets, e.g. the Emulex
FC driver, it is possible that a target attribute is both writable
for existing (hardware) targets and that it has to be specified
when creating a (virtual) target. Make sure that scstadmin sets
these attributes for existing (hardware) targets when restoring a
configuration.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 15:02:25 +00:00
Bart Van Assche
813a97afc3
scstadmin: Add infrastructure for building an RPM
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5055 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-10-10 14:32:40 +00:00
Bart Van Assche
6b6bcca4c8
scstadmin: Ensure that the version number can be parsed from inside Makefile.PL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-06 06:39:25 +00:00
Bart Van Assche
f94393b43c
scstadmin: Enable targets after the ALUA configuration has been restored
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 18:16:51 +00:00