I think this is a problem because a user might expect smartd to work out of the box because smartd is started by default on a fresh install. A user will assume that smartd is already properly configured. smartd is configured by smartd.conf which by default contains a line that monitors harddrives and sends an email if one of them fails. smartd executes the script /usr/libexec/smartmontools/smartdnotify. smartdnotify uses mailx. mailx uses sendmail. Since sendmail is not installed by default anymore the notification won't work. Desktop notification work correctly. Steps to Reproduce: 1. Edit /etc/smartmontools/smartd.conf and add "-M test" at the end of the only uncommented line starting with "DEVICESCAN". This will initiate a simulated failure to test the notification when the daemon starts. 2. Restart smartd: systemctl restart smartd.service 3. Check the system logs where it says that sendmail was not found.
By "Desktop notification work correctly." do you mean an alert pops up on GUI? Asking as I'm not getting a gui alert Xfce
Please do not try to fix this by adding a "Requires: sendmail" to the spec-file. There are other server to send email with, eg. Postfix which also has a sendmail command install via "alternatives". Postfix provides: rpm -q --provides postfix MTA config(postfix) = 2:2.11.0-2.fc21 postfix = 2:2.11.0-2.fc21 postfix(x86-64) = 2:2.11.0-2.fc21 server(smtp) smtpd smtpdaemon
Kim: Thanks for noting that. I've changed it from sendmail to MTA.
smartmontools-6.2-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/smartmontools-6.2-3.fc19
smartmontools-6.2-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/smartmontools-6.2-4.fc20
Package smartmontools-6.2-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing smartmontools-6.2-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5225/smartmontools-6.2-3.fc19 then log in and leave karma (feedback).
I have ssmtp installed, which has /usr/sbin/sendmail, but does not provide MTA. So this smartmontools update tries to install postfix, which I do not want.
There seems to be no way to satisfy all packages, as there is no common provide in all of them. I will use less optimal file requirement on %{_sbindir}/sendmail
Package smartmontools-6.2-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing smartmontools-6.2-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5239/smartmontools-6.2-5.fc20 then log in and leave karma (feedback).
smartmontools-6.2-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
smartmontools-6.2-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.