Possible fix for the package: Add '-q nodev0' or '-q never' to ExecStart in smartmontools.service.

Workaround for users: Add one of these to smartd_opts in /etc/default/smartmontools.

Option '-q nodev0' is available since smartmontools 7.3. Then smartd will exit with status 0 instead of 17 (default '-q nodev') if there are no devices to monitor. Systemd should no longer report this as a failed service.

With '-q never', smartd will keep running and does nothing. This was the default for '-q' in some previous versions of (only!) the Debian package. This Debian-specific patch was reverted later, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006630

Regards,

Christian
smartmontools.org

Reply via email to