Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 20:49:57 GMT
From:      John Crawford <jmc-portspr@sociology.osu.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143736: smartmontools provides periodic file with error
Message-ID:  <201002102049.o1AKnvlV063607@www.freebsd.org>
Resent-Message-ID: <201002102100.o1AL03SY067314@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002102049.o1AKnvlV063607>