Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken searchPackage in Core.pm #1

Open
kentfredric opened this issue Jul 24, 2013 · 2 comments
Open

broken searchPackage in Core.pm #1

kentfredric opened this issue Jul 24, 2013 · 2 comments

Comments

@kentfredric
Copy link
Member

As per b.g.o. #264680 https://bugs.gentoo.org/show_bug.cgi?id=264680

With reasonable certainty, searchPackage will fail when traversing /usr/portage/

Because /usr/portage/packages is not a category, and is not chmod u+rx for UID!=0

So traversal fails if you're not root, which is pretty annoying.

@ghost ghost assigned kentfredric Jul 24, 2013
@kentfredric
Copy link
Member Author

Patch is in 734ef41 , which has been pushed to CPAN as PortageXS-0.2.12

https://metacpan.org/release/KENTNL/PortageXS-0.2.12

@kentfredric
Copy link
Member Author

I don't consider it "fully fixed" yet, the implementation should only iterate values of category found in $OVERLAY/profiles/categories, and only fall back to pure iteration if that file is missing.

But the codebase is not in a state I can add that support cleanly yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant