bugGNU Accounting Utilities - Bugs: bug #39840, *ACCT_FILE_LOC environmental...

 
 

bug #39840: *ACCT_FILE_LOC environmental variables ignored by the autotools

Submitted by:  Jaromír Cápík <jcapik>
Submitted on:  Wed 21 Aug 2013 04:21:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Nov 2014 05:04:32 AM UTC, comment #1:

Thanks for reporting this. Ill look into it.

Markus Gothe <nihilus>
Project Administrator
Wed 21 Aug 2013 04:21:22 PM UTC, original submission:

Hello.

The default paths where the acct tools expect the file locations are defined in the 'files.h' and that file seems to be generated from the 'files.h.in' template. The 'configure.ac' contains the following AC_SUBST macros which are supposed to create the output variables from their shell equivalents.

AC_SUBST(ACCT_FILE_LOC)
AC_SUBST(SAVACCT_FILE_LOC)
AC_SUBST(USRACCT_FILE_LOC)

The problem is, that the environmental variables are somehow ignored by the 'configure' script and the definitions in the generated 'files.h' (and other files) are always set to '/var/log/account/*acct'. The only way, how to change the paths is to replace them with 'sed' once the configuration is done.

Please, investigate & fix.

Thanks in advance.

Regards,
Jaromir.

--
Jaromir Capik
Red Hat Czech, s.r.o.
Software Engineer / Secondary Arch

Email: -unavailable-
Web: http://www.cz.redhat.com
Red Hat Czech s.r.o., Purkynova 99/71, 612 45, Brno, Czech Republic
IC: 27690016

Jaromír Cápík <jcapik>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nihilus (Posted a comment)
  • -unavailable- added by jcapik (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup