Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67000 - nagios-core-1.2-r2 never installs apache module
Summary: nagios-core-1.2-r2 never installs apache module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 10:59 UTC by Jason Wever (RETIRED)
Modified: 2004-10-20 11:01 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 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!