diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-January/011299.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-January/011299.html | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-January/011299.html b/zarb-ml/mageia-dev/2012-January/011299.html new file mode 100644 index 000000000..56d33de91 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-January/011299.html @@ -0,0 +1,161 @@ +<!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=%3C1326396511.17888.25.camel%40localhost%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="011281.html"> + <LINK REL="Next" HREF="011404.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)</H1> + <B>Michael Scherer</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=%3C1326396511.17888.25.camel%40localhost%3E" + TITLE="[Mageia-dev] Over-zealous rpmlint policy (rejecting rt)">misc at zarb.org + </A><BR> + <I>Thu Jan 12 20:28:31 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="011281.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt) +</A></li> + <LI>Next message: <A HREF="011404.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#11299">[ date ]</a> + <a href="thread.html#11299">[ thread ]</a> + <a href="subject.html#11299">[ subject ]</a> + <a href="author.html#11299">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le jeudi 12 janvier 2012 à 11:12 +0200, Buchan Milne a écrit : +><i> I am trying to get rt (3.8.11) into the distro (a package that I am using on a +</I>><i> different distro in a production environment), to be followed up with the rt +</I>><i> (4.0.4) I have queued (which I am testing in preparation for upgrading our +</I>><i> production environment). +</I>><i> +</I>><i> I would really like to get this package into the distro, but it is being +</I>><i> rejected +</I>><i> (<A HREF="http://pkgsubmit.mageia.org/uploads/rejected//cauldron/core/release/20120110140334.buchan.valstar.18287.youri">http://pkgsubmit.mageia.org/uploads/rejected//cauldron/core/release/20120110140334.buchan.valstar.18287.youri</A>) +</I>><i> due to: +</I>><i> +</I>><i> Submission errors, aborting: +</I>><i> - rt-3.8.11-1.mga2.noarch: +</I>><i> - dir-or-file-in-usr-local /usr/local/lib/rt/plugins +</I>><i> - dir-or-file-in-usr-local /usr/local/lib/rt +</I>><i> - dir-or-file-in-usr-local /usr/local/lib/rt/po +</I>><i> - dir-or-file-in-usr-local /usr/local/lib/rt/lib +</I>><i> - dir-or-file-in-usr-local /usr/local/etc/rt +</I>><i> - dir-or-file-in-usr-local /usr/local/lib/rt/html +</I>><i> +</I>><i> The documented way for extending RT is by installing files in this location. +</I>><i> We can either: +</I>><i> 1)Make it more difficult for users to extend RT with local plugins etc. +</I>><i> 2)Fix rpmlint +</I>><i> 3)Not have RT +</I>><i> +</I>><i> misc, you have experience of both rt and rpmlint, can you provide an opinion? +</I>><i> +</I>><i> Would it be possible to separate 'dir-or-file-usr-local' into separate rules +</I>><i> (one for files, one for dirs)? While I agree we shouldn't ship files in +</I>><i> /usr/local, I don't see why we shouldn't ship dirs in /usr/local ... +</I> +We shouldn't ship directories for the same reason that we shouldn't ship +file, ie FHS. + +See : +<A HREF="http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLOCALLOCALHIERARCHY">http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLOCALLOCALHIERARCHY</A> + +More specifically : +"It needs to be safe from being overwritten when the system software is +updated." + +So the question is whether someone who change directory permissions will +see them overwritten or not when the software is updated, and wether +that a FHS violation. + +Afaik, rpm would reset the permission ( the same goes for removal of the +directory ). + +See also : +"No other directories, except those listed below, may be in /usr/local +after first installing a FHS-compliant system." + +Again, that's not clear if we can modify it later or not ( ie, is +instaling rt on installation part of "first installing" or not ). + +I guess we should get a opinion from FHS/LSB people on this. + +In the mean time, I guess the point 1 is the easiest way, it can be +changed later once we clarified FHS (or if we decide that we do not care +about following standards, but that's really something I would like to +avoid ). + +-- +Michael Scherer + +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="011281.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt) +</A></li> + <LI>Next message: <A HREF="011404.html">[Mageia-dev] Over-zealous rpmlint policy (rejecting rt) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#11299">[ date ]</a> + <a href="thread.html#11299">[ thread ]</a> + <a href="subject.html#11299">[ subject ]</a> + <a href="author.html#11299">[ 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> |