From 5afdd108daf1e4e3399b665924d2226a662926b2 Mon Sep 17 00:00:00 2001 From: Giuseppe Iuculano Date: Tue, 1 Sep 2009 12:57:54 +0200 Subject: [PATCH] Added the removable option by default. This indicates to smartd that it should continue if the device does not appear to be present when smartd is started. Closes: #406130 --- debian/patches/63_removable.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/63_removable.patch diff --git a/debian/patches/63_removable.patch b/debian/patches/63_removable.patch new file mode 100644 index 0000000..fd6446e --- /dev/null +++ b/debian/patches/63_removable.patch @@ -0,0 +1,14 @@ +Added the removable option by default. This indicates to smartd that it should continue if the device does not appear to be present when smartd is started. + +Closes: #406130 +--- a/smartd.conf ++++ b/smartd.conf +@@ -19,7 +19,7 @@ + # Directives listed below, which will be applied to all devices that + # are found. Most users should comment out DEVICESCAN and explicitly + # list the devices that they wish to monitor. +-DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner ++DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner + + # Alternative setting to ignore temperature and power-on hours reports + # in syslog. diff --git a/debian/patches/series b/debian/patches/series index 5ec6d64..11bf082 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 60_remove-redhatism.diff 61_cciss-doc.patch 62_lowcap.patch +63_removable.patch -- 2.39.5