summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021984.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021984.html')
-rw-r--r--zarb-ml/mageia-dev/2013-January/021984.html190
1 files changed, 190 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021984.html b/zarb-ml/mageia-dev/2013-January/021984.html
new file mode 100644
index 000000000..b005f5424
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-January/021984.html
@@ -0,0 +1,190 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] /run/httpd (maybe others) breaking features
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/run/httpd%20%28maybe%20others%29%20breaking%20features&In-Reply-To=%3CCA%2BCX%2BbjpLjAGe%3D-QLU8C9Au_gNcEvwqTEbq9exCUBWL0FUL%3DDA%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="021982.html">
+ <LINK REL="Next" HREF="021978.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] /run/httpd (maybe others) breaking features</H1>
+ <B>Pascal Terjan</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/run/httpd%20%28maybe%20others%29%20breaking%20features&In-Reply-To=%3CCA%2BCX%2BbjpLjAGe%3D-QLU8C9Au_gNcEvwqTEbq9exCUBWL0FUL%3DDA%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] /run/httpd (maybe others) breaking features">pterjan at gmail.com
+ </A><BR>
+ <I>Thu Jan 24 11:23:51 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="021982.html">[Mageia-dev] /run/httpd (maybe others) breaking features
+</A></li>
+ <LI>Next message: <A HREF="021978.html">[Mageia-dev] /run/httpd (maybe others) breaking features
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21984">[ date ]</a>
+ <a href="thread.html#21984">[ thread ]</a>
+ <a href="subject.html#21984">[ subject ]</a>
+ <a href="author.html#21984">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thu, Jan 24, 2013 at 9:24 AM, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+&gt;<i> 'Twas brillig, and Pascal Terjan at 24/01/13 01:40 did gyre and gimble:
+</I>&gt;&gt;<i> On Thu, Jan 24, 2013 at 12:45 AM, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+</I>&gt;&gt;&gt;<i> 'Twas brillig, and Pascal Terjan at 24/01/13 00:24 did gyre and gimble:
+</I>&gt;&gt;&gt;&gt;<i> I was looking at perl-Apache2-DebugFilter build failure
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> In the test it starts an apache which fails as it uses
+</I>&gt;&gt;&gt;&gt;<i> <A HREF="http://httpd.apache.org/docs/trunk/rewrite/rewritemap.html#prg">http://httpd.apache.org/docs/trunk/rewrite/rewritemap.html#prg</A> which
+</I>&gt;&gt;&gt;&gt;<i> uses a mutex stored in /run/httpd/
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> [Wed Jan 23 23:49:55.962405 2013] [core:emerg] [pid 55277]
+</I>&gt;&gt;&gt;&gt;<i> (13)Permission denied: AH00023: Couldn't create the rewrite-map mutex
+</I>&gt;&gt;&gt;&gt;<i> (file /run/httpd/rewrite-map.55277)
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> That directory is now owned by root so it can't be used for anything
+</I>&gt;&gt;&gt;&gt;<i> except creating the httpd.pid
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> $ cat /usr/lib/tmpfiles.d/httpd.conf
+</I>&gt;&gt;&gt;&gt;<i> d /run/httpd 755 root root
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Fedora uses &quot;d /run/httpd 710 root apache&quot; which doesn't help in
+</I>&gt;&gt;&gt;&gt;<i> this case but fixes other problems
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> In the past (Mageia 1) runtimedir was /var/run directly so it was
+</I>&gt;&gt;&gt;&gt;<i> possible to create mutex files there for any user
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Hmm, not sure what you mean here.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at mga2</A> ~]$ ls -ld /var/run
+</I>&gt;&gt;&gt;<i> drwxr-xr-x 38 root root 4096 Jan 23 04:04 /var/run/
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> That dir is also owned by root with 755 perm. It shouldn't make any odds
+</I>&gt;&gt;&gt;<i> to permissions.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Hmm you are right, I don't know why it got broken then
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> It used to use /var/run/ as runtime dir and it succeeded creating the mutex
+</I>&gt;&gt;<i> It now fails to create it in /run/httpd/
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I don't have more clues :(
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> It may be some change in apache but I couldn't find, I'll try to find
+</I>&gt;&gt;<i> out more tomorrow
+</I>&gt;<i>
+</I>&gt;<i> If this is on the build system, perhaps the tmpfiles stuff isn't run for
+</I>&gt;<i> some reason and /run/httpd isnt't created. And then maybe code in apache
+</I>&gt;<i> tries to mkdir /run/httpd and that's where the permission denied error
+</I>&gt;<i> comes from?
+</I>&gt;<i>
+</I>&gt;<i> /me is clutching at straws here :)
+</I>
+It seems things are more complicated :)
+It used to use ServerRoot + /logs/ (/etc/httpd/logs) which is a
+symlink to /var/log/httpd, but seem to now always use /run/httpd, even
+when ServerRoot is different.
+That's why the tests used to work: they were using a local t/ as
+ServerRoot and using t/logs/.
+
+But I am now wondering if the feature in normal usage has ever worked
+given that /var/log/httpd permissions are not more open
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="021982.html">[Mageia-dev] /run/httpd (maybe others) breaking features
+</A></li>
+ <LI>Next message: <A HREF="021978.html">[Mageia-dev] /run/httpd (maybe others) breaking features
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21984">[ date ]</a>
+ <a href="thread.html#21984">[ thread ]</a>
+ <a href="subject.html#21984">[ subject ]</a>
+ <a href="author.html#21984">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>