Public bug reported:

Binary package hint: smartmontools

According to the man page of smard.conf there is a special argument
<nomailer> for the -m switch, which when used with the smart-notifier
package should avoid sending an email when smartd warns the user of some
occurrence.

However, when changing the argument for -m from the default "root" to
"<nomailer>" and adding "-M test" the execution of
/etc/init.d/smartmontools apparently freezes and can only be resumed by
pressing "ctrl+d" once for each monitored device. The expected result
would have been the correct processing of the <nomailer> option. This is
useful for testing the correct operation of smart-notifier without
sending any email.

The complete offending line in smard.conf is:
DEVICESCAN -m <nomailer> -M test -M exec /usr/share/smartmontools/smartd-runner


Using Kubuntu 9.04

'lsb_release -rd':
  Description:    Ubuntu 9.04
  Release:        9.04

'apt-cache policy smartmontools'
  smartmontools:
    Instalados: 5.38-2ubuntu2
    Candidato: 5.38-2ubuntu2
    Tabla de versión:
   *** 5.38-2ubuntu2 0
          500 http://es.archive.ubuntu.com jaunty/main Packages
          100 /var/lib/dpkg/status
(Sorry, output in Spanish)

** Affects: smartmontools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Using <nomailer> option in smartd.conf to test email makes init script hang
https://bugs.launchpad.net/bugs/374463
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to