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

Sander Lepik sander.lepik at eesti.ee
Thu Jan 24 08:50:34 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

24.01.2013 02:24, Pascal Terjan kirjutas:
> 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
Why can't we use "d /run/httpd 710 apache apache".
It's quite possible that apache is trying to create this file as apache
not as root. And with current permissions only root can write into that
directory.

- --
Sander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRAOe7AAoJECMkkFJIyHr8EtYH/2/H0musOzg8hKinO0OcEj55
fkHKHFr2+m2ge9lD35TkXcXPBTAlNPILPm2d+/S6mrsmCHtEei++LJYtJXyR8m9s
MZyP/r98NdDf4r2EQW+sBLm7IN1csR+pial7tGNnsjvvVZo6gQcbHNeEjZPxTjXC
2N0FGeVYljxMfjvYRbeyq7RejLmZPsEG47fqr4EhdBwp6HykyaDyk4v+0VrzJNYD
fUthrGk6hBVZqgMG7GmiWzOehplKkzD3M7vGz3LNXwmpIEW+v06tXiVgHdIcQkma
4EjMast6bze+NVLhtfs4yyslkjhf5J8EnPZ//cbRiVH81sXfJOtNkWD2+N3Xzbo=
=H0kN
-----END PGP SIGNATURE-----



More information about the Mageia-dev mailing list