blob: 5c92aa2ca437f4027e4f65d2e7795c2fb74a8509 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
<!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%2BbgRciABjZ2qsJftyoTjegehuiWw2rc391-p%2BWwHA8GKNg%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="021972.html">
<LINK REL="Next" HREF="021982.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%2BbgRciABjZ2qsJftyoTjegehuiWw2rc391-p%2BWwHA8GKNg%40mail.gmail.com%3E"
TITLE="[Mageia-dev] /run/httpd (maybe others) breaking features">pterjan at gmail.com
</A><BR>
<I>Thu Jan 24 02:40:27 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="021972.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
<LI>Next message: <A HREF="021982.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21973">[ date ]</a>
<a href="thread.html#21973">[ thread ]</a>
<a href="subject.html#21973">[ subject ]</a>
<a href="author.html#21973">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, Jan 24, 2013 at 12:45 AM, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote:
><i> 'Twas brillig, and Pascal Terjan at 24/01/13 00:24 did gyre and gimble:
</I>>><i> I was looking at perl-Apache2-DebugFilter build failure
</I>>><i>
</I>>><i> In the test it starts an apache which fails as it uses
</I>>><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>>><i> uses a mutex stored in /run/httpd/
</I>>><i>
</I>>><i> [Wed Jan 23 23:49:55.962405 2013] [core:emerg] [pid 55277]
</I>>><i> (13)Permission denied: AH00023: Couldn't create the rewrite-map mutex
</I>>><i> (file /run/httpd/rewrite-map.55277)
</I>>><i>
</I>>><i> That directory is now owned by root so it can't be used for anything
</I>>><i> except creating the httpd.pid
</I>>><i>
</I>>><i> $ cat /usr/lib/tmpfiles.d/httpd.conf
</I>>><i> d /run/httpd 755 root root
</I>>><i>
</I>>><i> Fedora uses "d /run/httpd 710 root apache" which doesn't help in
</I>>><i> this case but fixes other problems
</I>>><i>
</I>>><i> In the past (Mageia 1) runtimedir was /var/run directly so it was
</I>>><i> possible to create mutex files there for any user
</I>><i>
</I>><i> Hmm, not sure what you mean here.
</I>><i>
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at mga2</A> ~]$ ls -ld /var/run
</I>><i> drwxr-xr-x 38 root root 4096 Jan 23 04:04 /var/run/
</I>><i>
</I>><i> That dir is also owned by root with 755 perm. It shouldn't make any odds
</I>><i> to permissions.
</I>
Hmm you are right, I don't know why it got broken then
It used to use /var/run/ as runtime dir and it succeeded creating the mutex
It now fails to create it in /run/httpd/
I don't have more clues :(
It may be some change in apache but I couldn't find, I'll try to find
out more tomorrow
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="021972.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
<LI>Next message: <A HREF="021982.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21973">[ date ]</a>
<a href="thread.html#21973">[ thread ]</a>
<a href="subject.html#21973">[ subject ]</a>
<a href="author.html#21973">[ 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>
|