File _patchinfo of Package patchinfo.22901
<patchinfo incident="22901">
<issue tracker="jsc" id="SLE-21751">Update smartmontools to the latest version</issue>
<issue tracker="bnc" id="1195785">Using "PathChanged=/etc/sysconfig/smartmontools" in smartd_generate_opts.path is a bad idea</issue>
<packager>sbrabec</packager>
<rating>moderate</rating>
<category>recommended</category>
<summary>Recommended update for smartmontools</summary>
<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.
</description>
</patchinfo>