Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156414 - dev-php5/eaccelerator-0.9.5 ebuild forces inode-based caching
Summary: dev-php5/eaccelerator-0.9.5 ebuild forces inode-based caching
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155325
  Show dependency tree
 
Reported: 2006-11-27 07:39 UTC by Mike Nerone
Modified: 2007-03-06 15:24 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 Mike Nerone 2006-11-27 07:39:59 UTC
Previous versions of this ebuild had an "inode" USE flag, without which eAccelerator would be built with inode-based caching disabled. That option is no longer present, and the package is always built with inode-based caching. This is very bad in Gentoo, because the default technique for webapps (via webapp-config) is for all non-config webapp files to be hardlinked to each other. Thus, having the same webapp installed in two different places steps on each-other: for example, I had webapps in vhost A displaying the content from vhost B, because vhost B happened to get cached first.

Turning off inode-based caching must be made available again, and should be the default for Gentoo. There must be other users affected, possibly not even aware of the problem that upgrading this package may have caused.
Comment 1 Mike Nerone 2007-01-03 14:18:11 UTC
Ummm...hello?
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2007-03-06 15:24:16 UTC
Fixed in CVS.
The dev-php45/eaccelerator-0.9.5 ebuild now has an "inode" USE flag, if it's disabled, it passes --without-eaccelerator-use-inode to configure, which is documented as "Don't use inodes to determine hash keys (never used on win32)".
This should be exactly what you want.
Best regards, CHTEKK.