"Insecure dependency in sysopen"

David Marshall dmarshal at yahoo-inc.com
Mon Mar 28 21:15:23 UTC 2011


I'm modifying 3.6.3 to work in Yahoo's environment with most of the stuff we
bolted on to 2.2 long, long ago.

If I let checksetup.pl precompile all the templates, everything works fine.
If I then delete all the compile templates (because when we install to a
machine, I don't want to necessarily compile the templates), I can load the
home page fine.  I see some newly compiled templates in data/template.  I
can use various pages, seeing the corresponding templates being compiled.

However, if I use a page that would cause
template/en/default/global/field-descs.none.tmpl to be compiled, I get an
error:

Template->process() failed twice.
First error: file error - cache failed to write field-descs.none.tmpl:
Insecure dependency in sysopen while running with -T switch at
/home/y/lib/perl5/5.8/File/Temp.pm line 513.
Second error: file error - cache failed to write code-error.html.tmpl:
Insecure dependency in sysopen while running with -T switch at
/home/y/lib/perl5/5.8/File/Temp.pm line 513.

I'm still working to see whether I can produce this error on a stock
Bugzilla, but I thought I'd throw it out to everyone to see if anyone has an
idea.




More information about the developers mailing list