Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5175

Summary: world only contains only packages merged with emerge <package>, no dependencies
Product: Gentoo Linux Reporter: Hannes Mehnert (RETIRED) <hannes>
Component: [OLD] Core systemAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hannes Mehnert (RETIRED) gentoo-dev 2002-07-17 15:55:25 UTC
the world file does only contain packages which were merged with emerge
<package>, not the dependencies of the packages.

I think this could be a security problem, if someone emerges mod_ssl, which
depends on openssl, mod_ssl is recorded as world-favourite.
If there is be a security problem with openssl, and a new ebuild for openssl is
released, the user does not notice on that, because he doesn't see it during
emerge -up world.
So, there has to be a new ebuild for mod_ssl to emerge a new openssl.

To solve this, shouldn't the world contain all merged packages?
Comment 1 SpanKY gentoo-dev 2002-07-17 22:40:44 UTC
the idea was for world to contain all the packages the user wanted ... 
dependencies only *happened* to be installed too, the user might not have 
wanted them ;)

as for openssl, its part of 'system' if your USE variable has SSL in it
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-07-18 03:57:42 UTC
openssl was just an example, it could be any other package. I mean, the idea is
to have a package installed which is not in world favourites and which has
security problems.
Comment 3 SpanKY gentoo-dev 2002-07-18 11:43:58 UTC
i know i was just messing with you ;)

as for your bug, i think i heard that drobbins was workin on a solution for 
this ... in the meantime, what i do is `emerge world -ep`, and then take each 
package displayed and do `emerge -u <pkg>` ...
kind of nasty hack but whatever ;)
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-07-18 12:34:22 UTC
This can be fixed some other way.  We can already cause emerge to update
dependencies too, but it's turned off until we resolve slot issues during -u