Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39205 - [apache] create lock file directory
Attached to Project:
Arch Linux
Opened by Yardena Cohen (yardenac) - Thursday, 06 March 2014, 22:17 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 02 April 2014, 20:08 GMT
Opened by Yardena Cohen (yardenac) - Thursday, 06 March 2014, 22:17 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 02 April 2014, 20:08 GMT
|
DetailsPlease create a directory for file-based locking in Apache. It just needs a new line in /usr/lib/tmpfiles.d/apache like this:
d /run/httpd 0755 root root - d /run/httpd/locks 0700 root root - That allows something like this in httpd.conf: Mutex "file:/run/httpd/locks" Apache version: 2.4.7 Relevant file: https://projects.archlinux.org/svntogit/packages.git/tree/apache/trunk/apache.tmpfiles.conf |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 02 April 2014, 20:08 GMT
Reason for closing: Won't implement
Additional comments about closing: If you change default paths, you should also update the configuration for that.
Wednesday, 02 April 2014, 20:08 GMT
Reason for closing: Won't implement
Additional comments about closing: If you change default paths, you should also update the configuration for that.
Comment by Anatol Pomozov (anatolik) -
Friday, 07 March 2014, 00:47 GMT
How it differs from using the default RuntimeDir (i.e. '/run/httpd') for locks?
Comment by Yardena Cohen (yardenac) -
Wednesday, 12 March 2014, 07:08 GMT
You can have slightly stricter permissions and more guarantee against name collisions. This is how I've always run it. Admittedly /run/httpd works though.