Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#48162 - [smartmontools] 6.4-2 wrong path to environment file in smartd service

Attached to Project: Arch Linux
Opened by Boogie (boogie) - Saturday, 13 February 2016, 11:16 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 February 2016, 03:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 5
Private No


# systemctl cat smartd.service

Must be:
# systemctl cat smartd.service
This task depends upon

Comment by Shalygin Konstantin (k0ste) - Sunday, 30 April 2017, 08:21 GMT
This issue is still exists. Up.
Comment by MushiMushy (MushiMushy) - Thursday, 07 September 2017, 17:22 GMT
Environment file is installed in /etc/conf.d/smartd while smartd.service is looking for it in /etc/default/smartmontools.
Comment by Thomas Weidner (thomas001le) - Sunday, 13 January 2019, 22:29 GMT
*bump* this issue is still there in version 7.0-1. The patch is trivial.
Comment by Andreas Klauer (frostschutz) - Tuesday, 09 July 2019, 20:24 GMT
ran into this issue today. On my system /etc/conf.d/smartd is now linked to /etc/default/smartmontools so both files are the same, in case future update will change the file it looks for and breaks it for me... (when trivial fixes are not so trivial).

(My smartd runs with savestates option as otherwise selective selftests won't work, thanks to harddrives that do not remember the last tested region, and I do not enjoy 24-hour-long selftests.)
Comment by Lars Gustäbel (gustaebel) - Wednesday, 18 September 2019, 06:55 GMT
This patch lets the systemd unit point to /etc/conf.d/smartd which is the preferred way AFAIK.