From nobody@FreeBSD.org  Wed Feb 10 20:49:57 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CA3AC1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Feb 2010 20:49:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B8B578FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Feb 2010 20:49:57 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1AKnvq5063608
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Feb 2010 20:49:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1AKnvlV063607;
	Wed, 10 Feb 2010 20:49:57 GMT
	(envelope-from nobody)
Message-Id: <201002102049.o1AKnvlV063607@www.freebsd.org>
Date: Wed, 10 Feb 2010 20:49:57 GMT
From: John Crawford <jmc-portspr@sociology.osu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: smartmontools provides periodic file with error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         143736
>Category:       ports
>Synopsis:       sysutils/smartmontools provides periodic file with error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    marck
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 10 21:00:03 UTC 2010
>Closed-Date:    Thu Feb 11 22:09:40 UTC 2010
>Last-Modified:  Thu Feb 11 22:09:40 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->marck 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Feb 11 04:22:44 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143736 
State-Changed-From-To: open->feedback 
State-Changed-By: marck 
State-Changed-When: Thu Feb 11 09:48:19 UTC 2010 
State-Changed-Why:  
Which port version do you use? Can you try 5.39_2? 

(BTW, what your "1.6" does mean?) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=143736 

From: "John M. Crawford" <crawford.6@sociology.osu.edu>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143736: sysutils/smartmontools provides periodic file
 with error
Date: Thu, 11 Feb 2010 12:30:53 -0500 (EST)

 I tried 5.39_2 as updated and it provides the functionality broken
 in the previous version. There are some other changes in there, 
 text output different, etc. Looks good.
 Thanks.
 
 1.6 was the buggy version of "smart" that is placed in periodic/daily
 # $FreeBSD: ports/sysutils/smartmontools/files/smart.in,v 1.6 2010/02/04 13:22:00 amdmi3 Exp $
 which is now 1.7, dated Feb 7. 
 
 thanks,
 John
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: marck 
State-Changed-When: Thu Feb 11 22:07:45 UTC 2010 
State-Changed-Why:  
It seems submitter is satisfied with current port version. 

Thank you for your cooperation! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=143736 
>Unformatted:
