Package: smartmontools
Version: 6.5+svn4324-1
Severity: normal

Dear Maintainer,

Please improve smartd.service to wait for smartd to initialise:

[Service]
Type=forking
EnvironmentFile=-/etc/default/smartmontools
ExecStart=/usr/sbin/smartd $smartd_opts

Forking to the background (Type=forking) is the recommended way to
signal to systemd that a daemon has initialised successfully and is
ready for operation; at least for daemons without explicit systemd
support (Type=notify).

In this particular case, "systemd restart smartd" will give immediate
feedback of a failure if the user makes a mistake in /etc/smartd.conf.

Regards,
Peter

Reply via email to