public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Hlavinka <mhlavink@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/smartmontools] f45: smartd notify for all SMARTD_FAILTYPEs
Date: Sun, 16 Aug 2026 07:47:43 GMT	[thread overview]
Message-ID: <178686646376.1.13446047705654414103.rpms-smartmontools-3bd25b5b74d9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/smartmontools
Branch : f45
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=f45

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
 

                 reply	other threads:[~2026-08-16  7:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178686646376.1.13446047705654414103.rpms-smartmontools-3bd25b5b74d9@fedoraproject.org \
    --to=mhlavink@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox