>      Status: "Checking 38 devices ..."
> ...
> Jul 17 17:31:38 ia804105.us.archive.org smartd[57674]:
>   Monitoring 38 ATA/SATA, 0 SCSI/SAS and 0 NVMe devices
> Jul 17 17:32:59 ia804105.us.archive.org systemd[1]:
>   smartmontools.service: start operation timed out. Terminating.

This suggests that the first device checks last longer than the systemd
setting DefaultTimeoutStartSec=90s.  The current version of smartd
notifies READY=1 only after the first checks are completed.  In
traditional daemon mode (no -n option and no NOTIFY_SOCKET) it would
fork() then.

Please try this in smartmontools.service file:
...
 [Service]
 Type=notify
+TimeoutStartSec=300s
...

To find a reasonable TimeoutStartSec value and see which device checks
last very long, use for example:

# time /usr/sbin/smartd -q onecheck

Christian Franke
smartmontools.org

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

Title:
  smartmontools.service: start operation timed out. Terminating.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to