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

Bug 440484

Summary: apache-2.eclass: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) <polynomial-c>
Status: CONFIRMED ---    
Severity: normal CC: mail
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Patches are highly welcome
Package list:
Runtime testing required: ---
Bug Depends on: 455842    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:59:09 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package www-servers/apache-2.2.23, the following elog messages are displayed:

 * 
 * Selected default threaded MPM: worker
 * 
 * Please note that you need SysV IPC support in your kernel.
 * Make sure CONFIG_SYSVIPC=y is set.
 * 
 * Attention: cgi and cgid modules are now handled via APACHE2_MODULES flags
 * in /etc/make.conf. Make sure to enable those in order to compile them.
 * In general, you should use 'cgid' with threaded MPMs and 'cgi' otherwise.

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'www-servers/apache'; then

See the tracker bug 440214 for more details.
Comment 1 Pacho Ramos gentoo-dev 2016-02-08 18:55:04 UTC
That comes from eclass:
        elog "Attention: cgi and cgid modules are now handled via APACHE2_MODULES flags"
        elog "in make.conf. Make sure to enable those in order to compile them."
        elog "In general, you should use 'cgid' with threaded MPMs and 'cgi' otherwise."


Probably, as the behavior is that for so long time, they could simply be dropped