All of lore.kernel.org
 help / color / mirror / Atom feed
* Encouraging distros to use newer recipe versions?
@ 2010-03-06 15:00 Mike Westerhof
  2010-03-06 15:10 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Westerhof @ 2010-03-06 15:00 UTC (permalink / raw)
  To: openembedded-devel

Does it make any sense to create a class (or extend the sanity or testlab classes) so that OE can inform someone when a given build is using a recipe that can be considered obsolete?  Perhaps we might also add a bit more encouragement if it were possible to have that same class call out builds that have selected versions with known security vulnerabilities.

This would certainly help me with the distro I maintain -- one of the questions I cannot easily answer, and therefore tend to ignore, is "exactly how out-of-date has my distro become?".

I have no patches to do such a thing, and neither do I have time to create such a thing at this point in time, but perhaps if someone thinks this is worthwhile time can be made for it...

-Mike (mwester)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encouraging distros to use newer recipe versions?
  2010-03-06 15:00 Encouraging distros to use newer recipe versions? Mike Westerhof
@ 2010-03-06 15:10 ` Richard Purdie
  2010-03-08  6:08   ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2010-03-06 15:10 UTC (permalink / raw)
  To: openembedded-devel

On Sat, 2010-03-06 at 09:00 -0600, Mike Westerhof wrote:
> Does it make any sense to create a class (or extend the sanity or
> testlab classes) so that OE can inform someone when a given build is
> using a recipe that can be considered obsolete?  Perhaps we might also
> add a bit more encouragement if it were possible to have that same
> class call out builds that have selected versions with known security
> vulnerabilities.
> 
> This would certainly help me with the distro I maintain -- one of the
> questions I cannot easily answer, and therefore tend to ignore, is
> "exactly how out-of-date has my distro become?".
> 
> I have no patches to do such a thing, and neither do I have time to
> create such a thing at this point in time, but perhaps if someone
> thinks this is worthwhile time can be made for it...

I've been keeping half an eye on what Holger has been doing and yes, I
think this could be desirable. Its also rather straightforward to do.
Simply create a new variable

SECURITY_ISSUES_PRESENT = "This package has know security issues of: X,
Y, Z"

and then have insane.bbclass choke on this printing the messages unless
you set a variable ILOVESECURITYHOLES = "1"

:)

Cheers,

Richard





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encouraging distros to use newer recipe versions?
  2010-03-06 15:10 ` Richard Purdie
@ 2010-03-08  6:08   ` Holger Hans Peter Freyther
  0 siblings, 0 replies; 3+ messages in thread
From: Holger Hans Peter Freyther @ 2010-03-08  6:08 UTC (permalink / raw)
  To: openembedded-devel

On Saturday 06 March 2010 16:10:40 Richard Purdie wrote:

> > I have no patches to do such a thing, and neither do I have time to
> > create such a thing at this point in time, but perhaps if someone
> > thinks this is worthwhile time can be made for it...
> 
> I've been keeping half an eye on what Holger has been doing and yes, I
> think this could be desirable. Its also rather straightforward to do.
> Simply create a new variable


Such a class does make sense but is only fixing 50% of the issue. E.g. when we 
look at "gpdf" there are two things.

1.) The distro builder should be informed that building gpdf is bad in regard 
to known security issues. So he might decide to throw it out of the feed.

2.) A user using the distro has the (discontinued) package still installed and 
he will not notice that his latest gpdf is "bad". Distribution makers will 
also need a way to announce such things to their users. I have wondered if we 
could create a ipk with RCONFLICTS on discontinued software or such.


z.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-08  6:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-06 15:00 Encouraging distros to use newer recipe versions? Mike Westerhof
2010-03-06 15:10 ` Richard Purdie
2010-03-08  6:08   ` Holger Hans Peter Freyther

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.