| Summary: | nagios-core-1.2-r2 never installs apache module | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jason Wever (RETIRED) <weeve> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Right - It belongs in src_install. Fixed in portage... Thanks! |
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.