Package: mon-contrib Version: 1.0+dfsg-3 Severity: normal Tags: patch --- /usr/lib/mon/mon.d/softraid.monitor 2014-07-03 11:31:07.000000000 +1000 +++ /tmp/softraid.monitor 2016-05-10 00:21:31.941626504 +1000 @@ -8,7 +8,7 @@ # The reference file $md_ref must exist. To generate it: # softraid.monitor learn # THIS NEEDS TO BE SOMEWHERE THE CHECKING USER CAN WRITE -md_ref="/var/something/mdstat.reference" +md_ref="/var/lib/mon/mdstat.reference" # # Return values: 3 /proc/mdstat missing, no Software RAID? # 2 reference file either missing or not writeable with learn
The softraid.monitor script doesn't work due to an invalid path. A simple patch like the above makes it work. Also please consider making it take the "learn" function the first time it's run if the file in question doesn't exist. -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mon-contrib depends on: ii mon 1.2.0-9 mon-contrib recommends no packages. mon-contrib suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/lib/mon-contrib/mon.d/softraid.monitor (from mon-contrib package)

