Recommended update for smartmontools
| Announcement ID: | SUSE-RU-2025:4193-1 |
|---|---|
| Release Date: | 2025-11-24T09:36:13Z |
| Rating: | important |
| References: | |
| Affected Products: |
|
An update that contains one feature and has nine fixes can now be installed.
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 > 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)
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:
-
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
zypper in -t patch SUSE-SLE-SERVER-12-SP5-LTSS-EXTENDED-SECURITY-2025-4193=1
Package List:
-
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security (x86_64)
- smartmontools-7.5-6.9.1
- smartmontools-debugsource-7.5-6.9.1
- smartmontools-debuginfo-7.5-6.9.1
References:
- https://bugzilla.suse.com/show_bug.cgi?id=1069468
- https://bugzilla.suse.com/show_bug.cgi?id=1095662
- https://bugzilla.suse.com/show_bug.cgi?id=1167051
- https://bugzilla.suse.com/show_bug.cgi?id=1181400
- https://bugzilla.suse.com/show_bug.cgi?id=1183699
- https://bugzilla.suse.com/show_bug.cgi?id=1195785
- https://bugzilla.suse.com/show_bug.cgi?id=1207461
- https://bugzilla.suse.com/show_bug.cgi?id=1208905
- https://bugzilla.suse.com/show_bug.cgi?id=990406
- https://jira.suse.com/browse/PED-13806