public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/smartmontools] f43: smartd notify for all SMARTD_FAILTYPEs
@ 2026-08-16  7:47 Michal Hlavinka
  0 siblings, 0 replies; only message in thread
From: Michal Hlavinka @ 2026-08-16  7:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/smartmontools
Branch : f43
Commit : 3bd25b5b74d9cec4574c8671eecafba017b2896d
Author : Michal Hlavinka <mhlavink@redhat.com>
Date   : 2026-08-15T16:39:46+02:00
Stats  : +4/-17 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/smartmontools/c/3bd25b5b74d9cec4574c8671eecafba017b2896d?branch=f43

Log:
smartd notify for all SMARTD_FAILTYPEs

---
diff --git a/smartdnotify b/smartdnotify
index 86d786b..e0fd01e 100644
--- a/smartdnotify
+++ b/smartdnotify
@@ -8,22 +8,6 @@ fi
 
 # Notify desktop user
 MESSAGE="SMART Disk monitor:"
-case "$SMARTD_FAILTYPE" in
-    "EmailTest"|"Health"|"Temperature"|"Usage")
-        ;;
-    *)
-#       "CurrentPendingSector",       // 10
-#       "OfflineUncorrectableSector", // 11
-#       "FailedReadSmartErrorLog",    // 7
-#       "ErrorCount",                 // 4
-#       "FailedReadSmartData",        // 6
-#       "FailedHealthCheck",          // 5
-#       "FailedOpenDevice",           // 9
-#       "SelfTest",                   // 3
-#       "FailedReadSmartSelfTestLog", // 8
-      exit 0
-esac
-
 echo "$MESSAGE
 $SMARTD_MESSAGE" | wall -n 2>/dev/null ||:
 

diff --git a/smartmontools.spec b/smartmontools.spec
index d203ac5..aea5791 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -7,7 +7,7 @@
 Summary:	Tools for monitoring SMART capable hard disks
 Name:		smartmontools
 Version:	7.5
-Release:	8%{?dist}
+Release:	9%{?dist}
 Epoch:		1
 License:	GPL-2.0-or-later
 URL:		https://www.smartmontools.org/
@@ -175,6 +175,9 @@ fi
 
 
 %changelog
+* Sat Aug 15 2026 Michal Hlavinka <mhlavink@redhat.com> - 1:7.5-9
+- smartd notify for all SMARTD_FAILTYPEs
+
 * Wed Jul 22 2026 Michal Hlavinka <mhlavink@redhat.com> - 1:7.5-8
 - update selinux policy
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-16  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16  7:47 [rpms/smartmontools] f43: smartd notify for all SMARTD_FAILTYPEs Michal Hlavinka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox