#34745 [Opn]: mod_php4 holds a read lock on /etc/krb5.keytab
| From: | paul dot moore at centrify dot com | Date: | Thu, 06 Oct 2005 18:22:20 +0000 |
| Subject: | #34745 [Opn]: mod_php4 holds a read lock on /etc/krb5.keytab | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86144@lists.php.net to get a copy of this message | ||
ID: 34745
User updated by: paul dot moore at centrify dot com
Reported By: paul dot moore at centrify dot com
Status: Open
Bug Type: *General Issues
Operating System: redhat es3
PHP Version: 4.4.0
New Comment:
ok - so I lied. Sorry
a) turns out this is redhat 9 not es3
b) its php 4.2.2 (came in the redhat box)
I cannot repro on es3 with 4.3.2 (in box version)
It would be nice to know that "yes this was a bug and we fixed it in
vxxx".
php -i says
'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db3' '--with-curl' '--with-dom=/usr'
'--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm'
'--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv'
'--with-jpeg-dir=/usr'
'--with-openssl' '--with-png' '--with-pspell'
'--with-regex=system'
'--with-xml' '--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp'
'--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear'
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos'
'--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-snmp=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack'
'--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath'
'--enable-shmop' '--enable-versioning' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mcal'
'--enable-force-cgi-redirect'
Previous Comments:
------------------------------------------------------------------------
[2005-10-06 20:09:28] paul dot moore at centrify dot com
how would I do that - I never use PHP. I just found it to be the
problem by commenting out LoadModules from the default redhat
configuration until things stopped breaking.
------------------------------------------------------------------------
[2005-10-06 08:43:22] derick@php.net
Then what line did they use? (check phpinfo() output)
------------------------------------------------------------------------
[2005-10-06 01:15:26] paul dot moore at centrify dot com
i did not build apache or mod_php it came in the redhat box
------------------------------------------------------------------------
[2005-10-06 00:49:39] tony2001@php.net
What is your ./configure line?
------------------------------------------------------------------------
[2005-10-06 00:26:00] paul dot moore at centrify dot com
Description:
------------
just loading mod_php4 into apache2 makes other apps that write the
/etc/krb5.keytab hang.
This is also reported as redhat bug 114453
Shut down httpd and those apps go fine. Comment out the loadmodule line
and they run fine too
Reproduce code:
---------------
run apache 2 with php_mod4
use ktutil to remove an entry for /etc/krb5.keytab - it will hang
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34745&edit=1