Summary: | emerge dev-php5/pecl-http -- sandbox violation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | crucify <shj> |
Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | jlec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
php.ini |
Description
crucify
2009-05-24 12:34:14 UTC
I cannot reproduce it here. if you really have a bug, please attach more information like emerge --info, and the build.log including the sandbox violation 1. USE="-apache cli cgi -threads sharedmem sharedext" emerge php 2. php.ini session.save_file remove 3. emerge dev-php5/pecl-http answer is session.save_file = /tmp I wish add to php.ini default value. Okay I have it here too. Created attachment 192525 [details]
build.log
Created attachment 192526 [details]
php.ini
Hm, this seems to be a general problem. You only get it if you USE="-apache2". Every other SAPI fails. ***3 hours later*** I've figured it out: the sandbox violation is caused by mm_* calls. This suggests a problem with libmm trying to write your session files. Setting USE="-sharedmem" (and uninstalling libmm) seem to fix the problem. Also, setting session.save_path explicitly in php.ini fixes the issue. This is also reported upstream (with pointers): http://bugs.php.net/bug.php?id=49401 I'm not exactly sure WHY this is happening, but i'll update the bug if i find out. Meanwhile, setting session.save_path explicitly sounds like a good work around. I don't consider this a fix, as the default IS '/tmp/' already and the fact php isn't honoring that is a bug. Seems we have multiple bugs with this one. *** This bug has been marked as a duplicate of bug 282768 *** |