Sync from SUSE:SLFO:Main nvme-cli revision 608e5148fc4fdf98d6ad40677c9ef736

This commit is contained in:
Adrian Schröter 2024-11-12 15:43:11 +01:00
parent 8186565877
commit 85b2b7f194
8 changed files with 481 additions and 49 deletions

View File

@ -1,37 +0,0 @@
From a4fe9c98d74447ca96ba59610368486640fdbfd6 Mon Sep 17 00:00:00 2001
From: Daniel Wagner <dwagner@suse.de>
Date: Fri, 29 Sep 2023 14:28:16 +0200
Subject: [PATCH] systemd hardening effort
https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
Apply the recommended hardening settings but without
"ProtectKernelTunables=true" as we need write access to /sys.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
nvmf-autoconnect/systemd/nvmf-connect@.service.in | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/nvmf-autoconnect/systemd/nvmf-connect@.service.in b/nvmf-autoconnect/systemd/nvmf-connect@.service.in
index 5ba708..129cb4 100644
--- a/nvmf-autoconnect/systemd/nvmf-connect@.service.in
+++ b/nvmf-autoconnect/systemd/nvmf-connect@.service.in
@@ -11,6 +11,14 @@ PartOf=nvmf-connect.target
Requires=nvmf-connect.target
[Service]
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
Type=simple
Environment="CONNECT_ARGS=%i"
ExecStart=/bin/sh -c "@SBINDIR@/nvme connect-all --context=autoconnect --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
--
2.42.0

View File

@ -4,7 +4,7 @@
<param name="url">https://github.com/linux-nvme/nvme-cli.git</param> <param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
<param name="filename">nvme-cli</param> <param name="filename">nvme-cli</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v2.8</param> <param name="revision">v2.11</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>

View File

@ -1,6 +1,6 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/linux-nvme/nvme-cli.git</param> <param name="url">https://github.com/linux-nvme/nvme-cli.git</param>
<param name="changesrevision">43b716b982da3df1cf8c4658f7c31b0fe28d377b</param> <param name="changesrevision">9f34fcb12e3ab098e9b30e0f31e92cefb497cc42</param>
</service> </service>
</servicedata> </servicedata>

BIN
nvme-cli-2.11.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

