Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107658 - mod_suphp reports incorrect mode in einfo
Summary: mod_suphp reports incorrect mode in einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 17:30 UTC by Miles Lubin
Modified: 2005-10-01 03:14 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 Miles Lubin 2005-09-29 17:30:19 UTC
On emerging mod_suphp, it always reports "Using paranoid mode", while it
correctly builds suphp with the mode specified in USE flags.

Reproducible: Always
Steps to Reproduce:
1. USE="-* mode-force" emerge mod_suphp

Actual Results:  
"Using paranoid mode"

Expected Results:  
"Using force mode"

This is fixed easily by changing ${mode/-mode} to ${SUPHP_SETIDMODE} in the line:
einfo "Using ${mode/-mode} mode". $mode will always be the last mode in
$SETIDMODES, because it is set to that in the loop above, while
${SUPHP_SETIDMODE} is the actual mode being used.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2005-10-01 03:14:14 UTC
fixed