The ups and downs of life with Linus

Ingrid Marson, ZDNet UK

02 March 2005 08:51 AM

Tags: linux, unix, torvalds, linus, cox, kernel, fix, bug

Linux kernel maintainer Alan Cox has given an insight into the experience of working with Linus Torvalds, the founder of Linux who maintains its development kernel.

During a talk last weekend at the Free and Open source Software Developers European Meeting, FOSDEM, on the challenges of maintaining a stable Linux kernel, Cox revealed that although Linus is good at developing code, he does not enjoy some of the other jobs that go along with software development such as bug fixing and beta testing.

"Linus is a good developer, but is a terrible engineer," said Cox. "I'm sure he would agree with that."

Cox explained that he and Torvalds sometimes have different approaches to fixing a problem, due in part to their different responsibilities. As the maintainer of the development kernel Torvalds needs make sure the kernel code is easy to maintain, while Cox is more interested in kernel stability and is not so worried about "hacking" the code to get it to work.

"One of the hard problems to fix are design errors," said Cox. "These are a pain because they need a lot of refactoring. Linus' approach is to re-write it to a better design. But to get a stable kernel you tend to do small horrible fixes. Linus is very keen to have maintainable code, while to have a stable kernel I'm keen to have code that works."

Cox said that Torvalds does not always let people know when he has fixed a security bug in the kernel. This can be a problem as the patch will take a while to make it to production, which means that hackers can exploit the vulnerability before it is made available to individuals and enterprises running Linux.

"Linus has this bad habit of fixing security holes quietly," said Cox. "This is a bad idea as some people read all the kernel patches to find the security holes."

Linux enjoys a reputation as a particulary secure operating system, compared to rivals such as Microsoft's Windows. Last month a mailing list was set up to help Linux kernel developers share information on security flaws.

Deciding what bugs to fix in the Linux kernel is not always easy, particularly as fixing it can impact other applications. Cox said he gives top priority to bugs that are reported soon after the release candidate is made available.

"Release candidates will pick out a lot of the stupid bugs, and what are plain stupid ideas," said Cox. "Two or three days after the release candidate we will have 150 emails with same bugs."

These early issues can be easy to fix as they are often obvious bugs. "Early problems you get are normally very easy to fix," said Cox. "As soon as the release comes out bug reports say 'You've broken this'. Almost immediately you go, 'Whoops, that's my mistake'. Ten minutes later the fix is in the development tree."

But kernel bugs that appear easy to fix can be misleading. "Sometimes you see a fix and think 'this is perfect, move my fix into the kernel tree'," said Cox. "Later you think, 'I must have been drunk. Don't apply that patch'."

ZDNet UK's Ingrid Marson reported from Brussels. For more coverage from ZDNet UK, click here.

Like this article? Click below to send it to your mobile for free!

Talkback 6 comments

  1. Golly ... is this the smoking gun Microsoft has been waiting for? To me it reads like any corporate user's worst nightmare about Linux is true. Anonymous -- 02/03/05

    Golly ... is this the smoking gun Microsoft has been waiting for? To me it reads like any corporate user's worst nightmare about Linux is true.

  2. Smoking gun? Naah. What you're seeing here is stuff that goes on in every software development team. With Linux, it just happens to be out in the open. Anonymous -- 03/03/05

    Smoking gun? Naah. What you're seeing here is stuff that goes on in every software development team. With Linux, it just happens to be out in the open.

  3. Smoking gun? If you are deploying patches into production without auditing and testing, you are opening yourself up to problems - no matter who the source of the patch. Absolute trust in anyone, be it Linus, or Gates's crew, or any vendor, is n Anonymous -- 03/03/05

    Smoking gun?

    If you are deploying patches into production without auditing and testing, you are opening yourself up to problems - no matter who the source of the patch. Absolute trust in anyone, be it Linus, or Gates's crew, or any vendor, is not good practice.

  4. Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / rele Anonymous -- 03/03/05

    Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / releases are vetted and approved by a committee. This results in a more stable OS that is easier to maintain.

  5. Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / rele Anonymous -- 04/03/05

    Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / releases are vetted and approved by a committee. This results in a more stable OS that is easier to maintain.

  6. Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / rele Anonymous -- 04/03/05

    Linus's eccentricity is well known. Personally I find his top-dog guru approach to development detrimental to the take up of Linux. We tend to use FreeBSD where we can as its development team adopt a democratic approach were all patches / updates / releases are vetted and approved by a committee. This results in a more stable OS that is easier to maintain.

Add your opinion


Latest Videos

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Renai LeMay Australian Govt funds IT start-ups
    This week Australia's Federal Government announced it had allocated $3.6 million in funding to 57 local research projects so that they could be commercialised, with many of them being web or IT-related start-ups.
  • Array Google should come clean on datacentres
    It's nice that Google says it has put an effort into making its datacentres more energy efficient, but the search giant's pledges won't mean much until it discloses just how many of the beasties it's actually running.
  • Array US shows what OPEL could have been
    Sprint's WiMAX roll-out in Baltimore will prove the Australian government's decision to worm its way out of the Opel WiMAX contract was a short-sighted, and ultimately damaging, political stunt that has benefited nobody.
  • More blogs »

Tags

Back to top

Featured