BIN
nvme-cli-2.8.obscpio (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,473 @@
-------------------------------------------------------------------
Thu Oct 31 13:11:48 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
- Update to version 2.11:
* docs: update check-tls-key arguments
* nvme: add support to append TLS PSK to keyfile for check-tls-key
* nvme: return correct error code in append_keyfile
* docs: nvme-id-doman: dom{ia => ai}n
* ocp: fix latency monitoring data structure entry endian
* ocp: fix TCG configuration log endian
* ocp: fix firmware activation history entry endian
* docs: update gen-tls-key arguments
* nvme: add support to add derive TLS PSK to keyfile
* nvme: rename identity to version
* nvme: set file permission for keyfile to owner only
* nvme: export tls keys honoring version and hmac
* nvmf-keys: add udev rule to import tls keys
* docs: update TLS options
* fabrics: add support to connect to accept a PSK command line
* fabrics: add support to connect to accept a configuration
* nvme: use unsigned char for hmac and identity
* nvme-print: Add Sanitize Media Verification Event in PEL log
* netapp-ontapdev: add err msg for no ontapdevices
* netapp-smdev: add err msg for no smdevices
* doc: Add sanitize command emvs option
* ocp: combine to use GUID length definitions
* nvme: update tls_key() handling
* nvme-print-stdout: print VERS bit of SANICAP field
* nvme: add EMVS support to sanitize command
* ocp: remove callback function cast
* doc: added commit conventions to contribution guidelines
* ocp: fix ocp-print-stdout.c indentation error
* ocp: fix ocp-nvme.c indentation errors
* ocp: build ocp-nvme.c and ocp-telemetry-decode.c without json
* ocp: split TCG configuration log print codes
* ocp: split telemetry string log print codes
* ocp: split device capabilities log print codes
* ocp: split error recovery log print codes
* ocp: split unsupported requirement log print codes
* ocp: split latency monitor log print codes
* ocp: move ocp telemetry log print function into ocp-print
* ocp: split smart extended log print codes
* ocp: split ocp-fw-activation-history print codes
* plugins: update meson.build file to always build ocp plugin
* ocp-print: move json code into separate files
* nvme-print-json: display only verbose output
* ocp-nvme: ocp plugin version update
* nvme-print: print KV command set page header
* doc: show where self-test results can be found
* plugins/memblaze: fix a wrong id on smart-log-add
* plugins/dapustor: smart-log-add fix
* plugins/sed: add sid password change (bsc#1229677)
* plugins/solidigm: Automatic retry smaller log chunk size.
* ocp-nvme: Add LMDATA-37 for Latency Monitor Log
* ocp-nvme: remove ocp log page version checking
* wdc: Fix for Reading WDC C2 Vendor Unique Log Page
* ocp: Fixes for OCP 2.5 Telemetry DA1 FIFO Event Parsing
* nvme-print-json: update JSON verbose output for nvm-id-ctrl (bsc#1231668)
* wdc: Add Support for SN5100S
* nvme: Support show-regs for nvmeof
* ocp: fix option handling in internal-log
* Documentation: Added solidigm plugin commands
* wdc: add support for SNTMP drive
* nvme-print: print NSSES field of CAP register
* ocp: fix GUID output
* nvme-print-json: print controller register values in offset order
* nvme-print-json: print CMBEBS and CMBSWTP in json format
* nvme-print-stdout: update changed-ns-list-log output (bsc#1231668)
* nvme: fix uninitialized value in error-log (bsc#1231668)
* nvme: fix to convert metadata size to native byte order
* nvme-print: fix error information log page endianness error
* completions: add get-feature command changed option
* doc: add get-feature command changed option
* nvme: separate get NVME_GET_FEATURES_SEL_CHANGED definition
* nvme: use NVME_GET_FEATURES_SEL definitions
* nvme-print-stdout: use NVME_CTRL_OAES definitions
* completion: add ocp set-telemetry-profile to zsh
* completion: add solidgm work-tracker binding
* plugins/solidigm: Added Workload Tracker Triggers and Wall Time
* ocp: include util/types.h to use nvme_uint128_t
* ocp: fix to set log data pointer allocated
* nvme: use NVME_CHECK() to check get features select field value
* ocp: split ocp-hwcomp log
* completions: add ocp hardware-component-log command
* doc: add ocp hardware-component-log command
* ocp: add hwcomp log json output
* ocp: add hwcomp log command list option
* ocp: add hwcomp log command comp-id option
* ocp: add hwcomp dummy definition
* ocp: add support for hwcomp log page
* nvme: use NVME_CTRL_FNA definitions
* netapp-smdevices: print single device output too (bsc#1231668)
* netapp-smdevices: segregate print routines (bsc#1231668)
* Add Support for new SN655 PCI Device ID
* nvme-print-json: extern json object add functions
* ocp: add SMART / health information extended log page version 4
* ocp: add error recovery log page version 3
* ocp: add get-enable-ieee1667-silo command
* fabrics: fix incorrect access filename check (bsc#1231668)
* nvme: use NVME_GET_FEATURES_SEL_SUPPORTED definition
* nvme-print-json: use _cleanup_free_
* plugins/solidigm: fix use after free.
* ocp: fix ocp-nvme.c coding style errors
* ocp: Change C9 function names to use c9 instead
* ocp: fix to return c9 log page data error to open file
* ocp: fix to set return value to get c9 log page data
* nvme: update nvme_insert_tls_key_versioned() return handling (bsc#1231668)
* nvme-print-stdout: add print_array function
* logging: add print_info function
* util: extern uint128_t_to_double() function
* nvme-print: sanitize error-log output (bsc#1231668)
* plugins/solidigm : Fixing vs-internal-log to generate identify per allocated namespace.
* nvme-print: added new fields for nvm_id_ns
* plugins/fdp: bugfix error check to validate output format
* plugins/wdc: fix json output for vs-nand-stats
* nvme-print-stdout: use NVME_FEAT util definitions
* nvme-print: update subsys verbose outputs (bsc#1231668)
* nvme-print: add subsystype to the list-subsys output (bsc#1231668)
* netapp: print output for single device too (bsc#1231668)
* netapp: segregate the print routines (bsc#1231668)
* netapp: fix uninitialized value from heap error (bsc#1231668)
* nvme-print: print the new fields added in TP4142
* plugins/innogrit: modify for project tacoma
* wdc: Add Support for new SN-861 PCI device id
* nvme-print: use LC_MEASUREMENT to check fahrenheit temperature
* nvme-print: use Completion Condition enum
* completions: add the zsh completion of the dapustor plugin
* nvme-print: print the new fields added in TP4165
* plugins/dapustor: dapustor smart-log-add update
* nvme-print-stdout: Added print for new field CSER (TP4167)
* plugins: Add a new DapuStor plugin and the smart-log-add command
* docs: rename ocp-unsupported-req-log file
- Drop build fix patch
* remove 0001-docs-rename-ocp-unsupported-req-log-file.patch
- Install 70-nvmf-keys.rules to the default udev rules directory
-------------------------------------------------------------------
Fri Aug 02 08:27:05 UTC 2024 - Daniel Wager <daniel.wagner@suse.com>
- Update to version 2.10:
* sed: Fix parsing of Discovery0 features
* fabrics: avoid potential segfault in nvmf_dim() (bsc#1231668)
* nvme: avoid segfault in show-topology (bsc#1226197)
* fabrics: do not leak nvme_ctrl_t object on connect
* nvme: extend help message when mmap regs fails
* nvme: return -ENXIO value to open device if errno not set
* wdc: OCP 2.5 Log Page Updates
* fabrics: drop --quiet alias -S
* fabrics: drop --disable-sqflow alias -d
* fabrics: check if json config is existing (bsc#1231668)
* plugins/ocp: fix UAF when printing telemetry log
* nvme-print-stdout: fix persistent-event-log set feature event output
* fabrics: do not report error when no modules are loaded when disconnecting
* fabrics: use cleanup helper where possible
* fabrics: print an error for ENOENT too
* plugins/virtium: use time_t for time_stamp values
* completions: add ocp set-error-injection command
* doc: add ocp set-error-injection command
* ocp: add set-error-injection command
* nvme: use argconfig_parse_seen to check conditions
* nvme: use proper mask to get correct lbafu value
* utils: fix print formatting option
* utils: cleanup includes in utils.h
* utils: add missing header
* nvme-print: Added print for two new fields for HMB feature
* plugins/micron: Move OCP internal log parsing from Micron to OCP Plugin.
* fabrics: remove unused _discover_from_json_config_file() argument
* nvme: avoid unnecessary dup() + close() in io_mgmt_send()
* util: remove unnecessary NULL check in cleanup_nvme_root()
* nvme: use argconfig_parse_comma_sep_array_u16() in attach-ns
* util: avoid duplication in argconfig_parse_comma_sep_array*()
* util: remove redundant loop condition in argconfig_parse()
* util: introduce is_null_or_empty() to avoid strlen()
* util: reduce allocation sizes in argconfig_parse()
* util: consolidate call paths to argconfig_parse_type()
* util: reduce complexity of argconfig_parse_val()
* util: reduce arguments passed to argconfig_parse_type()
* util: remove empty default case in argconfig functions
* util: remove unnecessary parentheses in argconfig_parse_type()
* util: remove redundant cast in argconfig_parse_type()
* util: inline argconfig_parse_byte()
* util: remove redundant NULL check in argconfig_print_help()
* util: use cleanup to avoid goto in argconfig_parse()
* util: make argconfig_set_opt_val() a void function
* util: remove argconfig_parse_val() declaration
* util: remove argconfig CFG_SIZE type
* wdc: Update and refactor the C0h log page parsing
* ccan: Add freed pointer checking to delete strset member
* fabrics: connect all hosts in config.json (bsc#1226216)
* fabrics: refactore discover from json config (bsc#1226216)
* fabrics: first read config before topology scanning (bsc#1226216)
* fabrics: use helper to lookup default hostnqn/hostid (bsc#1226216)
* fabrics: extend already connected message (bsc#1226216)
* fabrics: use cleanup helper to free nvme root object
* nvme: check MD size with PI size when PRACT set to 1
* nvme-print: add new field added in TP4090
* nvme-print-binary: add effects-log command output missed
* completions: add ocp get-error-injection command
* doc: add ocp get-error-injection command
* ocp: add get-error-injection command
* ocp: fix eol-plp-failure-mode command sel option value
* doc: fix ocp eol-plp-failure-mode select short option
* ocp: set UUID index for eol-plp-failure-mode command to get
* nvme: fix verbose logging (bsc#1231668)
* doc: fix micron ocp telemetry log parse title
* nvme-rpmb: send RPMB_REQ_READ_RESULT for authentication key programming
* plugins/micron: Add support for OCP telemetry log parsing
* ocp: Update Plugin Version
* nvme: fix lbaf inuse to use 6:5 bits
* ocp: use NVME_ARGS macro definition by eol-plp-failure-mode command
* nvme: extern NVME_ARGS macro definition
* nvme: use _cleanup_free_ type buffer for get-feature command
* plugins/ocp: Update telemetry string log page (C9h)
* nvme-print-json: add get-feature command fahrenheit temperature output
* nvme: add get-feature and id-ctrl commands fahrenheit outputs
* nvme: delete smart-log command fahrenheit option
* nvme-print: check locale to use temperatures in degrees fahrenheit
* completion: add support for tls-key (bsc#1226197)
* doc: add tls-key --revoke documentation (bsc#1226197)
* doc: fix tls-key --keyfile shorthand (bsc#1226197)
* nvme: add support to revoke TLS key (bsc#1226197)
* nvme: return error code/message for TLS commands (bsc#1226197)
* nvme: factor out import key function (bsc#1226197)
* nvme: use cleanup helper to close file descriptor (bsc#1226216)
* nvme-rpmb: use cleanup helper for STREAM objects
* fabrics: use cleanup helper for STREAM objects
* nvme: use cleanup helper for STREAM objects (bsc#1226216)
* nvme: strip newline when parsing TLS key files (bsc#1226197)
* nvme: use stdout for exporting TLS keys (bsc#1226197)
* nvme: change _cleanup_file_ to _cleanup_fd_ (bsc#1226197)
* common.h: Avoid using unsupported load/store instructions in arm64 VMs
* ocp: OCP 2.5 Telemetry DA 1 and 2 Parsing Updates
* nvme-print-stdout: refactor subsys config (bsc#1231668)
* wdc: Fix compiler warning.
* nvme: add flags type nvme_print_flags_t
* nvme-print: Use 'unsigned int' instead of 'unsigned'
* nvme: update parse_args() return value handling
* nvme-print: Fix nvme_show_smart_log indentation error
* nvme-print-stdout: Fix stdout_smart_log indentation error
* nvme-print-binary: Fix binary_smart_log indentation error
* completions: add smart-log command fahrenheit option
* doc: Add smart-log command fahrenheit option
* nvme: Add smart-log command fahrenheit option
* nvme-print: add PEL vendor specific and TCG defined events strings
* nvme-print: Print PEL reserved event string
* completions: Add timeout option bash completions
* completions: Add timeout option zsh completions
* completions: Add io-mgmt-recv/send commands zsh completions
* completions: Add /dev/nvme argument missed
* completions: Change fw-activate command name to fw-commit
* completions: Fix _nvme indentation errors (bsc#1226197)
* completions: Fix bash-nvme-completion.sh indentation errors (bsc#1226197)
* doc: Add nvme commands timeout option
* nvme: Add support for delete-ns command timeout option
* nvme: Change NVME_DEFAULT_IOCTL_TIMEOUT to use nvme_cfg timeout
* nvme: Add nvme_cfg timeout default option
* nvme: Add nvme_cfg global variable for NVME_ARGS default options
* nvme: add helper function to get pif and sts value
* nvme: choose PIF from QPIF if QPIFS supports and PIF is QTYPE
* nvme: use libnvme's atomic ANA log page fetch
* nvme: fix maximum ANA log page length calculation
* nvme-print-json: add missing va_end()
* fabrics: skip namespace scan for fabric commands
* nvme-print: print the new fields added in TP4141a
* plugins/ocp: underflow + index fixes for telemetry
* plugins/ocp: Add ocp TCG Configuration Log Page
* nvme-print-stdout: Add helper function to print PIF in string form
* doc: fix format command info
* nvme: telemetry: report the correct error if the ioctl() fails.
* nvme-print: add the cancel opcode to the nvme_cmd_to_string() list
* doc: fix ocp format issues
* nbft: Reuse existing discovery controller
* nbft: Skip SSNS records pointing to well-known discovery NQN
* nbft: Perform actual discovery
* util/cleanup: Add cleanup for struct nvme_fabrics_uri
* fabrics: Make some symbols public (bsc#1226216)
* nvme-print-stdout: fix format index in stdout_nvm_id_ns
* plugins/solidigm: Added workload-tracker command
* plugins/solidigm: Added extra VU fields to id-ctrl
* nvme-print-stdout: print MEM bit of CTRATT field
* nvme-print-stdout: fix to print the log line by line
* fabrics: Always pass hostid and hostnqn (bsc#1226216)
* plugins/ssstc: Replace __uint16_t with uint16_t
* plugins/solidigm: Added log pages to vs-internal-logs
* sed: perform a tper revert after lsp revert
* plugins/nbft: Use default library logging
* docs: Add missing OCP plugin docs to meson
* ocp: Switch OCP plugin to use semantic versioning
* nvme: fix fw-commit MUD result message
* sed: only re-read partition table after unlock.
* nvme-print-json: Fix LBA status DSLBA output as hexadecimal
* nvme-print-json: Use NVME_PMRxxx register definitions to print
* nvme-print-stdout: Fix PMRWBM register name
* nvme-print-json: Fix channel configuration descriptors pointer
* nvme-print-json: Fix linux kernel check patch errors
* nvme-print: Added "Command and Feature Lockdown" string to LID 0x14
* plugins/innogrit: `u_char` -> `unsigned char`
* nvme: Use C99 types for uint32_t
* nvme-print-stdout: print frl1/2/3 values for zns id-ns
* solidigm: Eliminate <linux/limits.h>
* nvme: remove double free in persistent-event-log
* ocp: Add Get DSSD Power State Feature (FID: C7h)
* nvme: initialize default library logging
* nvme: use cleanup helper for nvme_root_t objects (bsc#1226197)
* doc: add nvme connet ctrl-loss-tmo description
* plugins/solidigm: Automatic enabling Data Area 4 when retrieving Telemetry.
- always build the docs
* add 0001-docs-rename-ocp-unsupported-req-log-file.patch
-------------------------------------------------------------------
Fri May 03 14:06:47 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
- Update to version 2.9.1:
* plugins/spdk: drop the plugin
-------------------------------------------------------------------
Fri May 03 13:33:54 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
- Update to version 2.9:
* nvme-print: expand the maximum field length to prevent misalignment
* plugins/spdk: plugin to list SPDK subsystems
* nvme-print: check if controller belong to SPDK
* plugins/spdk: plugin to list SPDK controllers
* nvme-print-stdout: fix ASQB, ACQB and BMBBA prints
* build: bump libnvme wrap
* nvmf-autoconnect: fix string encoding
* nvme: identify primary ctrl do not accept nsid
* nvme-wrap: remove unused nvme_cli_get_log_ana_groups()
* nvme-print-json: use admin queue attributes definitions
* nvme-print-json: use CSTS definitions
* nvme-print-stdout: use POWER_OF_TWO macro
* nvme-print-json: use controller configuration definitions
* nvme-print-json, nvme-print-stdout: add tertiary version number
* nvme-print-json: use NVME_MAJOR and NVME_MINOR definitions
* nvme-print-json: use NVME_BOOT_PARTITION_INFO field definitions
* nvme-print-json: add support telemetry log create event in PEL
* nvme-print-json: add support set feature event in PEL
* nvme-print-json: add obj_d() function
* nvme-print-json: add obj_add_uint_0nx() function
* meson.build: Fix spelling of sed-opal.h filename
* sed_opal: Only build when we really have sed_opal headers
* nvme: fix error path if write() fails in get_telemetry_log()
* plugins/solidigm: Additional LID for temperature statistics.
* plugins/solidigm: Improved Solidigm UUID index detection.
* nvme-print-stdout: Add CSTS.ST register stdout print
* nvme-print-stdout: Use NVME_CMIC definitions
* nvme-print: Use NVME_UNIT definitions
* nvme-print-stdout: Use NVME_CMBMSC/STS/EBS/SWTP definitions
* plugins/ssstc: add a new plugin for SSSTC driver
* nvmf-connect: systemd hardening effort
* plugins/ocp: Adjusted variable type size carrying UUID index to 8 bit.
* nvme: fix security buffer allocation size
* nvme: Change fw-download xfer initialization to set 0
* nvme: Add fw-download warning message for FWUG alignment error
* plugins/ocp: Split ocp_get_uuid_index() into find and get functions.
* nvme: fix mem leak in multiple key related functions (bsc#1223331)
* fabrics: fix mem leak in nvmf_check_hostid_and_hostnqn() (bsc#1223331)
* nvme-print-stdout: Use NVME_BPRSEL definitions
* nvme-print-stdout: Use NVME_BPINFO definitions
* nvme-print-stdout: Use NVME_CMBSZ definitions
* nvme-print-stdout: Use NVME_CMBLOC definitions
* Revert "logging: fix error handling for ioctl passthru wrappers"
* fabrics: align identify command payload
* ocp: Unify line start spacing as tabs
* ocp: support OCP DSSD Async Event Config feature
* nvme: Add support for get-reg and set-reg commands
* nvme-print-json: Add register print functions
* nvme-print-stdout: Add register print functions
* nvme-print: Add register print functions
* nvme: Refactor mmap_registers to add writable parameter
* nvme-print: Change PMRSZU string function as unit string
* nvme-print: Refactor CMBLOC and PMRSTS registers function
* logging: fix error handling for ioctl passthru wrappers
* nbft: Fix scandir() error check
* nbft: Refactor connection attempt out
* nvme-print: Use EOM optional data present macros changed
* nvme-print: Print cntlid number for controller (bsc#1224024)
* nvme: check-tls-key fails despite having hostnqn file (bsc#1223331)
* nvme: print retained key for gen-tls-key's -i option too (bsc#1223331)
* fabrics : allow host to create duplicate connections to target
* fabrics: Fix fast_io_fail_tmo option
* nvme-print-stdout: use admin queue attributes definitions
* nvme-print-stdout: use CSTS definitions
* nvme-print-stdout: use controller configuration definitions
* nvme-print-stdout: use NVME_MAJOR and NVME_MINOR definitions
* nvme-print-stdout: use FDP configuration attributes definitions
* nvme: add new function 'tls_key' (bsc#1226197)
* nvme: use library functions for importing and exporting TLS keys (bsc#1216982)
* nvme: extend error message for ns scan failures
* nvme-print-json: Bugfix status json key of sanitize-log
* sed: update SED password when initalizing (bsc#1222168)
* plugins/memblaze: add performance stats
* plugins/memblaze: fix code mis-type error
* plugins/memblaze: code refactor on applying __packed on more structs
* plugins/memblaze: code refactor on using cleanup_nvme_dev
* nvme: Fix to cleanup free raw_secret memory allocated
* plugins/memblaze: code-format on leading indent and align
* plugins/wdc: Fix narrow index variable type in for loop to __u32
* plugins/wdc: Whitespace changes
* nvme: Delete unused nvme root scanned
* ocp: support OCP 2.5 Set Telemetry Profile feature
* nvme: Don't seg fault if given device is not char/block device
* nbft: Include SSNS index in error messages (bsc#1222026)
* nbft: Pause logging for expected connection failures (bsc#1222026)
* nbft: Silence connection failures for unavailable SSNS (bsc#1222026)
* nbft: Fix 'verbose' argument type (bsc#1222026)
* plugins/nbft: Implement verbose logging
* plugins/nbft: Print the new SSNS flags
* nbft: Fix uninitialized variable
* plugins/nbft: Fix uninitialized variables
* plugins/sed: Fix uninitialized variable
* nvme-print-stdout: Fix uninitialized variable
* nvme-print-json: Fix uninitialized variable
* build: Switch default meson buildtype to 'debugoptimized'
* nvme: do not scan topology when mmaping registers
* nvme-print-stdout: Use NVME_BOOT_PARTITION_INFO field definitions
* nvme-print-stdout: Use NVME_GET for MI commands supported and effects CSP
* nvme-print-stdout: Use NVME_GET for FID supported and effects FSP
* nvme-print-stdout: Use NVME_SET_FEAT_EVENT register definitions
* nvme-print: Add PEL EHAI port identifier type printf function
* build: bump libnvme wrap
* ocp: fix for power-state argument checking
* nvme: do not issue warning when nvme_core module is not loaded
* wdc: Review changes and build fixes
* wdc: Fix timestamp displayed by vs-firmware-activate-history command
* logging: Split to output ioctl latency by log info level (bsc#1231668)
* nvme-print-stdout: Change hexadecimal value 0x prefix to use %#x
* nvme-print-stdout: Fix LBA status DSLBA output as hexadecimal
* nvme-print-stdout: Split line length exceeded 100 columns
* nvme-print-stdout: Use NVME_PMRMSC register definitions to print
* nvme-print-stdout: Use NVME_PMRSWTP register definitions to print
* nvme-print-stdout: Use NVME_PMREBS register definitions to print
* nvme-print-stdout: Use NVME_PMRSTS register definitions to print
* nvme-print-stdout: Use NVME_PMRCTL_EN register definition to print
* nvme-print-stdout: Use NVME_PMRCAP register definition to print
* doc: Fix admin and io passthru cdw parameters description
* doc: Add get-feature cdw11 and set-feature cdw12 parameters
* micron-nvme: Unuse stat() to check if strMainDirName exists
* doc: Fix get-property and set-property offset and value descriptions
* doc: Fix documentation file mode 100755 to 100644
* nvme-print-stdout: Fix channel configuration descriptors pointer
* nvme-print-stdout: Check sscanf return value
* nvme-print-stdout: Fix linux kernel check patch errors
* nvme: Delete unusual fallthrough for cases have no body
* nvme: Delete duplicated semicolon
* nvme-print, common: Fix for whitespace change
* logging: output ioctl debugging info (bsc#1231668)
* nvme: track verbose level (bsc#1231668)
* logging: track log level globally
* logging: move logging code to a new file
* nvme: update include for libnvme
* nvme: remove unused declaration
* build: bump libnvme wrap
* nvme-netapp: add nspath tlv handling (bsc#1220971)
* rpm: Add missing rule and service files
* nvme-print-json, nvme-print-stdout: Use CHAR_BIT definition
* nvme-print-stdout: Delete duplicated if condition checking line
* ocp: Fix timestamp displayed by fw-activate-history command
* wdc: Add support for the get-drive-status command to SN861
* nvme-print: Fix nvme_host_metadata_type_to_string() indentation errors
* nvme-print: Add PEL RCI port identifier type printf function
* nvme-print-stdout: Use persistent event log RCI definitions
* build: bump libnvme wrap
* nvme: Add show-regs and get-property commands NSSD print outputs
* nvme-print: print more details in ns-descs verbose output (bsc#1223331)
* Revert "nvme-print-json: remove obj_print helper"
* sed: Confirm entered password before initialization.
- drop systemd service harden file, upstream ships this patch.
* remove 0100-harden_nvmf-connect@.service.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 14 12:37:16 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com> Wed Feb 14 12:37:16 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>

View File

@ -1,4 +1,4 @@
name: nvme-cli name: nvme-cli
version: 2.8 version: 2.11
mtime: 1707903840 mtime: 1730367551
commit: 43b716b982da3df1cf8c4658f7c31b0fe28d377b commit: 9f34fcb12e3ab098e9b30e0f31e92cefb497cc42

View File

@ -19,7 +19,7 @@
%bcond_without check %bcond_without check
Name: nvme-cli Name: nvme-cli
Version: 2.8 Version: 2.11
Release: 0 Release: 0
Summary: NVM Express user space tools Summary: NVM Express user space tools
License: GPL-2.0-only License: GPL-2.0-only
@ -27,8 +27,6 @@ Group: Hardware/Other
URL: https://github.com/linux-nvme/nvme-cli/ URL: https://github.com/linux-nvme/nvme-cli/
Source0: nvme-cli-%{version}.tar.gz Source0: nvme-cli-%{version}.tar.gz
Source1: nvme-cli-rpmlintrc Source1: nvme-cli-rpmlintrc
# downstream patches
Patch100: 0100-harden_nvmf-connect@.service.patch
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -93,7 +91,7 @@ export KBUILD_BUILD_TIMESTAMP=@${SOURCE_DATE_EPOCH:-$(date +%s)}
-Ddracutrulesdir=%{_sysconfdir}/dracut/dracut.conf.d \ -Ddracutrulesdir=%{_sysconfdir}/dracut/dracut.conf.d \
-Dsystemddir=%{_unitdir} \ -Dsystemddir=%{_unitdir} \
-Ddocs=man \ -Ddocs=man \
%{?_with_docs_build:-Ddocs-build=true} \ -Ddocs-build=true \
-Dsystemctl=%{_bindir}/systemctl \ -Dsystemctl=%{_bindir}/systemctl \
-Dversion-tag=%{version} -Dversion-tag=%{version}
%meson_build %meson_build
@ -162,6 +160,7 @@ fi
%{_sbindir}/rcnvmf-connect-nbft %{_sbindir}/rcnvmf-connect-nbft
%{_mandir}/man1/nvme*.1*%{?ext_man} %{_mandir}/man1/nvme*.1*%{?ext_man}
%{_udevrulesdir}/65-persistent-net-nbft.rules %{_udevrulesdir}/65-persistent-net-nbft.rules
%{_udevrulesdir}/70-nvmf-keys.rules
%{_udevrulesdir}/70-nvmf-autoconnect.rules %{_udevrulesdir}/70-nvmf-autoconnect.rules
%{_udevrulesdir}/71-nvmf-netapp.rules %{_udevrulesdir}/71-nvmf-netapp.rules
%{_unitdir}/nvmefc-boot-connections.service %{_unitdir}/nvmefc-boot-connections.service