Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 398657

Summary: sys-apps/portage: ebuild helpers should die when given extra arguments
Product: Portage Development Reporter: Sebastian Luther (few) <SebastianLuther>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Luther (few) 2012-01-12 12:10:54 UTC
Currently at least one ebuild helper function (newinitd) silently ignores extra arguments, which leads to some files not being installed (see bug 398655).

All helper functions should instead die if they are given unexpected arguments to avoid such issues.
Comment 1 Zac Medico gentoo-dev 2012-01-12 12:42:35 UTC
There's already a QA Notice in the latest release:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e20df85cf8579aaa9cf07d59efc453d5837a7598

I suspect that this issue is rare enough that we can safely make it die for all EAPIs.