public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
       [not found] <20030719085050.GB32752@cherenkov.orbis-terrarum.net>
@ 2003-07-19  9:07 ` Stuart Herbert
  2003-07-20 12:39   ` Dhruba Bandopadhyay
  0 siblings, 1 reply; 11+ messages in thread
From: Stuart Herbert @ 2003-07-19  9:07 UTC (permalink / raw
  To: gentoo-core; +Cc: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 2052 bytes --]

Many thanks to Robin (robbat2), Seemant, Klieber, robh (or is it tigger now? 
lol ;-) and everyone else who's made me feel welcome during the last few 
weeks.

I've committed turck-mmcache 2.3.19 for testing.  This is a high-performance 
(and GPL'd ;-) PHP accelerator.  The original ebuild was submitted as bug 
#23360 by Klavs Klavsen.  Please take it out for a spin, and let me know how 
you get on.

If mmcache installs fine, but mysteriously doesn't work at all (no output in 
phpinfo(), /usr/share/turck-mmcache/mmcache.php says that it's not 
installed), please add a comment to bug #24792.

Best regards,
Stu
--
On Saturday 19 July 2003 9:50 am, Robin H.Johnson wrote:
> Now introducting a new developer...
> <Drumroll>
> Stuart Herbert (stuart@gentoo.org)
> </Drumroll>
>
> Stuart joins us after significent contributions to the Java
> functionality of PHP and other non-standard PHP extensions. He first
> started programming on Z80's around when I was born ;-).  He personally
> blames Alan Cox for getting him involved in Linux, and had a hand in
> testing the original TCP/IP stack for Linux with Alan. He has dabbled in
> writing a book or two, and currently does a bit of writing for the
> PHP|Architect.
>
> Stuart is also very interested in QA practices from his past employment,
> and has a lot of value insight to share on the subject. Esp on how to
> get QA done and make people not mind doing it ;-).
>
> Stuart has at least one other major linux contribution to his name...
> He wrote dialog-0.4, that added the radiolist control, and also came up
> with the puesdo-3D look after he was tired of it being flat 8-).

-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer - PHP Bugs                            http://www.gentoo.org/
Upcoming packages list                http://dev.gentoo.org/~stuart/packages/

GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 12:39   ` Dhruba Bandopadhyay
@ 2003-07-20 12:14     ` Stuart Herbert
  2003-07-20 12:23       ` Markus Bertheau
  2003-07-20 13:20       ` Dhruba Bandopadhyay
  0 siblings, 2 replies; 11+ messages in thread
From: Stuart Herbert @ 2003-07-20 12:14 UTC (permalink / raw
  To: gentoo-dev, Dhruba Bandopadhyay

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 944 bytes --]

On Sunday 20 July 2003 1:39 pm, Dhruba Bandopadhyay wrote:
>  >>> Install turck-mmcache-2.3.19 into
>
> /var/tmp/portage/turck-mmcache-2.3.19/image/ category dev-php
> ACCESS DENIED  mkdir:     /var/cache/mmcache

Access denied?!?  A most unexpected error ;-)

Some questions, which may help:

* Does /var/cache exist on your machine?  
* Have you setup additional ACLs or other security settings to prevent root
  from creating directories?  
* Is /var mounted read-only?  
* You *are* running the emerge as root, aren't you? ;-)

Best regards,
Stu
-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer - PHP Bugs                            http://www.gentoo.org/
Upcoming packages list                http://dev.gentoo.org/~stuart/packages/

GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 12:14     ` Stuart Herbert
@ 2003-07-20 12:23       ` Markus Bertheau
  2003-07-20 13:20       ` Dhruba Bandopadhyay
  1 sibling, 0 replies; 11+ messages in thread
From: Markus Bertheau @ 2003-07-20 12:23 UTC (permalink / raw
  To: stuart; +Cc: gentoo-dev, Dhruba Bandopadhyay

В Вск, 20.07.2003, в 14:14, Stuart Herbert пишет:
> On Sunday 20 July 2003 1:39 pm, Dhruba Bandopadhyay wrote:
> >  >>> Install turck-mmcache-2.3.19 into
> >
> > /var/tmp/portage/turck-mmcache-2.3.19/image/ category dev-php
> > ACCESS DENIED  mkdir:     /var/cache/mmcache
> 
> Access denied?!?  A most unexpected error ;-)

That's probably the sandbox, if I'm not missing something here.


-- 
Markus Bertheau.
Berlin, Berlin.
Germany.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
@ 2003-07-20 12:32 Mike Gardiner
  2003-07-20 12:56 ` Paul de Vrieze
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Gardiner @ 2003-07-20 12:32 UTC (permalink / raw
  To: gentoo-dev

Stu, (apologies was reply, not reply to all)

(Being my first contribution here, dont hesitate to correct me)

But won't the sandbox still be in effect during src_install() especially
if userpriv and usersandbox features are used during emerge?. I would've
thought /var/cache/mmcache should be made ${D}/var/cache/mmcache etc.
insinto is fine as it respects the image root, but the mkdir will be
trying to create /var/cache/mmcache on your _live_ filesystem, not the
sandboxed image.

As I said, please correct me if I'm wrong.

Regards, Mike.


On Sun, 2003-07-20 at 20:14, Stuart Herbert wrote:
> On Sunday 20 July 2003 1:39 pm, Dhruba Bandopadhyay wrote:
> >  >>> Install turck-mmcache-2.3.19 into
> >
> > /var/tmp/portage/turck-mmcache-2.3.19/image/ category dev-php
> > ACCESS DENIED  mkdir:     /var/cache/mmcache
> 
> Access denied?!?  A most unexpected error ;-)
> 
> Some questions, which may help:
> 
> * Does /var/cache exist on your machine?  
> * Have you setup additional ACLs or other security
>   settings to prevent root
>   from creating directories?  
> * Is /var mounted read-only?  
> * You *are* running the emerge as root, aren't you? ;-)
> 
> Best regards,
> Stu


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-19  9:07 ` [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache Stuart Herbert
@ 2003-07-20 12:39   ` Dhruba Bandopadhyay
  2003-07-20 12:14     ` Stuart Herbert
  0 siblings, 1 reply; 11+ messages in thread
From: Dhruba Bandopadhyay @ 2003-07-20 12:39 UTC (permalink / raw
  To: gentoo-dev, stuart

Stuart Herbert wrote:
> Many thanks to Robin (robbat2), Seemant, Klieber, robh (or is it tigger now? 
> lol ;-) and everyone else who's made me feel welcome during the last few 
> weeks.
> 
> I've committed turck-mmcache 2.3.19 for testing.  This is a high-performance 
> (and GPL'd ;-) PHP accelerator.  The original ebuild was submitted as bug 
> #23360 by Klavs Klavsen.  Please take it out for a spin, and let me know how 
> you get on.
> 
> If mmcache installs fine, but mysteriously doesn't work at all (no output in 
> phpinfo(), /usr/share/turck-mmcache/mmcache.php says that it's not 
> installed), please add a comment to bug #24792.
> 
> Best regards,
> Stu

 >>> Install turck-mmcache-2.3.19 into 
/var/tmp/portage/turck-mmcache-2.3.19/image/ category dev-php
ACCESS DENIED  mkdir:     /var/cache/mmcache
mkdir: cannot create directory `/var/cache/mmcache': Permission denied
chown: failed to get attributes of `/var/cache/mmcache': No such file or 
directory
chmod: failed to get attributes of `/var/cache/mmcache': No such file or 
directory
man:
prepallstrip:
strip:
 >>> Completed installing into /var/tmp/portage/turck-mmcache-2.3.19/image/

--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------
LOG FILE = "/tmp/sandbox-turck-mmcache-2.3.19-26801.log"

