[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 55790] mod_fcgid lockfile hardcoded to be in /tmp


Mario <JBlond@xxxxxxxxx> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO

--- Comment #1 from Mario <JBlond@xxxxxxxxx> ---
is this still relevant? On Linux it uses the log folder from apache.

modules/fcgid/fcgid_mutex_unix.c:117:    lockfile = apr_palloc(pconf,
modules/fcgid/fcgid_mutex_unix.c:118:    tmpnam(lockfile);

srclib/apr/file_io/unix/tempdir.c:62:          P_tmpdir      (POSIX define)
srclib/apr/file_io/unix/tempdir.c:104:#ifdef P_tmpdir
srclib/apr/file_io/unix/tempdir.c:109:    if (test_tempdir(P_tmpdir, p)) {
srclib/apr/file_io/unix/tempdir.c:110:        dir = P_tmpdir;

>From line 50

    /* Our goal is to find a temporary directory suitable for writing
       Here's the order in which we'll try various paths:

          "C:\TEMP"     (windows only)
          "SYS:\TMP"    (netware only)
          P_tmpdir      (POSIX define)

       NOTE: This algorithm is basically the same one used by Python
       2.2's tempfile.py module.  */

    /* Try the environment first. */

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx