We have some news to share for the request index beta feature. We’ve added more options to sort your requests, counters to the individual filters and documentation for the search functionality. Checkout the blog post for more details.

File targetcli-fb.changes of Package targetcli-fb

-------------------------------------------------------------------
Tue Aug 26 08:03:24 UTC 2025 - Markéta Machová <mmachova@suse.com>

- Convert to libalternatives on SLE-16-based and newer systems

-------------------------------------------------------------------
Wed Mar 19 18:44:13 UTC 2025 - lduncan@suse.com

- Update to version 3.0.1:
  * Drop the _fb suffix from rtslib and configshell imports
  * Update ui_target.py
  * feat: Switch to a default portal IP of [::0]
  * Fix PyPI publish step
  * Fix shell exit on expected errors
  * Fix pre-commit trimming linebreaks in markdown
  * Adding PyPI release workflow
  * Adding pre-commit check to gh workflow
  * Add Contribute section to README
  * Use f-string instead of percent substitute
  * Update pre-commit hook versions
  * Use pathlib where appropriate
  * Codestyle optimizations
  * Fix RET505 violations and other codestyle fixes
  * Move to hatchling build backend, dropping `-fb`
  * Update linting rules
  * Fix Perflint violations
  * Fix Pylint violations
  * Remove unused arguments from signal_handler
  * Add missing return
  * Remove unnecessary `start` argument in `range`
  * Fix string concantenation, using f-strings
  * Removing unnecessary dict call
  * Rename built-in shadowding variable "type"
  * Remove useless statement
  * Fix flake8-simplify violations
  * Use explicit conversion flags
  * Fix exception handling to pass flake8-bandit
  * Add uppercase variable noqa for BLKROGET
  * Fix import sorting
  * Fix pycodestyle violations
  * Fix pyflakes violations
  * Remove Python 2 compatibility, require Python 3.9
  * Add missing general exception error assignment
  * Rename targetcli.py to prevent import conflicts
  * Removing Makefile
  * Handle package-data
  * Use importlib.metadata for module version
  * Move executables to project directory
  * Update README
  * Add pre-commit configuration
  * Update packaging
  * Extending .gitignore
  * Removing extra trailing whitespace from COPYING
  * version 2.1.58
  * Fix mapping the new LUN to the node ACL
  This included several changes to the SPEC file, as well

-------------------------------------------------------------------
Wed Jun 19 15:34:16 UTC 2024 - Michał Szczepaniak <m.szczepaniak.000@gmail.com>

- Update to version 2.1.58:
  * version 2.1.58
  * Fix mapping the new LUN to the node ACL


-------------------------------------------------------------------
Tue Jan  9 11:36:21 UTC 2024 - David Disseldorp <ddiss@suse.com>

- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
  * Split-out-blockdev-readonly-state-detection-helper.patch
  * rbd-support.patch

-------------------------------------------------------------------
Wed Oct 25 21:11:37 UTC 2023 - lduncan@suse.com

- Update to version 2.1.57:
  * version 2.1.57
  * target: remove the reference to MAX_LUN

-------------------------------------------------------------------
Tue Jun 06 14:52:19 UTC 2023 - lduncan@suse.com