mkdir:     /var/cache/mmcache
--------------------------------------------------------------------------------
root #


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 12:32 Mike Gardiner
@ 2003-07-20 12:56 ` Paul de Vrieze
  0 siblings, 0 replies; 11+ messages in thread
From: Paul de Vrieze @ 2003-07-20 12:56 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 733 bytes --]

On Sunday 20 July 2003 14:32, Mike Gardiner wrote:
> Stu, (apologies was reply, not reply to all)
>
> (Being my first contribution here, dont hesitate to correct me)
>
> But won't the sandbox still be in effect during src_install() especially
> if userpriv and usersandbox features are used during emerge?. I would've
> thought /var/cache/mmcache should be made ${D}/var/cache/mmcache etc.
> insinto is fine as it respects the image root, but the mkdir will be
> trying to create /var/cache/mmcache on your _live_ filesystem, not the
> sandboxed image.
>
> As I said, please correct me if I'm wrong.

You are right.

Paul

-- 
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 12:14     ` Stuart Herbert
  2003-07-20 12:23       ` Markus Bertheau
@ 2003-07-20 13:20       ` Dhruba Bandopadhyay
  2003-07-20 13:36         ` Stuart Herbert
  1 sibling, 1 reply; 11+ messages in thread
From: Dhruba Bandopadhyay @ 2003-07-20 13:20 UTC (permalink / raw
  To: stuart, gentoo-dev

Stuart Herbert wrote:
> On Sunday 20 July 2003 1:39 pm, Dhruba Bandopadhyay wrote:
> 
>> >>> Install turck-mmcache-2.3.19 into
>>
>>/var/tmp/portage/turck-mmcache-2.3.19/image/ category dev-php
>>ACCESS DENIED  mkdir:     /var/cache/mmcache
> 
> 
> Access denied?!?  A most unexpected error ;-)

Indeed - now filed below.

http://bugs.gentoo.org/show_bug.cgi?id=24871

> Some questions, which may help:
> 
> * Does /var/cache exist on your machine?  

Yes.

> * Have you setup additional ACLs or other security settings to prevent root
>   from creating directories?  

No.

> * Is /var mounted read-only? 

drwxr-xr-x   13 root     root          360 Jul 18 12:44 var

> * You *are* running the emerge as root, aren't you? ;-)

Yes.

Dhruba.


$ emerge info

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) III Mobile CPU 
     1200MHz
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/ 
http://194.83.57.3/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.152/sites/www.ibiblio.org/gentoo/ 
http://194.83.57.11/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi encode foomaticdb gif jpeg mad mmx mpeg 
ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb berkdb 
slang readline bonobo svga tcltk java mysql X sdl tcpd pam libwww ssl 
perl python imlib oggvorbis gtk motif opengl cdr aalib apache2 dvd fbcon 
imap kerberos maildir md5sum nptl pcmcia pnp sse tiff usb xml -arts 
-crypt -cups -gpm -kde -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm 
-guile -esd -gnome -mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg fixpackages manifest strict"


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 13:20       ` Dhruba Bandopadhyay
@ 2003-07-20 13:36         ` Stuart Herbert
  2003-07-20 16:37           ` Dhruba Bandopadhyay
  2003-07-22 10:09           ` Dhruba Bandopadhyay
  0 siblings, 2 replies; 11+ messages in thread
From: Stuart Herbert @ 2003-07-20 13:36 UTC (permalink / raw
  To: gentoo-dev, Dhruba Bandopadhyay; +Cc: Mike Gardiner

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 728 bytes --]

On Sunday 20 July 2003 2:20 pm, Dhruba Bandopadhyay wrote:

> http://bugs.gentoo.org/show_bug.cgi?id=24871

I've committed a patch from Mike Gardiner which hopefully will fix the problem 
for you.  I'll make sure that I test all future ebuilds using the sandbox 
feature too ;-)

I appreciate the feedback on the ebuild!

Best regards,
Stu
-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer - PHP Bugs                            http://www.gentoo.org/
Upcoming packages list                http://dev.gentoo.org/~stuart/packages/

GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 13:36         ` Stuart Herbert
@ 2003-07-20 16:37           ` Dhruba Bandopadhyay
  2003-07-22 10:09           ` Dhruba Bandopadhyay
  1 sibling, 0 replies; 11+ messages in thread
From: Dhruba Bandopadhyay @ 2003-07-20 16:37 UTC (permalink / raw
  To: stuart, gentoo-dev

Stuart Herbert wrote:
> On Sunday 20 July 2003 2:20 pm, Dhruba Bandopadhyay wrote:
> 
> 
>>http://bugs.gentoo.org/show_bug.cgi?id=24871
> 
> 
> I've committed a patch from Mike Gardiner which hopefully will fix the problem 
> for you.  I'll make sure that I test all future ebuilds using the sandbox 
> feature too ;-)

