Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

tcmu-runner-1.6.2-4.1 RPM for s390x

From OpenSuSE Ports Tumbleweed for s390x

Name: tcmu-runner Distribution: openSUSE:Factory:zSystems
Version: 1.6.2 Vendor: openSUSE
Release: 4.1 Build date: Wed Jul 2 11:02:40 2025
Group: Unspecified Build host: reproducible
Size: 224682 Source RPM: tcmu-runner-1.6.2-4.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/open-iscsi/tcmu-runner
Summary: A userspace daemon that handles the LIO TCM-User backstore
LIO is the SCSI target in the Linux kernel. It is entirely kernel
code, and allows exported SCSI logical  units (LUNs) to be backed
by regular files or block devices. But, if we want to get fancier with
the capabilities of the device we're emulating, the kernel is not
necessarily the right place. While there are userspace libraries for
compression, encryption, and clustered storage solutions like
Ceph, these are not accessible from the kernel.

The TCMU userspace-passthrough backstore allows a userspace process to
handle requests to a LUN. But since the kernel-user interface that
TCMU provides must be fast and flexible, it is complex enough that
we'd like to avoid each  userspace handler having to write boilerplate
code.

tcmu-runner handles the messy details of the TCMU interface -- UIO,
netlink, pthreads, and DBus -- and exports a more friendly C plugin
module API. Modules using this API are called "TCMU handlers". Handler
authors can write code just to handle the SCSI commands as desired,
and can also link with whatever userspace libraries they like.

Provides

Requires

License

Apache-2.0

Changelog

* Wed Jul 02 2025 Jan Engelhardt <jengelh@inai.de>
  - Disable glusterfs backend.
  - Delete libtcmu-runner-devel; the .so file is not generally
    usable without some headers files describing the API.
  - Delete /usr/sbin/rc* symlinks (outdated practice).
  - Trim idempotent %if..%endif guards.
  - Remove implicit %defattr, BuildRoot lines from spec.
* Sat Mar 22 2025 Shawn Dunn <sfalken@opensuse.org>
  - Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS in cmake4
  - Remove Group: declarations, no longer used
* Mon Feb 26 2024 pgajdos@suse.com
  - Use %autosetup macro. Allows to eliminate the usage of deprecated
    %patchN
