Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282884 - sys-apps/smartmontools mail support does not depend on mailx
Summary: sys-apps/smartmontools mail support does not depend on mailx
Status: RESOLVED DUPLICATE of bug 140192
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 304185 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-27 10:12 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2010-02-12 10:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-27 10:12:37 UTC
From the manpage:

"By default, email is sent using the system mail command. In order that smartd find the mail command (normally /bin/mail) an executable named 'mail' must be in the path of the shell or environment from which smartd was started. If you wish to specify an explicit path to the mail executable (for example /usr/local/bin/mail) or a custom script to run, please use the '-M exec' Directive below.

Note that by default under Solaris, in the previous paragraph, 'mailx' and '/bin/mailx' are used, since Solaris '/bin/mail' does not accept a '-s' (Subject) command-line argument."

and also:

"smartd will attempt to enable SMART monitoring [...], logging SMART errors and changes of SMART Attributes via the SYSLOG interface."

So what I'm asking is a removal of mailx as a dependency of smartmontools since:
 1. there is quite a few case where it is actually redundant with the local setup (think networked syslog).
 2. mailx is only default on solaris
 3. there is no reason to make daemon installation dependant on a specific MUA. it's imho up to the admin to write a script named mail that does what he wants (eventually wrapping up the sendmail command) or to install mailx
 4. in any case, if the defined mail command fails, smartd will write something to syslog.

TIA
Comment 1 SpanKY gentoo-dev 2009-08-27 10:44:04 UTC

*** This bug has been marked as a duplicate of bug 140192 ***
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-02-12 10:31:55 UTC
*** Bug 304185 has been marked as a duplicate of this bug. ***