- Update to version 2.1.56:
  * version 2.1.56
  * Revert "fix setting preference rollback error"
  * version 2.1.55
  * Fix changing savedir directory mode
  * targetcli: avoild Ctrl+C print error stack
  * fix setting preference rollback error
  Also, remove patch no longer needed (since it's upstream):
  * Fix-changing-savedir-directory-mode.patch

-------------------------------------------------------------------
Tue Apr 25 17:20:02 UTC 2023 - Lee Duncan <lduncan@suse.com>

- Added one upstream commit for CVE-2020-13867 (bsc#1172743),
  part 2. This time, only modify permisssions on directory where
  config is stored if it is /etc/target, adding patch:
  * Fix-changing-savedir-directory-mode.patch

-------------------------------------------------------------------
Wed Jun 09 15:47:58 UTC 2021 - lduncan@suse.com

- Update to version 2.1.54:
  * version 2.1.54
  * fileio backstore: fix sparse file creation
  * Do not install systemd files in setup.py
  Removing the need for our patch fix-setup-install.patch,
  since that managed systemd file locations, now handled
  in the SPEC file. Also, fixed incorrect spelling of
  targetclid as targetcld for preun stop_on_removal.

-------------------------------------------------------------------
Sun Jan 24 22:48:23 UTC 2021 - Lee Duncan <lduncan@suse.com>

- Updated SPEC file to support multiple python3 versions at
  the same time, and replaced deprecated %ifpython3 macro,
  as suggested by build service. Also updated "common" sub-
  package description.

-------------------------------------------------------------------
Tue Jun 30 20:54:28 UTC 2020 - lduncan@suse.com

- Update to version 2.1.53:
  * version 2.1.53
  * saveconfig: set right perms on /etc/target/ dir
  * saveconfig: set right perms on backup dir
  * saveconfig: set 0o600 perms on backupfiles
  * uds: set right permissions at bind() time
  This removed patches which are included upstream:
  * 0001-uds-set-right-permissions-at-bind-time.patch
  * 0002-saveconfig-set-0o600-perms-on-backupfiles.patch
  * 0003-saveconfig-set-right-perms-on-backup-dir.patch
  * 0004-saveconfig-set-right-perms-on-etc-target-dir.patch
  And replaced the tarball with targetcli-fb-2.1.53.tar.xz

-------------------------------------------------------------------
Wed Jun 10 01:25:12 UTC 2020 - Lee Duncan <lduncan@suse.com>

- Added 4 upstream commits for CVE-2020-13867 (bsc#1172743),
  adding patches:
  * 0001-uds-set-right-permissions-at-bind-time.patch
  * 0002-saveconfig-set-0o600-perms-on-backupfiles.patch
  * 0003-saveconfig-set-right-perms-on-backup-dir.patch
  * 0004-saveconfig-set-right-perms-on-etc-target-dir.patch

-------------------------------------------------------------------
Thu May 21 17:38:48 UTC 2020 - lduncan@suse.com

- Update to version 2.1.52:
  * version 2.1.52
  * daemon-interactive: do not allow clearing the prompt
  * daemon-interactive: show path on prompt
  * daemonized-mode: add interactive shell support
  * Use temp file objects for temporary storage area
  * Fix StringIO/BytesIO stuck issue
  * Fix targetclid daemon infinite stuck
  * targetclid.sock: change SocketMode to 0600
    (bsc#1168415 CVE-2020-10699)
  * setup.py: add the socket and service files to the data_files section
  * Use StringIO as a buffer instead of a file
  Also, add a patch to move systemd unit files to /usr/lib/systemd/system:
  * fix-setup-install.patch

-------------------------------------------------------------------
Wed Feb 12 17:58:15 UTC 2020 - lduncan@suse.com

- Update to version 2.1.51 from 2.1.49, which includes
  the addition of a targetcli daemon, which can be used
  to speed up batch processing. With patches:
  * version 2.1.51
  * targetcli: depreciate the redundant '--tcp' option
  * man: add daemon intro at targetcli(8) man page
  * systemd-units: fix documentation
  * targetclid: add man page entry
  * daemon: load the prefs on every new connection
  * cli: show useful hint in header area of shell in daemonized mode
  * cli: provide a way to disable using daemon
  * cli: show better error msg when daemon is not running
  * Do not print err msg when signal closes socket.
  * Handle systemd socket activation, when present.
  * Close socket when receiving a signal to interrupt connection.
  * Exit with success when getting a signal.
  * Only return response to targetcli when bytes present
  * Removed useless semicolons, as they're ignored
  * Handle OSError correctly: use strerror to get string
  * Tweak systemd socket-activation settings for daemon
  * Handle Python 3.7 stricter binary vs. string rules.
  * Fix indention for targetclid when processing output.
  * version 2.1.50
  * iscsi discovery_auth enable is a number not a string
  * restoreconfig: add ability to restore/reload single target or storage_object
  * Fix a syntax error in some except clauses
  * Remove Epydoc markup from command messages
  * targetcli: serialize multiple requests
  * targetcli: way to enable targetclid as default choice
  * targetclid: enable socket based activation
  * targetclid: add daemonize component for targetcli
  * Do not remove the first digit when auto-completing the TPG tag
  * Remove the extra semicolon in _save_backups
  * Add emulate_pr backstore attribute
  * targetcli-fb: Fix raise exception error in _save_backups
  * saveconfig: compress the backup config files
  This replaces targetcli-fb-2.1.49.tar.xz with
  targetcli-fb-2.1.51.tar.xz, and removes the following patches,
  which area already upstream:
  * Add-emulate_pr-backstore-attribute.patch
  * do-not-remove-the-first-digit-when-auto-completing-the-tpg-tag
  * iscsi-discovery_auth-enable-is-a-number-not-a-string
  * saveconfig-compress-the-backup-config-files
  * targetcli-fb-fix-raise-exception-error-in-save_backups

-------------------------------------------------------------------
Mon Feb  3 16:38:45 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
  shortcut through the -mini flavors.

-------------------------------------------------------------------
Mon Aug 19 15:32:55 UTC 2019 - Lee Duncan <lduncan@suse.com>

- Added the following upstream patches:
  * targetcli-fb-fix-raise-exception-error-in-save_backups
  * iscsi-discovery_auth-enable-is-a-number-not-a-string (bsc#1145685)
  * saveconfig-compress-the-backup-config-files
  * do-not-remove-the-first-digit-when-auto-completing-the-tpg-tag

-------------------------------------------------------------------
Wed Apr  3 03:14:10 UTC 2019 - ddiss@suse.com

- support emulate_pr attribute changes (bsc#1121998)
  + Add-emulate_pr-backstore-attribute.patch

-------------------------------------------------------------------
Thu Feb  7 17:26:52 UTC 2019 - lduncan@suse.com

- Ensure this package and the deprecated lio-utils package
  do not run at the same time, in a sane way (bsc#1123423),
  updating the source file targetcli-fb.service. Also, updated
  the SPEC file with new year, updated URL, and http->https.

-------------------------------------------------------------------
Fri Dec  7 09:40:19 UTC 2018 - ddiss@suse.com

- Enable RBD support for SLE/Leap 15+ (bsc#1118516)

-------------------------------------------------------------------
Thu Oct 18 19:50:11 UTC 2018 - opensuse-packaging@opensuse.org

- Update to version 2.1.49:
  * version 2.1.fb49
  * targetcli-fb: Add support for media change
  * fix the parameter of define_config_group_param
  * saveconfig: handle backups with block-level delete
  * saveconfig: way for block-level save with delete command
  * create: add a way to set control string
  * fix amount of backup files in backup dir
  * config: add saveconfig command to StorageObject level
  * Allow to customize a home directory
  * Fix default max_backup_files in ui_command_saveconfig
  * MappedLuns and Luns max number is not the same anymore
  * Use signed char instead of char
  * version 2.1.fb48
  * remove wrong exit code from targetcli --version
  * backup: global option to tune max no. of backup conf files
  * config: rename key 'kept_backups' as 'max_backup_files'
  * config: backup when current config is different from recent backup copy
  * config: defend on '/etc/target/backup' directory
  * Auto-detect readonly state for iblock devices
  * Read number of backup files to keep from file
  * skip refreshing user backed storage object when it is null
  * Replace dbus-python with GObject Introspection
 This replaces targetcli-fb-2.1.47.tar.xz with targetcli-fb-2.1.49.tar.xz,
 and removes the following patches:
 * Auto-detect-readonly-state-for-iblock-devices.patch
 * Use-signed-char-instead-of-char.patch
 * targetcli-only-save-old-config-if-present.patch
 and updates the SPEC file.

-------------------------------------------------------------------
Fri Apr 20 19:13:39 UTC 2018 - lduncan@suse.com

- Only save current config to backup if current
  config exists (bsc#1090424), adding patch:
  * targetcli-only-save-old-config-if-present.patch

-------------------------------------------------------------------
Wed Apr 11 00:00:54 UTC 2018 - ddiss@suse.com

- Merge RBD support from non-fb version (bsc#1079329)
  + Split-out-blockdev-readonly-state-detection-helper.patch
  + rbd-support.patch (SLE/Leap only, due to LIO kernel dependency)
  + Add explicit Provides for "python-rtslib-rbd"
- Detect write-protected block devices (bsc#1070815)
  + Auto-detect-readonly-state-for-iblock-devices.patch
  + Use-signed-char-instead-of-char.patch

-------------------------------------------------------------------
Tue Apr 10 13:32:56 UTC 2018 - ddiss@suse.com

- Automatically generate version string from upstream tag
  + Retain current fb-removed version format used
  + Rename targetcli-fb-2.1.fb47.tar.xz to targetcli-fb-2.1.47.tar.xzar.xz
    and cleanup hardcoded duplicate name/version values in spec

-------------------------------------------------------------------
Sun Feb 25 08:09:45 UTC 2018 - olaf@aepfle.de

- Fix upgrade path by provide/obsolete targetcli/targetcli-fb (bsc#1082693)

-------------------------------------------------------------------
Mon Feb  5 10:44:30 UTC 2018 - olaf@aepfle.de

- Fix upgrade path by provide/obsolete version-release

-------------------------------------------------------------------
Mon Jan 15 02:32:27 UTC 2018 - lduncan@suse.com

- Removed duplicate BuildRequires line, and add Conflicts for
  sub-package

-------------------------------------------------------------------
Thu Jan  4 22:14:36 UTC 2018 - lduncan@suse.com

- Added dependency on dbus package to SPEC file (bsc#1073913)

-------------------------------------------------------------------
Thu Jan  4 21:54:00 UTC 2018 - lduncan@suse.com

- Converted RPM SPEC file to singlepsec format (bsc#1045332),
  updating SPEC file only. This breaks this package into two
  packages. The new base package is called targetcli-fb-common,
  and does not depend on the python version. The other package
  is python-version dependent, and is called either
  python2-targetcli-fb or python3-targetcli-fb, dpending on
  which version of Python you wish to use.

-------------------------------------------------------------------
Fri Dec 15 22:03:58 UTC 2017 - lduncan@suse.com

- Ran "spec-cleaner" over the SPEC file, to clean it up, before
  support for Python3 is added.

-------------------------------------------------------------------
Fri Dec 15 21:43:06 UTC 2017 - lduncan@suse.com

- Moved targetcli-fb-2.1.fb47.tar.gz to targetcli-fb-2.1.fb47.tar.xz,
  after appropriate decompression/compression, to match SPEC and
  _service file. Updated _servicedata to match.

-------------------------------------------------------------------
Thu Aug 17 09:34:08 UTC 2017 - lszhu@suse.com

- Update to version 2.1.fb47
  *Improving ALUA and TCMU support, as well as moving the default
   directory for APTPL files from /var/target to /etc/target, 
   for better FHS compliance. 

-------------------------------------------------------------------
Thu Apr 13 07:40:01 UTC 2017 - hare@suse.com

- Update to version 2.1.fb46 (bsc#1032833):
  * version 2.1.fb44
  * Remove build scripts for RPM and Debian packages
  * Add Gentoo to the list of distributions that ship targetcli-fb
  * Add support to create/delete ALUA groups on a storage object
  * Add support to set/get a LUN's ALUA group
  * version 2.1.fb45
  * Create ALUA dir and def group in UI with storage object
  * Clear backstore cache on refresh
  * version 2.1.fb46

-------------------------------------------------------------------
Sun Oct 30 23:51:52 UTC 2016 - jengelh@inai.de

- Trim macro indirections and empty macros

-------------------------------------------------------------------
Mon Jul 25 22:28:04 UTC 2016 - lduncan@suse.com

-  updated spec file: removed Provides/Obsoletes of
   targetcli and python-targetcli, and added
   Conflicts with targetcli (bsc#986475)

-------------------------------------------------------------------
Tue Apr 19 22:03:07 UTC 2016 - lduncan@suse.com

- Creating from latest upstream version 2.1.fb43
openSUSE Build Service is sponsored by