Recommended update for smartmontools

Announcement ID: SUSE-RU-2022:0899-1
Rating: moderate
References:
Affected Products:
  • Basesystem Module 15-SP3
  • openSUSE Leap 15.3
  • SUSE Linux Enterprise Desktop 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP3
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP3 Business Critical Linux 15-SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Manager Proxy 4.2
  • SUSE Manager Retail Branch Server 4.2
  • SUSE Manager Server 4.2

An update that contains one feature and has one fix can now be installed.

Description:

This update for smartmontools fixes the following issues:

  • Restart smartd and generate smartd_opts only if there are real sysconfig changes; do not trigger generate_smartd_opts by YaST, systemd is enough. (bsc#1195785)

  • Update smartmontools to the latest version from the upstream branch. (jsc#SLE-21751)

  • Fix update needed logic.

  • update to 7.2 (jsc#SLE-21751):

  • smartctl: New option '--json=y[c]' selects YAML output.
  • smartctl '-i': Prints ATA TRIM and Zoned Device capabilities.
  • smartctl '-j': Fixed 'scsi_grown_defect_list' value.
  • smartctl '-a': Prints SCSI 'Accumulated power on time'.
  • smartctl '-n POWERMODE': SCSI support.
  • smartctl '-s standby,now' and '-s standby,off': SCSI support.
  • smartctl '-c': NVMe 1.4 additions.
  • smartd: Support for staggered self-tests.
  • smartd: No longer writes attribute log if no attributes were read due to standby mode or other error.
  • smartd: Now resolves symlinks before device names are checked for duplicates.
  • smartd: Fixed SMARTD_DEVICETYPE environment variable if DEVICESCAN is used without '-d TYPE'.
  • ATA: Device type '-d jmb39x-q,N' for JMB39x protocol variant used by some QNAP NAS devices.
  • ATA: Device type '-d jms56x,N' for JMS562 USB to SATA RAID bridges.
  • SCSI: Improved heuristics for log subpages of new and very old disks.
  • NVMe: Log transfer size limited to avoid device or kernel crashes.
  • NVMEe/USB: Device type '-d sntrealtek' for Realtek RTL9210 USB to NVMe bridges.
  • update-smart-drivedb: New option '--branch X.Y'.
  • HDD, SSD and USB additions to drive database.
  • Dropped support for pre-C99 snprintf().
  • configure: Dropped option '--without-working-snprintf'.
  • configure: Fixed '-fstack-protector*' detection.
  • Linux: Various fixes of smartd.service file (bsc#1183699).
  • Darwin: NVMe log support.
  • FreeBSD: Device scan does no longer include T_ENCLOSURE devices.
  • NetBSD: Fixed timeout handling.
  • NetBSD big endian: Fixed ATA register handling.
  • OpenBSD: Fixed timeout handling.
  • Windows: Dropped backward compatibility fixes for very old compilers.

  • Update to version 7.1:

  • smartctl: Fixed bogus exception on unknown form factor value.
  • smartctl '--json=cg': Suppresses extra spaces also in 'g' format.
  • smartctl '-i': ATA ACS-4 and ACS-5 enhancements.
  • smartd: No longer truncates very long device names in warning emails.
  • smartd: No longer skips scheduled tests if system clock has been adjusted to the past.
  • smartd '-A': Attribute logs now use local time instead of UTC.
  • Autodetection of '-d sntjmicron' type for JMicron USB to NVMe bridges.
  • Fixed segfault on CCISS transfer sizes.
  • Fixed smartd.service 'Type' if libsystemd-dev is not available.
  • Fixed '/dev/megaraid_sas_ioctl_node' fd leak.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.3
    zypper in -t patch SUSE-2022-899=1
  • Basesystem Module 15-SP3
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2022-899=1

Package List:

  • openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64 i586)
    • smartmontools-7.2-150300.8.5.1
    • smartmontools-debuginfo-7.2-150300.8.5.1
    • smartmontools-debugsource-7.2-150300.8.5.1
  • Basesystem Module 15-SP3 (aarch64 ppc64le s390x x86_64)
    • smartmontools-7.2-150300.8.5.1
    • smartmontools-debuginfo-7.2-150300.8.5.1
    • smartmontools-debugsource-7.2-150300.8.5.1

References: