Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24596 - hardcoded directories
Summary: hardcoded directories
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 10:03 UTC by Robin Johnson
Modified: 2011-10-30 22:20 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-07-16 10:03:13 UTC
I don't know if this is fixed in anything newer than 2.0.48-r3 or not, but here 
it is anyway.

portage.py:5031 has
pkgmasklines+=grabfile("/etc/portage/profiles/package.mask")
pkgunmasklines=grabfile("/etc/portage/package.unmask");

Could this please be made consistant?

Furthermore, could the location please be provided as a variable, instead of 
hardcoded?

One other hardcoded directories I have noticed in portage.py:
/var/db/pkg
/var/tmp
/var/cache/edb
Comment 1 SpanKY gentoo-dev 2003-07-16 15:00:37 UTC
the locations have already been fixed 
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-07-29 00:08:10 UTC
yep moved already. /etc/portage/