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

Bug 67000

Summary: nagios-core-1.2-r2 never installs apache module
Product: Gentoo Linux Reporter: Jason Wever (RETIRED) <weeve>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Wever (RETIRED) gentoo-dev 2004-10-10 10:59:39 UTC
Due the the fact that the apache module config isn't copied over until pkg_postinst, it never gets installed in a usable location.  pkg_postinst is for modifications to the live filesystem and doins is only designed to be used inside of the sandbox.  As a result, the apache files get installed to ${PORTAGE_TMPDIR}/nagios-core-1.2-r2/image//etc/apache2/conf/modules
.d for instance and not /etc/apache2/conf/modules.

Basically these steps either need to be moved into pkg_install or insinto and doins can't be used in pkg_postinst.  My preference would be for pkg_install since then the files get included in the recorded file list for the package.

This appears to be the case in 1.2-r3 as well.
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-10-20 11:01:59 UTC
Right - It belongs in src_install.
Fixed in portage... Thanks!