LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


View Poll Results: Should super patches be allowed?
Yes - Encourage super patches 1 25.00%
No - Discourage super patches 2 50.00%
What do I care if my system breaks? 1 25.00%
Voters: 4. You may not vote on this poll

Reply
  Search this Thread
Old 05-04-2004, 03:02 PM   #1
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
The Super Patch?


Hi,

I came across an interesting idea from bugtraq - the super patch. This is a patch that is issued that resolves a large number of problems. I have not seen much of this in practice in the OS world but I wonder if there is a point here:

Quote:
If each normal patch has a probability P of causing problems, then an N-fold patch has probability (1 - P)^N of NOT causing a problem. Thus the probability is 1 - (1 - P)^N that the N-way patch will have an issue.

For real-world numbers, if P = .1 (10% chance the patch may be
problematic) and N is 10, then the patch has a 65% chance of being a problem. Even if P is .01, there is still a nearly 10% chance of problems from a 10-way superpatch.

------------------------
Bugtraq post by Nicholas C. Weaver
Large patches can cause more problems than they fix?! Whats the best way? A war of attrition (small patches, but they dont break stuff) or all out nuclear patches that aim to fix everything at once and end up with large ammounts of collateral damage?

Which is best?
 
Old 05-04-2004, 04:53 PM   #2
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Would service packs from windows environments be kinda what you're talking about?? they're seen all the time!!
 
Old 05-04-2004, 07:19 PM   #3
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
it sucks when something breaks. i would rather have small patches in large quantities. especially if they are held in a repo [apt/yum/urpmi/etc.]. this way, i dont have to patch software i dont have [a la windows SP]. also easier on the bandwidth usage.
 
Old 05-04-2004, 08:57 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I think the logic in that quote is a little misleading. A "super-patch" is basically just a bunch of individual patches rolled into one. Each patch is still independent of the others. So I think a good analogy would be if you took a handfull of coins and tossed them into the air all at the same time. Compare that with taking the same handfull of coins and flipping them one-by-one. You can quickly see that the chances of getting all heads are still the same either way. Just because you are installing N patches at the same time doesn't somehow change the likelihood that a given patch will be poorly written and break something. Maybe I'm just looking at this differently?
 
Old 05-05-2004, 02:17 PM   #5
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
Yeh, service packs are what I have in mind. I do beleive that they are a bad idea. I agree that they are just a series of small patches rolled into one, but if I intstall them one by one, as I have need (due to the software setup) then it is easier to trace what broke and thus report the problem more accurately, thus helping us all.

I like the coin analogy, now say 30% of them land on tails (i.e break my system) and i wanted them on heads, how can i trace which ones broke? all the coins are all in the same package, so i have to keep throwing them and picking them up repeatly, until i get all heads!

I think all software providers should steer clear of the SP model. It can create a huge mess.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs write == super slow; read == super fast - problem? BrianK Linux - Networking 4 08-23-2007 10:59 PM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration