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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] lighttpd and others now require apache
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lighttpd%20and%20others%20now%20require%20apache&In-Reply-To=%3Cjlaj5q%249n9%241%40dough.gmane.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="013788.html">
<LINK REL="Next" HREF="013782.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] lighttpd and others now require apache</H1>
<B>David Walser</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20lighttpd%20and%20others%20now%20require%20apache&In-Reply-To=%3Cjlaj5q%249n9%241%40dough.gmane.org%3E"
TITLE="[Mageia-dev] lighttpd and others now require apache">luigiwalser at yahoo.com
</A><BR>
<I>Mon Apr 2 00:00:26 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="013788.html">[Mageia-dev] dropping mysql-workbench
</A></li>
<LI>Next message: <A HREF="013782.html">[Mageia-dev] lighttpd and others now require apache
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#13781">[ date ]</a>
<a href="thread.html#13781">[ thread ]</a>
<a href="subject.html#13781">[ subject ]</a>
<a href="author.html#13781">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Guillaume Rousse wrote:
><i> Le 22/03/2012 02:51, David Walser a écrit :
</I>>><i> Guillaume Rousse wrote:
</I>>>><i> Le 17/03/2012 03:22, Anssi Hannula a écrit :
</I>>>>><i> Hence I suggest a single user id to be used. (I'm fine with any other
</I>>>>><i> solution which works as well)
</I>>>><i> My main concern is the fuzziness of the current situation where we have
</I>>>><i> - one virtual package 'webserver' corresponding to four implementations
</I>>>><i> (apache, lightpd, nginx, cherooke)
</I>>>><i> - one common base (webserver-base) only used by the two first ones
</I>>>><i> - all our web applications packages using 'apache' as mandatory dependency
</I>>>><i>
</I>>>><i> If the main concern is file ownership, I'd propose for the next release
</I>>>><i> to have each of these servers use a distinct uid, document root and
</I>>>><i> index page, but use a shared 'webserver' or 'www' gid, and ensure all of
</I>>>><i> those applications use group-based permission, instead of user-based.
</I>>>><i> I'd find this setup a bit clearer.
</I>>><i>
</I>>><i> I also noticed two of the php subpackages adding the apache user in %post.
</I>>><i> Should they be doing this, should they Requires(post): webserver-base, or
</I>>><i> should this be handled some other way?
</I>><i> Sure, that's wrong.
</I>><i>
</I>><i> Either they need apache itself, in this case this dependency is already
</I>><i> ensured. Either they can be used without a web server, in this case they
</I>><i> shouldn't use apache server anyway.
</I>
Well a dependency on apache wouldn't be ensured unless they required apache-mod_php, so for now I added Requires(pre): webserver-base and
removed their manually adding (and deleting!) of the apache user. One of the packages puts a log file with the httpd logs, so it should
probably require apache. I'm not sure the exact semantics of those two (php-fpm and php-session if you're interested).
There's another problem, however, since the expat update. Since libexpat.la was removed, php won't rebuild.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="013788.html">[Mageia-dev] dropping mysql-workbench
</A></li>
<LI>Next message: <A HREF="013782.html">[Mageia-dev] lighttpd and others now require apache
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#13781">[ date ]</a>
<a href="thread.html#13781">[ thread ]</a>
<a href="subject.html#13781">[ subject ]</a>
<a href="author.html#13781">[ 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>
|