summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-January/011281.html
blob: e0aa414e94136c6884d4c652b8961f7b60bb728c (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Over-zealous rpmlint policy (rejecting rt)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Over-zealous%20rpmlint%20policy%20%28rejecting%20rt%29&In-Reply-To=%3C4F0ECD74.4080703%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="011280.html">
   <LINK REL="Next"  HREF="011299.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Over-zealous%20rpmlint%20policy%20%28rejecting%20rt%29&In-Reply-To=%3C4F0ECD74.4080703%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)">mageia at colin.guthr.ie
       </A><BR>
    <I>Thu Jan 12 13:09:24 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="011280.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)
</A></li>
        <LI>Next message: <A HREF="011299.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11281">[ date ]</a>
              <a href="thread.html#11281">[ thread ]</a>
              <a href="subject.html#11281">[ subject ]</a>
              <a href="author.html#11281">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Buchan Milne at 12/01/12 11:39 did gyre and gimble:
&gt;<i> On Thursday, 12 January 2012 11:55:07 Colin Guthrie wrote:
</I>&gt;&gt;<i> 'Twas brillig, and Buchan Milne at 12/01/12 09:12 did gyre and gimble:
</I>&gt;&gt;&gt;<i> I don't see why we shouldn't ship dirs in /usr/local ...
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I don't really see the point in shipping the dirs personally.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Any separate extension that is packaged should not go into /usr/local
</I>&gt;&gt;<i> anyway,
</I>&gt;<i> 
</I>&gt;<i> No one ever said they would, you snipped the part of my mail saying that 
</I>&gt;<i> 'locally installed' customisations, IOW, ones not managed by the package 
</I>&gt;<i> manager etc., go there.
</I>
Yeah I know I was just trying to be explicit and clear with my reply and
reasoning. I wasn't pointing out something you missed or anything. Sorry
for the confusion (the opposite of what I had intended!)

&gt;&gt;<i> so these folders are purely for users doing this manually.
</I>&gt;<i> 
</I>&gt;<i> Yes. And that's why we provide /usr/local/share/applications?
</I>
Hmm, that seems a bit silly to me. Why do we provide that? I'd say we
should drop it unless someone can argue otherwise (maybe it's part of
the filesystem layout spec?)

&gt;&gt;<i> I would expect that the &quot;make install&quot; stage of any extension
</I>&gt;&gt;<i> installation would automatically create those folders anyway, so I
</I>&gt;&gt;<i> really don't see the benefit of adding these empty folders into a
</I>&gt;&gt;<i> package.
</I>&gt;<i> 
</I>&gt;<i> So, why would 'make isntall' of rt, which has been configured to itself live 
</I>&gt;<i> in a system location, explicitly create these directories?
</I>
Because it's broken? Just because the upstream folks do something like
that does not mean they are correct. I'd say that if any app's make
install is writing things outside of their --prefix (with a few
exceptions for things like udev rules etc. that need to live in /lib -
but thankfully with the work done by Fedora folks even this exception is
dying away) or --sysconfdir etc. then it's broken.

&gt;&gt;<i> The gain in doing so seems minimal to the point of useless.
</I>&gt;<i> 
</I>&gt;<i> I can remove the dirs in the package, but also, what is the benefit? On a 
</I>&gt;<i> system dedicated to running a request tracking system, should we explicitly 
</I>&gt;<i> make it more difficult to run said system that it would be if installed from 
</I>&gt;<i> source?
</I>
I really don't buy the &quot;make it more difficult&quot; argument... that's what
I was trying to highlight in my previous mail. The &quot;make install&quot; stage
of any extension should make the dirs for you anyway... If that's the
case it is precisely the same difficulty as without those dirs. If
manual copying is required, then, yes, it is a tiny amount more
complicated, but people will be following instructions anyway and if the
added &quot;complication&quot; of a mkdir command or two will trip someone up,
then I don't think that person should have root powers and able to write
in /usr/local in the first place if this is their level of skill!!!


Like I say, this is just my opinion, and I certainly don't feel super
strongly on the topic. It's just that I wouldn't expect any rpm to own
anything in /usr/local tree (and that goes for the one you pointed out
above too!).

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="011280.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)
</A></li>
	<LI>Next message: <A HREF="011299.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#11281">[ date ]</a>
              <a href="thread.html#11281">[ thread ]</a>
              <a href="subject.html#11281">[ subject ]</a>
              <a href="author.html#11281">[ 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>