Fedora Linux Support Community & Resources Center
  #1  
Old 8th September 2012, 04:19 AM
kaosu's Avatar
kaosu Offline
Registered User
 
Join Date: Sep 2012
Location: N/A
Posts: 2
windows_7firefox
Package Review Process Policy

I have concern relating to Fedora's package review process and how its current policy enforcement seems to make security and code-correctness take a backseat to functionality and adoption of new packages. Specifically, I am having issues with the lack of a mandatory code review before a package is added to the official software repositories.

Recently I was reading review process of an undisclosed forked project, and the results really made me think twice about trusting the official Fedora repository. It seems two people who are part of this process stated that a mandatory code review was not part of the underlying package review process.

Quote:
Rahul Sundaram 2012-03-13 09:42:31 EDT

@Christoph Wickert, The quote doesn't mean what you think it does. We don't do code review as part of the review process clearly and there is no real history of even checking for functionality. If you want this to change, that is a reasonable position but any claim otherwise is overreaching. The checklist for instance focuses only on packaging policy. The worst that could happen is that the package gets abandoned after a while but that isn't a real problem. It happens routinely anyway.
Quote:
Christoph Wickert 2012-03-14 08:21:50 EDT

(In reply to comment #35)
> We don't
> do code review as part of the review process clearly and there is no real
> history of even checking for functionality.

I agree that a code review is not mandatory part of a package review, nevertheless I consider it very useful. I recall a review that revealed serious bugs and even a security issue in one of my packages. Me and the reviewer worked on patches and I upstreamed them before the package was released in Fedora. This is how successful collaboration between developers and package maintainers should look like.

Besides that, checking for basic functionality *is* definitely part of the review checklist: "The reviewer should test that the package functions as described. A package should not segfault instead of running, for example."
This is a little alarming to me. Honestly, I expect anything that passes Fedora's package review process to be audited and checked to ensure there is no underlying malicious intent within software, especially when it is aiming at being added as part of Fedora's official repositories, which are generally considered a trusted source for installing new software.

I mean, what if I decided to create a fork of XFCE with a few useful improvements or changes that were not directly accepted by the main branches policies, and in some obscure regions of the software I plant a malicious routine. According to the aforementioned quotes; as long as the package installed correctly, had at least the advertised functionality and didn't break anything then it would be able to pass a review, regardless of what surprises I may have hidden inside.

According to Fedora, their underlying goal of this formal process is:

Quote:
In order for a new package to be added to Fedora, the package must first undertake a formal review. The purpose of this formal review is to try to ensure that the package meets the quality control requirements for Fedora. This does not mean that the package (or the software being packaged) is perfect, but it should meet baseline minimum requirements for quality.
I believe the minimum requirements for quality should most certainly include security as a highly important "minimum requirement" for their quality control.

In this day and age, privacy and security should be the number one priority of all software. I don't care if the software is a calculator, desktop environment, service daemon or anything else - anything in the official Fedora repositories should be able to posses the following characteristics: Trusted, safe, and stable (within reason). Right now, the current policy enforcement only requires that packages meet the following characteristics: Does not break, at least does what it claims, and seems stable enough for most people.

Personally, I find this to be an unacceptable standard. Especially coming from a project that is directly associated with a reputable company like Red Hat. Sure, maybe security is more important to me than most everyone else, but security should at least be important enough to at least check the code to verify it provides advertised functionality and nothing more.

Based on this information, just how "trusted" can Fedora's repositories be? I mean, it seems like any random person over the Internet willing to go through a review process can have their software added to the official repositories, without it being audited for major privacy or security violations.
I can see an argument being made that "this is only the process for software which is optional and not directly security-related" and "it is also only the process for popular and well-known software".

Well, just because something is optional and not directly security-related does not mean it shouldn't be able to be trusted in a secure environment, especially if it is being delivered by Fedora's official repositories. Also, just because something is popular does not mean someone won't try to slip something in it before asking for a "formal review".

Am I honestly the only person that finds the current policy enforcement to be severely lacking?

I suppose the only course of action is to create a ticket with FESCo, and hope they also feel that this method of formal review is lacking.

I mean, I guess anyone that wanted to verify the integrity of their software could audit the code themselves, but that seems counter-productive to having a trusted central repository to begin with. Sure, the current process requires people to jump through a few hoops, but it does nothing to safeguard the privacy and security of its end-users.

This is just something that should be looked at closer, in my humble opinion.

Last edited by kaosu; 8th September 2012 at 04:25 AM.
  #2  
Old 8th September 2012, 06:51 AM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,225
linuxfirefox
Re: Package Review Process Policy

Since this Forum is not a part of FedoraProject, but instead is comprised of users helping users, your concerns might better be directed to the devs on one of their mailing lists: http://fedoraproject.org/wiki/Communicate

Of course we can discuss them here, but we're not going to affect the process nor the distro on this end.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
  #3  
Old 8th September 2012, 07:55 AM
kaosu's Avatar
kaosu Offline
Registered User
 
Join Date: Sep 2012
Location: N/A
Posts: 2
windows_7firefox
Re: Package Review Process Policy

Quote:
Originally Posted by bob View Post
Since this Forum is not a part of FedoraProject, but instead is comprised of users helping users, your concerns might better be directed to the devs on one of their mailing lists: http://fedoraproject.org/wiki/Communicate

Of course we can discuss them here, but we're not going to affect the process nor the distro on this end.
Thanks for the advice. I submitted the feedback to an appropriate mailing list (hopefully).
  #4  
Old 8th September 2012, 07:31 PM
deanej Offline
Registered User
 
Join Date: Nov 2011
Posts: 229
linuxchrome
Re: Package Review Process Policy

If you start saying that software in the repo has to be bug free, who decides what "bug free" is? Someone could just point to a bug in a package they don't like and deny it from being included for that reason. This nearly happened to cinnamon - it was pretty clear that a lot of cinnamon's difficulty was simply because the gnome people didn't want the competition.
  #5  
Old 8th September 2012, 09:09 PM
Yellowman
Guest
 
Posts: n/a
windows_7firefox
Re: Package Review Process Policy

I think you should have quoted the original source

https://bugzilla.redhat.com/show_bug.cgi?id=771252#c36


Why the **** should cinnamon be subjected to a witch hunt, where's gnomes-hell's code review?
  #6  
Old 8th September 2012, 10:35 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfirefox
Re: Package Review Process Policy

Hmmm.

I'm not exactly sure where this came from, nor where the OP expects it to go, but it does have a faint odour about it.

Thread closed.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora-review command fails on package TheBigRed Using Fedora 2 6th September 2012 03:18 PM
No partimage package to review die-nmi! Reviews, Rants & Things That Make You Scream 0 20th July 2008 01:38 PM
Review Package Updates metaylor Using Fedora 3 2nd July 2008 04:37 PM
problem with package selinux-policy-targeted terry_g Using Fedora 1 28th June 2005 11:44 PM


Current GMT-time: 06:46 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat