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

 
 

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

Submitter:  Jaromír Cápík <jcapik>
Submitted:  Wed 21 Aug 2013 04:21:22 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Thanks for reporting this. Ill look into it.

Markus Gothe <nihilus>
Group 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: -email is unavailable-
Web: 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code