NetBSD Problem Report #38958

From  Sun Jun 15 13:46:42 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id D48F363B8E3
	for <>; Sun, 15 Jun 2008 13:46:42 +0000 (UTC)
Message-Id: <>
Date: Sun, 15 Jun 2008 06:46:42 -0700 (PDT)
Subject: sysutils/amanda - bad value /usr/adm/amanda for indexdir
X-Send-Pr-Version: 3.95

>Number:         38958
>Category:       pkg
>Synopsis:       amanda should use /usr/pkg/amanda for indexdir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gdt
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 13:50:01 +0000 2008
>Closed-Date:    Sun Aug 09 23:17:07 +0000 2015
>Last-Modified:  Sun Aug 09 23:17:07 +0000 2015
>Originator:     Paul Goyette
>Release:        NetBSD 4.99.63
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | |

System: NetBSD 4.99.63 NetBSD 4.99.63 (QUICKY (ASUS M2N32 WS) 2008-05-30 21:57:38) #0: Fri May 30 16:27:33 PDT 2008 amd64
Architecture: x86_64
Machine: amd64
	The amanda packages currently use a default of /usr/adm/amanda
	for the location of the indexdir.  For NetBSD, this should change
	to /usr/pkg/etc/amanda

	Create an amanda.conf without specifying an explicit value for
	indexdir.  Both the amcheck and amdump programs will try to use
	the non-existent /usr/adm/amanda as the default indexdir




Responsible-Changed-From-To: pkg-manager->gdt
Responsible-Changed-When: Sun, 15 Jun 2008 15:16:01 +0000
gdt will deal

From: Klaus Heinz <>
Subject: Re: pkg/38958: sysutils/amanda - bad value /usr/adm/amanda for indexdir
Date: Sun, 15 Jun 2008 22:18:04 +0200 wrote:
 > 	The amanda packages currently use a default of /usr/adm/amanda
 > 	for the location of the indexdir.  For NetBSD, this should change
 > 	to /usr/pkg/etc/amanda

 IMO, something like /var/amanda (or even /var/lib/amanda...) would be more
 appropriate. $PREFIX/etc/* should contain configuration files, not
 backup history.


From: Sergey Svishchev <>
Subject: Re: pkg/38958
Date: Wed, 15 Aug 2012 22:43:18 +0400

 Other directories are not hardcoded, btw.

 Sergey Svishchev

From: "David A. Holland" <>
Subject: PR/38958 CVS commit: pkgsrc/sysutils/amanda-common
Date: Sun, 9 Aug 2015 22:50:10 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sun Aug  9 22:50:10 UTC 2015

 Modified Files:
 	pkgsrc/sysutils/amanda-common: Makefile distinfo
 Added Files:
 	pkgsrc/sysutils/amanda-common/patches: patch-common-src_conffile.c patch-example_chg-multi-conf

 Log Message:
 Remove references to /usr/adm, as nobody has shipped a /usr/adm
 directory in their OS for probably some twenty years. Use /var
 instead. In particular, fix the defaults for CNF_INFOFILE, CNF_LOGDIR,
 and CNF_INDEXDIR to use the configured LOCALSTATEDIR, which in pkgsrc
 will be ${VARBASE}/amanda, instead of hardwiring /usr/adm/amanda.

 PR 38958.


 To generate a diff of this commit:
 cvs rdiff -u -r1.71 -r1.72 pkgsrc/sysutils/amanda-common/Makefile
 cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/amanda-common/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/sysutils/amanda-common/patches/patch-common-src_conffile.c \
     pkgsrc/sysutils/amanda-common/patches/ \
     pkgsrc/sysutils/amanda-common/patches/patch-example_chg-multi-conf \
     pkgsrc/sysutils/amanda-common/patches/ \

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-When: Sun, 09 Aug 2015 23:17:07 +0000

I didn't change the machinery that puts PKG_SYSCONFDIR into one or more of
the example configs for things that according to the discussion here should
probably be in /var. That can be done easily if the consensus is in favor,
or the package maintainer thinks it should. However, /usr/adm no longer
appears in the package.


 Why etc?  Shouldn't this be in VARBASE as /usr/pkg/var/amanda?
 But agreed that /usr/adm/amanda is goofy. 	

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.