Opened 14 years ago

Closed 14 years ago

#113 closed defect (fixed)

SMARTD_DEVICE and ...TYPE cannot be used for smartctl parameters

Reported by: Christian Franke Owned by: Christian Franke
Priority: major Milestone: Release 5.40
Component: smartd Version: 5.39.1
Keywords: Cc:


When running scripts via smartd -M exec directive, the environment variables SMARTD_DEVICE and SMARTD_DEVICETYPE should be set such that the following command works:


Such a command is already used in Example1 and Example2.

This does not always work:
SMARTD_DEVICE may contain extra info about the device (see Ubuntu Bug 491324, comment 8). It should be set to the plain device name instead.
SMARTD_DEVICETYPE may not be set to the correct type if the type was autodetected.

Change History (2)

comment:1 by Christian Franke, 14 years ago

Owner: changed from somebody to Christian Franke
Status: newaccepted

comment:2 by Christian Franke, 14 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.