solarg wrote: > On 03/ 3/10 08:58 AM, solarg wrote: >> >> On 03/ 2/10 09:25 PM, Jeff Trawick wrote: >>> >>> solarg wrote: >>>> >>>> hello all, >>>> >>>> i'm using the workaround is the tarball portfs_hang.tar.gz given by >>>> Jeff Trawick. >>>> After installing a new app that send mails, i found these warnings in >>>> my logs, even if the mail is correctly send: >>>> ld.so.1: sendmail: warning: >>>> /usr/apache2/2.2/lib/port_getn_interposer_32.so: open failed: illegal >>>> insecure pathname >>>> ld.so.1: sendmail: warning: >>>> /usr/apache2/2.2/lib/port_getn_interposer_32.so: open failed: illegal >>>> insecure pathname >>> >>> In which file was LD_PRELOAD[_32] set? >>> Is this new app running as a cgi? If so, did you add "PassEnv >>> LD_PRELOAD[_32]" to your httpd configuration? >>> >>> (I'm wondering why any app besides httpd sees that setting. Adding to >>> the envvars file shouldn't affect anything but httpd.) >>> >>> >> >> sorry, i forgot to add _32 in the envvars file (i have many zones, i >> forgot soemone) >> it's ok now >> > > i replied too fast, the problem is always present: > ld.so.1: sendmail: warning: > /usr/apache2/2.2/lib/port_getn_interposer_32.so: open failed: illegal > insecure pathname > > > i did: > cat /etc/apache2/2.2/envvars > LD_PRELOAD_32=/usr/apache2/2.2/lib/port_getn_interposer_32.so > export LD_PRELOAD_32 > > this is a new php app, so i imagine that it is the same as an cgi app? > and no, i never used > PassEnv LD_PRELOAD[_32] > to my httpd configuration because i'm not aware of this. > I add it in /etc/apache2/2.2/httpd.conf: > PassEnv LD_PRELOAD_32 > > but the message is still here: > ld.so.1: sendmail: warning: > /usr/apache2/2.2/lib/port_getn_interposer_32.so: open failed: illegal > insecure pathname no, I wanted to make sure that you *didn't* add the PassEnv ;)
I don't know how to avoid passing that environment variable setting to applications spawned by PHP. Perhaps the PHP documentation covers this?