Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319881 - app-portage/portpeek-1.5.7.2 improperly searches for config files;
Summary: app-portage/portpeek-1.5.7.2 improperly searches for config files;
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-15 21:06 UTC by Dean Matzkov
Modified: 2010-05-21 18:24 UTC (History)
0 users

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 Dean Matzkov 2010-05-15 21:06:17 UTC
Portpeek reads certain Portage-related config files that reside in /etc, but when searching for them, it does so from the current-working directory.

For example, if you run it from your home directory, it'll fail. But if you cd into '/', it'll run successfully.

This is not stable behavior, and its ebuild should be masked. However, this problem seems to have been fixed in version 1.5.8.4 (which is currently masked).

Reproducible: Always

Steps to Reproduce:
1. emerge app-portage/portpeek-1.5.7.2
2. cd into your home folder, and run 'portpeek --all'
3. cd into your root directory, and run it again

Actual Results:  
It complains with:

Could not find file etc/portage/package.keywords

Expected Results:  
It should be able to run successfully, no matter what directory you're currently in.
Comment 1 Mike Pagano gentoo-dev 2010-05-17 12:57:03 UTC
as soon as amd64 stabilizes 1.5.8.4 this version will be killed.

See bug #309059
Comment 2 Mike Pagano gentoo-dev 2010-05-21 18:24:29 UTC
This version has been removed from the tree as 1.5.8.4 has been stabilized in bug #309059.