I did the following and all worked fine.

1 - sync
2 - re-emerge
3 - cp mmcache.php to webroot
4 - restart apache
5 - test phpinfo


> I appreciate the feedback on the ebuild!

My pleasure.

Incidentally, where can I get a bulky php example that would allow me to 
test the differences in speed between cached and non-cached php?  At the 
moment, I can't really tell whether it has made any difference.

With regards.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-22 10:09           ` Dhruba Bandopadhyay
@ 2003-07-22  9:43             ` Stuart Herbert
  0 siblings, 0 replies; 11+ messages in thread
From: Stuart Herbert @ 2003-07-22  9:43 UTC (permalink / raw
  To: gentoo-dev, Dhruba Bandopadhyay

On Tuesday 22 July 2003 11:09 am, Dhruba Bandopadhyay wrote:
> I have a new issue for you.  When I upgraded php and mod_php on ~x86
> recently as part of an update and then visited mmcache.php on webserver
> I was told turck-mmcache is not installed.  After re-emerging
> turck-mmcache all was back to normal.
>
> Does this mean that with every upgrade of php or mod_php the settings
> for turck-mmcache will be lost in config files?  Can this be prevented
> so that settings are preserved?

I could be wrong, but as far as I know, upgrading php or mod_php doesn't 
directly overwrite any of your php.ini files.  So the settings in 
/etc/php/*/php.ini should be preserved.

Best regards,
Stu
-- 
Stuart Herbert                                              stuart@gentoo.org
Gentoo Developer                                       http://www.gentoo.org/
Upcoming packages list                http://dev.gentoo.org/~stuart/packages/

GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319  C549 0C2F 80BA F9AF C57C
--


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache
  2003-07-20 13:36         ` Stuart Herbert
  2003-07-20 16:37           ` Dhruba Bandopadhyay
@ 2003-07-22 10:09           ` Dhruba Bandopadhyay
  2003-07-22  9:43             ` Stuart Herbert
  1 sibling, 1 reply; 11+ messages in thread
From: Dhruba Bandopadhyay @ 2003-07-22 10:09 UTC (permalink / raw
  To: stuart, gentoo-dev

Stuart Herbert wrote:
> On Sunday 20 July 2003 2:20 pm, Dhruba Bandopadhyay wrote:
> 
> 
>>http://bugs.gentoo.org/show_bug.cgi?id=24871
> 
> 
> I've committed a patch from Mike Gardiner which hopefully will fix the problem 
> for you.  I'll make sure that I test all future ebuilds using the sandbox 
> feature too ;-)
> 
> I appreciate the feedback on the ebuild!
> 
> Best regards,
> Stu

I have a new issue for you.  When I upgraded php and mod_php on ~x86 
recently as part of an update and then visited mmcache.php on webserver 
I was told turck-mmcache is not installed.  After re-emerging 
turck-mmcache all was back to normal.

Does this mean that with every upgrade of php or mod_php the settings 
for turck-mmcache will be lost in config files?  Can this be prevented 
so that settings are preserved?

With regards.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-07-22  9:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20030719085050.GB32752@cherenkov.orbis-terrarum.net>
2003-07-19  9:07 ` [gentoo-dev] Re: [gentoo-core] New dev - stuart & turck-mmcache Stuart Herbert
2003-07-20 12:39   ` Dhruba Bandopadhyay
2003-07-20 12:14     ` Stuart Herbert
2003-07-20 12:23       ` Markus Bertheau
2003-07-20 13:20       ` Dhruba Bandopadhyay
2003-07-20 13:36         ` Stuart Herbert
2003-07-20 16:37           ` Dhruba Bandopadhyay
2003-07-22 10:09           ` Dhruba Bandopadhyay
2003-07-22  9:43             ` Stuart Herbert
2003-07-20 12:32 Mike Gardiner
2003-07-20 12:56 ` Paul de Vrieze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox