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

Bdale


Index: client-src/clientconf.c
===================================================================
RCS file: /cvs/bdale/debian/amanda/client-src/clientconf.c,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 clientconf.c
--- client-src/clientconf.c     25 Jul 2006 19:36:48 -0000      1.1.1.1
+++ client-src/clientconf.c     29 Oct 2006 18:26:48 -0000
@@ -295,7 +295,7 @@
 #else
     conf_init_string(&client_conf[CLN_GNUTAR_LIST_DIR], NULL);
 #endif
-    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 ---

Reply via email to