From fanf@dotat.at  Fri Aug 18 16:42:22 2000
Return-Path: <fanf@dotat.at>
Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62])
	by hub.freebsd.org (Postfix) with ESMTP id 0C46937B423
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Aug 2000 16:42:22 -0700 (PDT)
Received: from fanf by hand.dotat.at with local (Exim 3.15 #3)
	id 13Pvlz-000AKH-00
	for FreeBSD-gnats-submit@freebsd.org; Fri, 18 Aug 2000 23:42:03 +0000
Message-Id: <E13Pvlz-000AKH-00@hand.dotat.at>
Date: Fri, 18 Aug 2000 23:42:03 +0000
From: Tony Finch <dot@dotat.at>
Sender: fanf@dotat.at
Reply-To: Tony Finch <dot@dotat.at>
To: FreeBSD-gnats-submit@freebsd.org
Subject: amanda doesn't like the output from its chg-chio script
X-Send-Pr-Version: 3.2

>Number:         20711
>Category:       ports
>Synopsis:       amanda doesn't like the output from its chg-chio script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 18 16:50:02 PDT 2000
>Closed-Date:    Mon Jan 29 12:32:34 PST 2001
>Last-Modified:  Mon Jan 29 12:33:28 PST 2001
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.1-STABLE-20000816 i386
>Organization:
dotat
>Environment:

FreeBSD atlas.sfo.covalent.net 4.1-STABLE-20000810 FreeBSD 4.1-STABLE-20000810 #0: Sun Aug 13 15:21:34 PDT 2000     fanf@bacchus.sfo.covalent.net:/FreeBSD/obj/FreeBSD/releng4/sys/ATLAS  i386

amanda-2.4.1        The Advanced Maryland Automatic Network Disk Archiver

>Description:

When using a scsi tape changer device with amanda it fails to work
as follows:

Amanda Tape Server Host Check
-----------------------------
/raid/tmp: 133852558 KB disk space available, using 133494158 KB.
amcheck-server: could not get changer info: 8 1

Amanda Backup Client Hosts Check
--------------------------------
Client check: 2 hosts checked in 0.159 seconds, 0 problems found.

(brought to you by Amanda 2.4.1p1)

i.e. it seems to think that the status info (in our case "1 8 1") is an
error message and fails.

>How-To-Repeat:

the above output is from `amcheck`

>Fix:


--- /usr/ports/misc/amanda24/work/amanda-2.4.1p1/changer-src/chg-chio	Fri Aug 18 20:53:33 2000
+++ chg-chio	Fri Aug 18 23:34:29 2000
@@ -347,7 +347,6 @@
 		$currentTape = 1;
 	}
 
-	print STDERR "$currentTape $max_slot 1\n";
 	print "$currentTape $max_slot 1\n";
 	exit 0;
 }

>Release-Note:
>Audit-Trail:

From: Chris Shenton <cshenton@uucom.com>
To: Tony Finch <dot@dotat.at>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/20711: amanda doesn't like the output from its chg-chio script
Date: 21 Aug 2000 15:36:55 -0400

 On Fri, 18 Aug 2000 23:42:03 +0000, Tony Finch <dot@dotat.at> said:
 
 Tony> - print STDERR "$currentTape $max_slot 1\n";
 Tony>   print "$currentTape $max_slot 1\n"; exit 0;
 
 I can confirm: have had to remove this line every time I build amanda,
 for the past year or so.
 
 I submitted the patch to the Amanda developers (way back when) but
 there really hasn't been a new release in quite a while.
 
Responsible-Changed-From-To: freebsd-ports->cwt 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Aug 27 12:38:51 PDT 2000 
Responsible-Changed-Why:  
Over to port's maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20711 
Responsible-Changed-From-To: cwt->freebsd-ports 
Responsible-Changed-By: will 
Responsible-Changed-When: Fri Jan 26 21:49:19 PST 2001 
Responsible-Changed-Why:  
Return responsibility to general ports team. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20711 
State-Changed-From-To: open->closed  
State-Changed-By: cwt 
State-Changed-When: Mon Jan 29 12:32:34 PST 2001 
State-Changed-Why:  
This was a dup of ports/18003 which was resolved by the  
upgrade to amanda 2.4.2. 

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