Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216346 - www-servers/cherokee-0.6.1 sandbox violation
Summary: www-servers/cherokee-0.6.1 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 15:28 UTC by Thomas Seifert
Modified: 2009-04-01 12:54 UTC (History)
1 user (show)

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 Thomas Seifert 2008-04-05 15:28:18 UTC
trying to install www-servers/cherokee-0.6.1 ends with 

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-19146.log"

unlink:    /session_mm_cgi-fcgi0.sem
open_wr:   /session_mm_cgi-fcgi0.sem
unlink:    /session_mm_cgi-fcgi0.sem
--------------------------------------------------------------------------------

same with 0.6.0 and works "fine" without sandbox (obviously)

Reproducible: Always

Steps to Reproduce:
1. try to install www-servers/cherokee-0.6.1 with USE="admin coverpage gnutls ipv6 pam ssl -static -threads"

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-19146.log"

unlink:    /session_mm_cgi-fcgi0.sem
open_wr:   /session_mm_cgi-fcgi0.sem
unlink:    /session_mm_cgi-fcgi0.sem
--------------------------------------------------------------------------------

Expected Results:  
install cleanly, without sandbox violations.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-05 16:17:19 UTC
Which 
Comment 2 José Alberto Suárez López (RETIRED) gentoo-dev 2008-05-23 12:18:50 UTC
http://bugs.php.net/bug.php?id=13595

it seems a php problem reassing?
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2008-10-05 20:24:27 UTC
is this still a problem with cherokee-0.9.0?
thanks.
Comment 4 johnny 2008-11-03 20:02:42 UTC
yes it is, i've asked the gentoo php folks to look at it
Comment 5 Marcin Deranek 2008-12-18 20:07:01 UTC
Something like this in src_unpack() should make sandbox happy:

sed -i -e "s|\(\$PHPCGI -v\)|\1 -d session.save_path=/tmp|" configure.in
eautoreconf

By default session.save_path is commented out in php.ini (?) and php-cgi tries to unlink files in / which sandbox doesn't like. Setting session path to /tmp (or uncommenting that entry in php.ini) does the trick.
Comment 6 José Alberto Suárez López (RETIRED) gentoo-dev 2008-12-26 08:54:12 UTC
do you have this problem in 0.11.6?
Comment 7 johnny 2009-02-03 17:50:11 UTC
this problem is now fixed upstream, close this bug after the next release
Comment 8 José Alberto Suárez López (RETIRED) gentoo-dev 2009-04-01 12:54:10 UTC
New version in cvs