<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Some more new rpmlint warning on upload
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Some%20more%20new%20rpmlint%20warning%20on%20upload&In-Reply-To=%3CCAONrEtbbTZDjkPcM_pwh2FV%3D-prBLNRsWA3W-XTjk%2BRsHusskg%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="007064.html">
   <LINK REL="Next"  HREF="007069.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Some more new rpmlint warning on upload</H1>
    <B>Thierry Vignaud</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Some%20more%20new%20rpmlint%20warning%20on%20upload&In-Reply-To=%3CCAONrEtbbTZDjkPcM_pwh2FV%3D-prBLNRsWA3W-XTjk%2BRsHusskg%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] Some more new rpmlint warning on upload">thierry.vignaud at gmail.com
       </A><BR>
    <I>Wed Jul 27 15:29:02 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="007064.html">[Mageia-dev] Some more new rpmlint warning on upload
</A></li>
        <LI>Next message: <A HREF="007069.html">[Mageia-dev] Some more new rpmlint warning on upload
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7066">[ date ]</a>
              <a href="thread.html#7066">[ thread ]</a>
              <a href="subject.html#7066">[ subject ]</a>
              <a href="author.html#7066">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 27 July 2011 13:37, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>&gt; wrote:
&gt;<i> * non-standard-group
</I>&gt;<i>
</I>&gt;<i> This one cause problem in rpmdrake display ( among others ), as this add
</I>&gt;<i> category with 1 single package. There is no false positives.
</I>
That's actually a conf regression on our side, I think most packagers are used
to such rejects for a couple years and nobody will complain

&gt;<i> * invalid-desktopfile
</I>&gt;<i>
</I>&gt;<i> rpmlint run desktop-file-validate, and any invalid file is detected.
</I>&gt;<i> Invalid file will in the best case work fine, and in the worst case, not
</I>&gt;<i> work. So better be safe and fix the file.
</I>&gt;<i>
</I>&gt;<i> There is also some more controversial :
</I>
I think this one got enabled at one stage on mdv

&gt;<i> * file-not-in-%lang
</I>&gt;<i> this will result in more disk space used for file that are not needed
</I>&gt;<i> ( like locales, etc ). However, this can be annoying to fix, and not a
</I>&gt;<i> widespread errors.
</I>
This is borderline.
Not a real blocking issue IMGO

&gt;<i> * version-control-internal-file
</I>&gt;<i> same as previous, but there is maybe some use case, that should then be
</I>&gt;<i> added to exception
</I>
idem

&gt;<i> * standard-dir-owned-by-package
</I>&gt;<i> some package ( like gromacs ) do created /usr/bin/. This is unclean and
</I>&gt;<i> should be blocked. On the other hand, the problem are mostly theoric
</I>&gt;<i> ( like &quot;having a directory with 2 differents modes or owners ).
</I>
&gt;<i> I also found some stuff that would cause real problem :
</I>&gt;<i> hunspell-ca.noarch: W:
</I>&gt;<i> world-writable /usr/share/doc/hunspell-ca/LICENSES-en.txt 0666
</I>&gt;<i>
</I>&gt;<i> Yet, there is maybe some good case to have a file to be world writable ?
</I>
we can whitelist the good cases if any

&gt;<i> Or :
</I>&gt;<i> hdf-java.i586: W: non-readable /usr/share/java/fits.jar 0700
</I>&gt;<i>
</I>&gt;<i> There is also some good case to have a file non-readable, but in /usr,
</I>&gt;<i> there is none. ( and in this case, this seems like the package is broken
</I>&gt;<i> )
</I>&gt;<i>
</I>&gt;<i> So, to summarize, the proposal is :
</I>&gt;<i> - block upload on :
</I>&gt;<i> * missing-lsb-keyword
</I>&gt;<i> * malformed-line-in-lsb-comment-block
</I>&gt;<i> * useless-provides
</I>&gt;<i> * non-standard-group
</I>&gt;<i> * empty-%postun
</I>&gt;<i> * empty-%post
</I>&gt;<i> * invalid-desktopfile
</I>&gt;<i> * unknown-lsb-keyword
</I>&gt;<i> * standard-dir-owned-by-package
</I>&gt;<i>
</I>&gt;<i> discuss for blocking :
</I>&gt;<i> * backup-file-in-package
</I>&gt;<i> * version-control-internal-file
</I>&gt;<i>
</I>&gt;<i> discuss and find a list of exceptions for :
</I>&gt;<i> * world-writable
</I>&gt;<i> * non-readable
</I>&gt;<i> ( especially the non-readable part ).
</I>&gt;<i>
</I>&gt;<i> If no one protest, the 1st list will be added before I take my vacation,
</I>&gt;<i> in a few days.
</I>
Let's go!
</PRE>





























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="007064.html">[Mageia-dev] Some more new rpmlint warning on upload
</A></li>
	<LI>Next message: <A HREF="007069.html">[Mageia-dev] Some more new rpmlint warning on upload
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7066">[ date ]</a>
              <a href="thread.html#7066">[ thread ]</a>
              <a href="subject.html#7066">[ subject ]</a>
              <a href="author.html#7066">[ 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>