Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52574 - glsa-check doesn't respect slots
Summary: glsa-check doesn't respect slots
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 88483 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-31 09:35 UTC by Rafal Rzepecki
Modified: 2005-04-30 08:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Rzepecki 2004-05-31 09:35:00 UTC
Recently I told glsa-check to fix the recent vulnerability in apache-1.3 and detached the screen. To my surprise, later I've found out, that it has emerged me apache-2. It seems that glsa-check doesn't respect slots when fixing (I suppose it doesn't do that also when it performs the tests, but I didn't check that).
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-05-31 10:57:20 UTC
hmm, works correctly here :-/
We're talking about 200405-22, right ?
Comment 2 Rafal Rzepecki 2004-05-31 11:14:53 UTC
That's the one.

The version of gentoolkit I use is 0.2.0_pre8.

I use only apache-1, not apache-2... maybe you have apache-2 emerged and that somehow hid the bug? No idea what made it not work correctly here... and unfortunately I don't have much time to dig into the source right now.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 11:51:28 UTC
*** Bug 57133 has been marked as a duplicate of this bug. ***
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-12-08 02:21:35 UTC
Can you test it with >=0.2.0_pre10?
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-12-08 03:42:24 UTC
best would be the just released 0.2.0_rc1
Comment 6 Rafal Rzepecki 2004-12-08 03:49:59 UTC
I would, but I can't seem to find a way to trick portage into thinking that apache-1.3.29 is merged. --inject says it's deprecated and editing /etc/make.profile/package.provided has no visible effect. Is it broken or am I not using it right?

Granted, I could really emerge an old apache just to test this bug, but I'd rather not. And I'm not into digging GLSAs for another advisory exposing this problem.
Comment 7 Richard Benjamin Voigt 2005-01-25 19:16:20 UTC
The automake vulnerability also had multislot.  What glsa-check did for me, was each time I ran it, it picked a slot containing a "vulnerable" version and updated it, in-slot, to a version selected by glsa-check (not the latest unmasked revision, not the latest version ?!?!?)

It was going to re-emerge the same version into every slot!  I finally just ran
emerge -C '<automake-1.9'

which may break some things, but I'll redownload them as things complain and hopefully the security fixes will have been backported.
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2005-04-09 10:45:37 UTC
*** Bug 88483 has been marked as a duplicate of this bug. ***
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2005-04-30 08:38:21 UTC
hmm, almost forgot about this. automake was IIRC due to a buggy/old GLSA.
This should be working in the current version.