Package: munin-node
Version: 1.4.6-2
Severity: normal

Hi.

The plugin checks the version of smartctl for compatibility with the --nockeck 
flag.

However, line 119 :
if ($smartctl and `$smartctl --version` =~ / version (\d+\.\d+) /i)
won't work :
# smartctl --version | grep -i version
the terms of the GNU General Public License Version 2.

whereas :
# smartctl --version | grep -i release
smartmontools release 5.40 dated 2009-12-09 at 21:00:32 UTC

Changing s/version/release in the check renders it much more correct.

This has the additional advantage to not trigger hdparm for stand-by detection, 
which may be causing some trouble (see #654873).

Thanks in advance for fixing this.

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin-node depends on:
ii  adduser             3.113
ii  gawk                1:3.1.8+dfsg-0.1
ii  libnet-server-perl  0.99-3
ii  lsb-base            3.2-28
ii  munin-common        1.4.6-2
ii  perl                5.14.2-6
ii  procps              1:3.2.8-11

Versions of packages munin-node recommends:
ii  libnet-snmp-perl  6.0.1-2

Versions of packages munin-node suggests:
ii  acpi                              1.5-3
ii  ethtool                           <none>
ii  hdparm                            9.32-1
ii  libcache-cache-perl               <none>
ii  libcrypt-ssleay-perl              0.57-2+b3
ii  libdbd-mysql-perl                 4.020-1+b1
ii  libdbd-pg-perl                    <none>
ii  liblwp-useragent-determined-perl  <none>
ii  libnet-irc-perl                   <none>
ii  libnet-ssleay-perl                1.42-1+b1
ii  libtext-csv-xs-perl               <none>
ii  libwww-perl                       6.03-1
ii  libxml-simple-perl                2.18-3
ii  lm-sensors                        1:3.3.1-1
ii  logtail                           <none>
ii  munin                             <none>
ii  munin-java-plugins                <none>
ii  munin-plugins-extra               <none>
ii  mysql-client                      5.1.58-1
ii  mysql-client-5.1 [mysql-client]   5.1.58-1
ii  net-tools                         1.60-24.1
ii  python                            2.7.2-9
ii  ruby                              4.8
ii  ruby1.8 [ruby]                    1.8.7.352-2
ii  smartmontools                     5.41+svn3365-1

-- Configuration Files:
/etc/munin/munin-node.conf changed [not included]
/etc/munin/plugin-conf.d/munin-node [Errno 13] Permission non accordée: 
u'/etc/munin/plugin-conf.d/munin-node'

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to