[email protected]
[Top] [All Lists]

Bug#394796: marked as forwarded (Should supply /etc/amandates)

Subject: Bug#394796: marked as forwarded Should supply /etc/amandates
From: Debian Bug Tracking System
Date: Sun, 29 Oct 2006 11:18:33 -0800
Your message dated Sun, 29 Oct 2006 12:01:47 -0700
with message-id <[email protected]>
has caused the Debian Bug report #394796,
regarding Should supply /etc/amandates
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: problem with how amandates default location is set
From: Bdale Garbee
Date: Sun, 29 Oct 2006 12:01:47 -0700
The way the default is set for CLN_AMANDATES in client-src/clientconf.c
is just wrong.  It doesn't use the default in the client-src/amandates.h
file, and it precludes overriding the location of the amandates file at
build time using --localstatedir which is what my Debian package build
expects to be able to do.

Never mind the fact that using /etc for this file violates the FHS.  ;-)

I'm using the following trivial patch in my Debian package builds.
Please include this in the next update.  


Index: client-src/clientconf.c
RCS file: /cvs/bdale/debian/amanda/client-src/clientconf.c,v
retrieving revision
diff -u -u -r1.1.1.1 clientconf.c
--- client-src/clientconf.c     25 Jul 2006 19:36:48 -0000
+++ client-src/clientconf.c     29 Oct 2006 18:26:48 -0000
@@ -295,7 +295,7 @@
     conf_init_string(&client_conf[CLN_GNUTAR_LIST_DIR], NULL);
-    conf_init_string(&client_conf[CLN_AMANDATES], "/etc/amandates");
+    conf_init_string(&client_conf[CLN_AMANDATES], AMANDATES_FILE);
     /* defaults for internal variables */
     conf_line_num = got_parserror = 0;

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#394796: marked as forwarded (Should supply /etc/amandates), Debian Bug Tracking System <=