[Bug 1784191] Re: smartd sends mail before network is up on boot

Andreas Hasenack andreas at canonical.com
Wed Aug 1 19:00:46 UTC 2018


Thanks for filing this bug in Ubuntu.

smartd won't always require networking, so making such a change
distribution-wide is probably not the best solution. You adapted well to
your local configuration settings, and I'm glad it worked.

Other MTAs probably would have handled this better I suspect, as ssmtp
doesn't handle queueing.

Also note that -M test in smartd.conf is not about sending a test email
on boot, but on restart of the smartd daemon. It can happen anytime, not
just during boot. An upgrade of the package could trigger that, for
example. In which case it would work, as network is already up.

It feels like a corner case, and I'm not sure there is an elegant
solution that applies to all cases. Always depending on the network
online target would increase boot times unnecessarily.

** Changed in: smartmontools (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: smartmontools (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to smartmontools in Ubuntu.
https://bugs.launchpad.net/bugs/1784191

Title:
  smartd sends mail before network is up on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1784191/+subscriptions



More information about the Ubuntu-server-bugs mailing list