[Mageia-dev] /run/httpd (maybe others) breaking features

Pascal Terjan pterjan at gmail.com
Thu Jan 24 01:24:56 CET 2013


I was looking at perl-Apache2-DebugFilter build failure

In the test it starts an apache which fails as it uses
http://httpd.apache.org/docs/trunk/rewrite/rewritemap.html#prg which
uses a mutex stored in /run/httpd/

[Wed Jan 23 23:49:55.962405 2013] [core:emerg] [pid 55277]
(13)Permission denied: AH00023: Couldn't create the rewrite-map mutex
(file /run/httpd/rewrite-map.55277)

That directory is now owned by root so it can't be used for anything
except creating the httpd.pid

$ cat /usr/lib/tmpfiles.d/httpd.conf
d /run/httpd   755 root root

Fedora uses "d /run/httpd   710 root apache" which doesn't help in
this case but fixes other problems

In the past (Mageia 1) runtimedir was /var/run directly so it was
possible to create mutex files there for any user

Is there a list of packages which have moved to subdirectories of /run
and may now be broken too?


More information about the Mageia-dev mailing list