Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629222 - [TRACKER] Packages calling external commands in metadata regen
Summary: [TRACKER] Packages calling external commands in metadata regen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on: 629106 629224 629226
Blocks:
  Show dependency tree
 
Reported: 2017-08-28 17:46 UTC by Michał Górny
Modified: 2017-09-11 20:32 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-28 17:46:36 UTC
https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-12400011.3:

| When an ebuild is being sourced for metadata querying rather than for a build
| (that is to say, when none of the src_ or pkg_ functions are to be called), no
| external command may be executed. The package manager may take steps to enforce
| this.

So now that I have a code enforcing this, all hell breaks loose...
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-09-11 20:32:24 UTC
All the violation have been fixed now (kernel bug is still open for further improvements but it doesn't cause any explosions anymore).