- Update to version v2.1.74:
* version 2.1.74
* rtslib: safely call shutil.copy()
* Fix fail when target_core_mod doesn't exists
* Fix EPERM errors with scsi_generic devices
Also, add this commit submitted upstream:
* rtslib-Fix-handling-of-sysfs-RW-attrs-that-are-actually-RO.patch
And this commit for SUSE:
* rtslib-target-service-for-suse.patch
Lastly, this package now installs systemd unit file target.service,
which will replace eventually targetcli.service (from the
targetcli-fb package), since this matches how upstream works.
This also meant updating the SPEC file.
OBS-URL: https://build.opensuse.org/request/show/842415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=55
- Update to version v2.1.73 (bsc#1173257 CVE-2020-14019):
* version 2.1.73
* save_to_file: fix fd open mode
* saveconfig: copy temp configfile with permissions
* saveconfig: open the temp configfile with modes set
* Fix "is not" with a literal SyntaxWarning
* Fix an incorrect config path in two comments
* version 2.1.72
* Do not change dbroot after drivers have been registered
* Remove '_if_needed' from RTSRoot._set_dbroot()'s name
Replacing old tarball with python-rtslib-fb-v2.1.73.tar.xz
OBS-URL: https://build.opensuse.org/request/show/817941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=51
- Update to version v2.1.70:
* version 2.1.70
* restoreconfig: add ability to restore/reload single target or storage_object
* rtslib: fix __version__
* saveconfig: add hw_block_size support in control string
* remove extra semicolons in _get_saveconf
* Add 'readable' param to Group list_*() methods
* Handle write-only parameters like attributes
* save_to_file() function breaks symbolic link when saving configuration
* Handle write-only attributes.
* Allow bs_cache to be bypassed
* report the correct size for partitions
* restoreconfig: support restore when list is non-empty
Replacing python-rtslib-fb-2.1.69.tar.xz with python-rtslib-fb-v2.1.70.tar.xz,
and removing patches:
* 0001-Handle-write-only-attributes.patch
* 0002-Handle-write-only-parameters-like-attributes.patch
* 0003-Add-readable-param-to-Group-list_-methods.patch
OBS-URL: https://build.opensuse.org/request/show/731355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=45
- Update to version 2.1.69:
* version 2.1.fb69
* fix compiler warning
* version 2.1.fb68
* Fix typo
* - remove underscore in hostname
* tcm: allow to enable asynchronous I/O for file backing stores
* saveconfig: way for block-level save with delete command
* saveconfig: fix missing import
* saveconfig: handle no attr exception in _parse_info()
* saveconfig: fix failure in absence of save file
* saveconfig: dump control string containing control=value tuples
* restoreconfig: fix alua tpg config setup
* tcmu: add control constructor arg
* save_to_file: support saveconfig at storage object level
* Allow creating more than 256 LUNs per target
* Ship a systemd service file
Which replaces python-rtslib-fb-2.1.67.tar.xz with
python-rtslib-fb-2.1.69.tar.xz, and updates the SPEC file as well.
OBS-URL: https://build.opensuse.org/request/show/643047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=37
- Update to version 2.1.fb67:
* Add missing dependency on six in setup.py
* Display a more meaningful error when targetcli cannot change "dbroot"
* Raise an error about failing to change the dbroot value only if the directory does not exist
* More compatibility syntax for legacy distros
* Remove hba-only directories in clear_existing()
* Correct name for Xen pvscsi
* version 2.1.fb65
* Fix unqualified reference to pyudev.Device
* version 2.1.fb66
* create: remove stale hba-only dir
* version 2.1.fb67
- This replaced rtslib-fb-2.1.fb64.tar.xz with
rtslib-fb-2.1.fb67.tar.xz, and it also removed
the patch correct-name-for-xen-pvscsi.patch,
since it is already in the updated tarball
OBS-URL: https://build.opensuse.org/request/show/595001
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=33
- update to 2.1.49:
* Improve error message when NetworkPortal restore fails
* Python 3.x porting fixes
* targetctl: A missing restore file is not an error
* Add a message if no configfile is found
* Add StorageObjectFactory
* Convert all exceptions in set_parameter/attribute to RTSLibError
* Change set_parameters/attributes to take an err_func
* Fix missing err_func parameter to set_attributes
* '!' allowed character in block and partition names
* Don't add to cache if cfs create fails
* Don't lower-case return values from _parse_info functions
OBS-URL: https://build.opensuse.org/request/show/247397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=4