summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021972.html
blob: 61a6a519caadcfd7f2d97064b109c3cd73b14334 (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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!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=%3C51008444.4050004%40colin.guthr.ie%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="021971.html">
   <LINK REL="Next"  HREF="021973.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] /run/httpd (maybe others) breaking features</H1>
    <B>Colin Guthrie</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=%3C51008444.4050004%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] /run/httpd (maybe others) breaking features">mageia at colin.guthr.ie
       </A><BR>
    <I>Thu Jan 24 01:45:56 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="021971.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
        <LI>Next message: <A HREF="021973.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21972">[ date ]</a>
              <a href="thread.html#21972">[ thread ]</a>
              <a href="subject.html#21972">[ subject ]</a>
              <a href="author.html#21972">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Pascal Terjan at 24/01/13 00:24 did gyre and gimble:
&gt;<i> I was looking at perl-Apache2-DebugFilter build failure
</I>&gt;<i> 
</I>&gt;<i> In the test it starts an apache which fails as it uses
</I>&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;<i> uses a mutex stored in /run/httpd/
</I>&gt;<i> 
</I>&gt;<i> [Wed Jan 23 23:49:55.962405 2013] [core:emerg] [pid 55277]
</I>&gt;<i> (13)Permission denied: AH00023: Couldn't create the rewrite-map mutex
</I>&gt;<i> (file /run/httpd/rewrite-map.55277)
</I>&gt;<i> 
</I>&gt;<i> That directory is now owned by root so it can't be used for anything
</I>&gt;<i> except creating the httpd.pid
</I>&gt;<i> 
</I>&gt;<i> $ cat /usr/lib/tmpfiles.d/httpd.conf
</I>&gt;<i> d /run/httpd   755 root root
</I>&gt;<i> 
</I>&gt;<i> Fedora uses &quot;d /run/httpd   710 root apache&quot; which doesn't help in
</I>&gt;<i> this case but fixes other problems
</I>&gt;<i> 
</I>&gt;<i> In the past (Mageia 1) runtimedir was /var/run directly so it was
</I>&gt;<i> possible to create mutex files there for any user
</I>
Hmm, not sure what you mean here.

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at mga2</A> ~]$ ls -ld /var/run
drwxr-xr-x 38 root root 4096 Jan 23 04:04 /var/run/

That dir is also owned by root with 755 perm. It shouldn't make any odds
to permissions.

&gt;<i> Is there a list of packages which have moved to subdirectories of /run
</I>&gt;<i> and may now be broken too?
</I>
Again I don't think so. The fact that /var/run is just a symlink now
should be irrelevant.

Also the fact that /run is mounted on tmpfs vs real fs again should not
alter permissions in any way - all it really means is that

a) it'll be cleared at boot
b) we have to create files/folders with appropriate ownership/perms
during early boot via tmpfiles.

So I'm not really sure what you're saying here, but I don't think it is
any more broken now than it would have been before using /var/run directly.

Col

-- 

Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>

Day Job:
  Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
  Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
  PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
  Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>



















































































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="021971.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
	<LI>Next message: <A HREF="021973.html">[Mageia-dev] /run/httpd (maybe others) breaking features
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#21972">[ date ]</a>
              <a href="thread.html#21972">[ thread ]</a>
              <a href="subject.html#21972">[ subject ]</a>
              <a href="author.html#21972">[ 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>