[exim-dev] [Bug 1045] New: ALT_CONFIG_PREFIX breaks exicyclo…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andreas Metzler
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 1045] New: ALT_CONFIG_PREFIX breaks exicyclog, exinext and exiwhat
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1045
           Summary: ALT_CONFIG_PREFIX breaks exicyclog, exinext and exiwhat
           Product: Exim
           Version: 4.72
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
        AssignedTo: nigel@???
        ReportedBy: eximusers@???
                CC: exim-dev@???



exicyclog, exinext and exiwhat do this:

#1 Search a (build-time) hardcoded list of configuration files for the
currently used one.

#2 Find the exim binary by grep for exim_path in the newly found configuration
file or falling back to the compile time default.

#3 Read some configuration directives (spool_directory) by running exim -bP
directive

At #3 -C is used to point exim at the file found in #1. This breaks if exim was
built with ALT_CONFIG_PREFIX and if the configuration file is not in
ALT_CONFIG_PREFIX. (A common szenario if CONFIGURE_FILE specifies a a list of
files in different directories.)

I *think* the obvious and straightforward workaround would be to simply drop
the -C argument, the logic used in #1 is supposed to be identical to the one
the exim binary is using.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email