ports/143736: smartmontools provides periodic file with error

John Crawford jmc-portspr at sociology.osu.edu
Wed Feb 10 21:00:03 UTC 2010


>Number:         143736
>Category:       ports
>Synopsis:       smartmontools provides periodic file with error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 10 21:00:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     John Crawford
>Release:        7.1r p10
>Organization:
The Ohio State University
>Environment:
FreeBSD  7.1-RELEASE-p10 FreeBSD 7.1-RELEASE-p10 #0: Wed Jan 13 20:06:45 EST 2010     xx/GENERIC  i386
>Description:
/usr/local/etc/periodic/daily/smart as installed with 1.6 has an error.
smartctl invocation line is broken for devices that are found
as it constructs a command call with double dev...

/usr/local/sbin/smartctl -H /dev//dev/ad0




>How-To-Repeat:
sh /usr/local/etc/periodic/daily/smart
with AUTO logic triggered.
>Fix:

I have better luck with AUTO functionality using my line 44 change:
from 1.6 version's

${smartctl} ${daily_status_smartctl_flags} /dev/${device} > "${tmpfile}" 

to

${smartctl} ${daily_status_smartctl_flags} ${device} > "${tmpfile}"

 
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list