Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47316 - sec-policy/grsecurity-base-policy calls pkglist; pkglist doesn't exist
Summary: sec-policy/grsecurity-base-policy calls pkglist; pkglist doesn't exist
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High major (vote)
Assignee: solar (RETIRED)
Depends on:
Reported: 2004-04-09 01:50 UTC by Drake Wyrm
Modified: 2010-03-27 22:56 UTC (History)
0 users

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

duplicates functionality of pkglist within ebuild (grsecurity-base-policy.diff,1012 bytes, patch)
2004-04-09 01:52 UTC, Drake Wyrm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Wyrm 2004-04-09 01:50:44 UTC
While reviewing the logs for some recent ebuilds, I found the following line:

/usr/sbin/ line 1: /usr/lib/portage/bin/pkglist: No such file or directory

The src_install() function in grsecurity-base-policy-20030614.ebuild contains the offending reference to pkglist, which seems to have been absent from portage for about two months.

The soon-to-be-attached patch to grsecurity-base-policy-20030614.ebuild duplicates the required functionality. Somebody with a better understand of portage will want to look at this. I don't think I broke any rules by skimming /var/db/pkg directly, but I also don't know of any "right way" to accomplish the same thing from a single ebuild.
Comment 1 Drake Wyrm 2004-04-09 01:52:43 UTC
Created attachment 28933 [details, diff]
duplicates functionality of pkglist within ebuild
Comment 2 solar (RETIRED) gentoo-dev 2004-04-09 03:54:39 UTC
Brad (grsec author) is about to push grsec2 to stable.
The only that holds it back is the lack of documentaion.

I'm thinking along the lines of grsecurity-base-policy should be 
obsoleted and or removed from portage. Objections?
Comment 3 Drake Wyrm 2004-04-09 10:26:09 UTC
Makes sense, as soon as nothing else in portage uses the existing grsecurity code, but in the meantime...
Comment 4 solar (RETIRED) gentoo-dev 2004-05-20 12:45:56 UTC
grsecurity-base-policy has been removed from the tree.