fm/smtp-notify service fails to start if using postfix instead of sendmail on /hipster
I am using postfix as default MTA, and have noticed that fm/smtp-notify service was down:
$ svcs -xv svc:/network/sendmail-client:default (sendmail SMTP client queue runner) State: disabled since December 27, 2013 08:37:46 AM CET Reason: Disabled by an administrator. See: http://illumos.org/msg/SMF-8000-05 See: man -M /usr/share/man -s 1M sendmail Impact: 1 dependent service is not running: svc:/system/fm/smtp-notify:default
After looking at manifest file, one can see that it REQUIRES sendmail-client:default, so I have fixed it to have it OPTIONAL (see attachment).
$ pfexec svccfg validate manifest-smtp-notify.xml $ pfexec svccfg import manifest-smtp-notify.xml $ pfexec svcadm refresh svc:/system/fm/smtp-notify:default $ pfexec svcadm restart svc:/system/fm/smtp-notify:default
I guess it is not breaking anything.