Package: smartmontools
Version: 5.38+svn2879-4
Severity: normal

I run smartctl in a cron job so it is important that it not create any output 
unless
there is an error. The option --quietmode=errorsonly used to do this for me.

Since a recent upgrade smartctl is verbose even with the option 
quietmode=errorsonly.

Could smartctl respect the option quietmode=errorsonly again?

+ smartctl --test=short --quietmode=errorsonly /dev/sda1
smartctl 5.39 2009-08-29 r2879 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line 
mode".
Drive command "Execute SMART Short self-test routine immediately in off-line 
mode" successful.
Testing has begun.
Please wait 1 minutes for test to complete.
Test will complete after Wed Sep  9 04:37:01 2009

Use smartctl -X to abort test.
+ sleep 2m
+ smartctl --health --quietmode=errorsonly /dev/sda1
smartctl 5.39 2009-08-29 r2879 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED


-- Package-specific info:
Ouput of /usr/share/bug/smartmontools:
# CONFIG_IDE_TASK_IOCTL is not set

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smartmontools depends on:
ii  debianutils                   3.2.1      Miscellaneous utilities specific t
ii  libc6                         2.9-26     GNU C Library: Shared libraries
ii  libcap-ng0                    0.5.1-1    Development and header files for l
ii  libgcc1                       1:4.4.1-3  GCC support library
ii  libstdc++6                    4.4.1-3    The GNU Standard C++ Library v3
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages smartmontools recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  mailx              1:20081101-2          Transitional package for mailx ren

Versions of packages smartmontools suggests:
pn  gsmartcontrol                 <none>     (no description available)
pn  powersaved                    <none>     (no description available)
pn  smart-notifier                <none>     (no description available)

-- debconf-show failed



-- 
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