I'm trying to convert a site from apache/mod_perl  ->  apache2/mod_perl2, 
things are going well but I am getting this error whenever mason tries to write 
to its data_dir:
[error] Insecure dependency in mkdir while running with -T switch at 
/usr/lib/perl5/5.8.8/File/Path.pm line 151, <DATA> line 225.

Stack:
  [/usr/lib/perl5/5.8.8/File/Path.pm:151]
  [/usr/lib/perl5/5.8.8/File/Path.pm:147]
  [/usr/lib/perl5/5.8.8/File/Path.pm:147]
  [/usr/lib/perl5/5.8.8/File/Path.pm:147]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:107]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:438]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:249]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:212]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97]
  [/usr/lib/perl5/site_perl/5.8.8/MasonX/Request/WithApacheSession.pm:75]
  [/usr/lib/perl5/vendor_perl/5.8.8/Class/Container.pm:275]
  [/usr/lib/perl5/vendor_perl/5.8.8/Class/Container.pm:353]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:868]
  [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:822]
  [/usr/local/tusk/current/conf/mason.pl:88]
  [-e:0]

I've gone through my mason.pl<http://mason.pl> file to validate that I am not 
using any variables at all when defining data_dir, its hard coded with a => 
'/something' and I'm still getting the error. Does anyone have any thoughts as 
to what may be causing this or any pointers for my conversion? Please note, I 
am not looking for an into to taint, I have a general concept of that, but I am 
not sure why I am getting it in this particular situation)? I'm running the 
following on the following versions (let me know if any more versions, or any 
other info that would help):

 CentOS release 5.6 (Final)
perldoc -m HTML::Mason | grep -i version - $HTML::Mason::VERSION = '1.46';
  perldoc -m HTML::Mason::ApacheHandler | grep -i version -  do not change the 
version number $VERSION = 1.69;
HTML::Mason::Interp does not have a version
perldoc -m Class::Container | grep -i version - $VERSION = '0.12';
   perldoc -m MasonX::Request::WithApacheSession | grep -i version - $VERSION = 
'0.31';
perldoc -m HTML::Mason::ApacheHandler | grep -i version - $VERSION = 1.69;
HTML::Mason::Request does not seem to have a version
perldoc -m File::Path | grep -i version - our $VERSION = "1.08";

There has got to be something I am missing but I can't seem to find it, 
tomorrow I'll try to follow the stack trace more to see if I can find anything 
within the packages, but figured I'd get this question out there incase anyone 
has encountered something like this or has any suggestions.

Thanks in advance for any help you can provide.

-John

P.S. Please let me know if the modperl list would be better for this questions.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to