File _patchinfo of Package patchinfo.41567

<patchinfo incident="41567">
  <issue tracker="jsc" id="PED-13806"/>
  <issue tracker="bnc" id="1207461">Changing SMARTD_SAVESTATES and/or SMARTD_ATTRLOG to "no" in /etc/sysconfig/smartmontools causes smartd.service to fail.</issue>
  <issue tracker="bnc" id="1195785">Using "PathChanged=/etc/sysconfig/smartmontools" in smartd_generate_opts.path is a bad idea</issue>
  <issue tracker="bnc" id="1069468">Packages should no longer use /var/adm/fillup-templates</issue>
  <issue tracker="bnc" id="1183699">systemd complains about some services smartd</issue>
  <issue tracker="bnc" id="1208905">SLES 15 SP5 - smartctl -x /dev/nvme0n1 crashes on big endian systems</issue>
  <issue tracker="bnc" id="1181400">AUDIT-TASK: Evaluate systemd hardenings and get more services to use them</issue>
  <issue tracker="bnc" id="1167051">[POWER9]  smartd fails to start on PowerVM lpar</issue>
  <issue tracker="bnc" id="1095662">smartd.service incorrectly launched by /etc/systemd/system/multi-user.target.wants</issue>
  <issue tracker="bnc" id="990406">[HPS Bug] "systemctl status" command  shows "degraded" as smartd.service has failed.</issue>
  <packager>sbrabec</packager>
  <rating>important</rating>
  <category>recommended</category>
  <summary>Recommended update for smartmontools</summary>
  <description>This update for smartmontools fixes the following issues:

- update-smart-drivedb: 
    * Provide support for the new upstream GitHub repository.
    * Do not overwrite files in /usr/share. 
    * Use /var/lib provided by --with-drivedbinstdir.
    * Could now run as systemd service with 'Type=notify' set.
    * add new option and signing key
- Add smartmontools-drivedb.h version 5894 from the branch 7.5.
- Update to 7.5 (jsc#PED-13806).
- Do not quit with an error when no drives to monitor are available (bsc#990406 bsc#1167051).
- Run through spec-cleaner, use autosetup
- smartmontools.generate_smartd_opts.in: Fix generated options when
  SMARTD_SAVESTATES or SMARTD_ATTRLOG are set to "no" (bsc#1207461).
- fix smartctl crash for an NVMe on big endian systems (bsc#1208905).
- Catch another invalid state in %post: DRIVEDB_H_RELEASE_SAVED might end up empty
- refresh keyring with new signing key
- Remove smartmontools-drivedb.h. Up to date version is included in release tarball
- packaging: try to fix smartmontools-drivedb_h-update.sh
- 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-drivedb.h to the latest version from the upstream branch RELEASE_7_2_DRIVEDB.
- Added hardening to systemd service(s) (bsc#1181400). 
- smartmontools-drivedb_h-update.sh: Fix update needed logic.
- Add smartmontools-drivedb.h, the latest version from the upstream branch RELEASE_7_2_DRIVEDB
- smartctl: add new options to smartctl: 
- smartd: 
    * Support for staggered self-tests.
    * No longer writes attribute log if no attributes were read due to standby mode or other error.
    * Now resolves symlinks before device names are checked for duplicates.
    * Fixed SMARTD_DEVICETYPE environment variable if DEVICESCAN is used without '-d TYPE'.
    * No longer truncates very long device names in warning emails.
    * No longer skips scheduled tests if system clock has been adjusted to the past.
    * '-A': Attribute logs now use local time instead of UTC.
- ATA:
    * Device type '-d jmb39x-q,N' for JMB39x protocol variant used by some QNAP NAS devices.
    * Device type '-d jms56x,N' for JMS562 USB to SATA RAID bridges.
    * Device type '-d jmb39x,N' for drives behind JMicron JMB39x RAID port multipliers.
- SCSI: 
    * Improved heuristics for log subpages of new and very old disks.
    * Workaround for incomplete Log subpages response from some SAS SSDs.
    * Various improvements for the decoding of log pages.
    * Improved handling of READ CAPACITY command.
    * Support for SAS host managed drives.
- NVMe:
    * Log transfer size limited to avoid device or kernel crashes.
    * SMART/Health Information and Error Information are always read with broadcast NSID.
- NVMEe/USB:
    * Device type '-d sntrealtek' for Realtek RTL9210 USB to NVMe bridges.
    * Device type '-d sntjmicron' for NVMe drives behind JMicron 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'.
    * Fixed '-fstack-protector*' detection.
- Linux: 
    * Various fixes of smartd.service file (bsc#1183699).
    * Device scan with '-d by-id' scans '/dev/disk/by-id/*' symlinks.
    * Dropped device scan support for devfs.
    * Fixed device scan with multiple '-d TYPE' options.
    * Fixed device scan crash on missing '/proc/devices'.
    * USB ID detection also for '/dev/sgN'.
- 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.
- drop smartmontools smartd service patch (bsc#1183699)
- Autodetection of '-d sntjmicron' type for JMicron USB to NVMe bridges.
- Fixed segfault on CCISS transfer sizes &gt; 512 bytes.
- Fixed smartd.service 'Type' if libsystemd-dev is not available.
- Fixed '/dev/megaraid_sas_ioctl_node' fd leak.
- Fixed GPL licensing problem of 'linux_nvme_ioctl.h'
- Update smartmontools.keyring. Developers use new key.
- smartmontools-drivedb_h-update.sh: Recognize equal files in different commits.
- Remove smartmontools-drivedb.h. No update available in the
  upstream branch RELEASE_7_0_DRIVEDB.
- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
    * Allow OBS to shortcut through the -mini flavors.
- Fix license of nvme_ioctl.h
- Always use '-d sat' for USB vendor IDs with known SAT support.
- Update smartmontools-drivedb.h to the latest version from the upstream branch RELEASE_7_0_DRIVEDB.
- Fix smartd.service EnvironmentFile (bsc#1095662).
- Add smartd_generate_opts.path and smartd_generate_opts.service
  to update smartd_opts if sysconfig is modified. Needed for
- Replace references to /var/adm/fillup-templates with new %_fillupdir macro (bsc#1069468)
  </description>
</patchinfo>
openSUSE Build Service is sponsored by