* Tue Jul 11 2023 lduncan@suse.com
  - Update to version 1.6.2:
    * Bump version to 1.6.2
    * tcmur_device: skip reporting events if the device is closed
    * Bump version to 1.6.1
    * tcmur_device: fix racy between reopening devices and reporting events
    Also, remove patch no longer needed ,since SUSE RPM macros have
    been updated (bsc#1212636):
    * tcmu-runner-remove-handler-path-install-prefix.patch
* Fri Oct 14 2022 lduncan@suse.com
  - Update to version 1.6.0 from upstream:
    * Bump version to 1.6.0
    * Use get_unaligned_be*() to avoid UB
    * libtcmu: add support for write protect
    * rbd: make it to be compatible to the old blacklist style
    * rbd: switch to blocklist
    * rbd: switch strtok to strtok_r
    * tcmur_device: rename the state_lock to rdev_lock
    * tcmur_device: rename lock to cmds_list_lock
    * rbd: fix and add more debug logs
    * rbd: fix the possible warning of incorrect return value type
    * rbd: remove the reduntant logs
    * rbd: fix memory leak when fails to get the address
    * Revert "Create codeql-analysis.yml"
    * rbd: fix use-after-free of addr
    * Create codeql-analysis.yml
    * main: fix g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    * remove pthread_getname_np calls
    * implicitly cast pthread_t to long unsigned int
    * add missing pthread.h include
    * replace assert_perror with assert
    * cast time_t to intmax_t when printing
    * spec: make dist tag optional (#659)
    * install-dep.sh: do not install multiple packages in one single line (#657)
    * tcmu_read_config() check read() return value. (#656)
    The 3 current patches, which are SUSE-specific, stay.
    Note that this update moves libtcmu.so (a symlink) to a new
    package: libtcmu-devel, as suggested by rpmlint.
* Tue Mar 08 2022 David Disseldorp <ddiss@suse.com>
  - fix g_object_unref: assertion 'G_IS_OBJECT (object)' failed;
    (bsc#1196787).
* Tue Sep 21 2021 lduncan@suse.com
  - Updated to latest upstream (jsc#SLE-17360). Added file:
    * tcmu-runner-updates-since-v1.5.4.xz
    with latest upstream changes since v1.5.4:
    * rbd: switch strtok to strtok_r
    * tcmur_device: rename the state_lock to rdev_lock
    * tcmur_device: rename lock to cmds_list_lock
    * rbd: fix and add more debug logs
    * rbd: fix the possible warning of incorrect return value type
    * rbd: remove the reduntant logs
    * rbd: fix memory leak when fails to get the address
    * Revert "Create codeql-analysis.yml"
    * rbd: fix use-after-free of addr
    * Create codeql-analysis.yml
    * main: fix g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    * remove pthread_getname_np calls
    * implicitly cast pthread_t to long unsigned int
    * add missing pthread.h include
    * replace assert_perror with assert
    * cast time_t to intmax_t when printing
    * spec: make dist tag optional (#659)
    * install-dep.sh: do not install multiple packages in one single line (#657)
    * tcmu_read_config() check read() return value. (#656)
    And added these changes in v1.5.4 from v1.5.3:
    * Bump version to 1.5.4 (#652)
    * handler: add writesame/caw hooks support
    * tcmur: fall back to writesame without unmap if not aligned
    * tcmur: clean up the code
    * rbd: fix the unmap align and granularity size
    * rbd: use the new format of the daemon name
    * file_zbc: Remove unnecessary zone boundary check
* Sat Jan 30 2021 lduncan@suse.com
  - Update to version 1.5.3:
    * tcmur: error if both src/dst_dev are unset after CSCD parsing
    * tcmur: don't assume two XCOPY CSCDs
    * tcmur: fail XCOPY requests with inline data
    * tcmur: fail cross-device XCOPY requests
    * scsi: minor simplification of inquiry if/else logic
    * Add supported vpd pages to zbc vpd pages
    * lock: do not try to acquire the lock for read fops
    * rbd: remove all the stale blacklist entries when opening devices
    * tcmu-runner: explicitly release the g_runner_handlers resources
    * glfs: add init/destroy support to fix memory leak
    * tcmur: add the init/destroy support in struct tcmur_handler
    * CMakeList.txt: fix the style and switch tabes to white spaces
    * worker: do not set thread name in the callback fn
    * target: convert recovery thread to work helpers
    * rbd: add report event support
    * runner: add handler error reporting cb
    * runner: convert alua code to work helpers
    * runner: add thread helpers
    * rbd: fix formatting
    * tcmur_device: remove unused recovery_thread member
    * rbd: fix logging when client is blacklisted
    * glfs: allow to load the device when the sizes disagree
    * Fix possible cdb printing overflow
    * libtcmu_log: Set tcmu_logbuf before log thread is created
    * extra/install_dep.sh: Add support for SUSE
    * glfs: disable the fencing when it is not support
    * Simplify tcmu_set_thread_name
    * extra script: Fix install_dep.sh
    * logger: add pthread name
    * tcmu-runner: set a name for each pthread
    * libtcmu: remove stale fns declaration
    * glfs: check EOF for read
    * Add missing libpthread
    * logger: correct the log message for log dir path
    * logger: fix posible crash when loging to file
    * Add tcmu_dev_get_memory_info() and split+rename device_add().
    * Add support for Debian
    * glfs: add lock support
    * alua: make the lock done as INFO message
* Thu Jan 07 2021 David Disseldorp <ddiss@suse.com>
  - Fix for security advisory CVE-2020-28374; (bsc#1180676).
* Fri Jan 03 2020 Lee Duncan <lduncan@suse.com>
  - Fixed i586 compilation complaint in tcmur_cmd_handler.c, adding:
    * tcmu-runner-fix-i586-size_t-error.patch
    (which came from David Disseldorp). Also, added requirement for
    libnl3-devel version that supports signed network functions,
    such as nla_put_s32().

Files

/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/tcmu-runner.conf
/etc/logrotate.d/tcmu-runner
/etc/tcmu
/etc/tcmu/tcmu.conf
/usr/bin/tcmu-runner
/usr/lib/systemd/system/tcmu-runner.service
/usr/lib64/tcmu-runner
/usr/lib64/tcmu-runner/handler_qcow.so
/usr/share/dbus-1
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system-services/org.kernel.TCMUService1.service
/usr/share/doc/packages/tcmu-runner
/usr/share/doc/packages/tcmu-runner/README.md
/usr/share/licenses/tcmu-runner
/usr/share/licenses/tcmu-runner/LICENSE.Apache2
/usr/share/licenses/tcmu-runner/LICENSE.LGPLv2.1
/usr/share/man/man8/tcmu-runner.8.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed Aug 20 22:33:44 2025