Packaging Guidelines: Why so lax for BuildRoot?

Dimi Paun dimi at lattica.com
Sun Mar 23 06:01:43 UTC 2008


On Sun, 2008-03-23 at 00:30 -0400, Tom Lane wrote:
> 
> Expecting specfiles to rm -rf the buildroot is just as stupid.

Thank you Tom!

It is such a nasty violation of basic encapsulation that
should offend any hacker's sense of good, right and pretty. 

It is quite remarkable how such a ugly wart can survive for
so long in an environment of highly technical people with 
a passion for what they do... :) 

And it's not just ugly, but just incredibly dangerous. Old
timers might remember how this idiotic
  rm -rf $BUILDROOT
business would result in a 
  rm -rf /
when you'd build a .rpm as root.

I got bit by it, and it hurt. Badly.

-- 
Dimi Paun <dimi at lattica.com>
Lattica, Inc.




More information about the fedora-devel-list mailing list