httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52415] New: LockFile placed inappropriately
Date Tue, 03 Jan 2012 06:56:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52415

             Bug #: 52415
           Summary: LockFile placed inappropriately
           Product: Apache httpd-2
           Version: 2.2.21
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Runtime Config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rihad@mail.ru
    Classification: Unclassified


Hi there. I think that in extra/httpd-mpm.conf

  LockFile "/var/log/accept.lock"

should be changed to:

  LockFile "/var/run/accept.lock"


Why? Because after a FreeBSD machine has crashed and rebooted, the
server may not start if /var/log/accept.lock.$PID already existed.
It's safe to put in under /var/run/* however, because stale files
get cleaned up by /etc/rc.d/cleanvar (which runs before apache22
does thanks to "REQUIRE: cleanvar").

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message