summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/013781.html
blob: ed41d9c9bf0ad5c51fe9054dc036b4459da836ca (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
<!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:
&gt;<i> Le 22/03/2012 02:51, David Walser a &#233;crit :
</I>&gt;&gt;<i> Guillaume Rousse wrote:
</I>&gt;&gt;&gt;<i> Le 17/03/2012 03:22, Anssi Hannula a &#233;crit :
</I>&gt;&gt;&gt;&gt;<i> Hence I suggest a single user id to be used. (I'm fine with any other
</I>&gt;&gt;&gt;&gt;<i> solution which works as well)
</I>&gt;&gt;&gt;<i> My main concern is the fuzziness of the current situation where we have
</I>&gt;&gt;&gt;<i> - one virtual package 'webserver' corresponding to four implementations
</I>&gt;&gt;&gt;<i> (apache, lightpd, nginx, cherooke)
</I>&gt;&gt;&gt;<i> - one common base (webserver-base) only used by the two first ones
</I>&gt;&gt;&gt;<i> - all our web applications packages using 'apache' as mandatory dependency
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> If the main concern is file ownership, I'd propose for the next release
</I>&gt;&gt;&gt;<i> to have each of these servers use a distinct uid, document root and
</I>&gt;&gt;&gt;<i> index page, but use a shared 'webserver' or 'www' gid, and ensure all of
</I>&gt;&gt;&gt;<i> those applications use group-based permission, instead of user-based.
</I>&gt;&gt;&gt;<i> I'd find this setup a bit clearer.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I also noticed two of the php subpackages adding the apache user in %post.
</I>&gt;&gt;<i> Should they be doing this, should they Requires(post): webserver-base, or
</I>&gt;&gt;<i> should this be handled some other way?
</I>&gt;<i> Sure, that's wrong.
</I>&gt;<i> 
</I>&gt;<i> Either they need apache itself, in this case this dependency is already 
</I>&gt;<i> ensured. Either they can be used without a web server, in this case they 
</I>&gt;<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>