[rt-users] DateTime/Set.pm not found in @INC

Kevin Falcone falcone at bestpractical.com
Tue Mar 5 18:30:33 EST 2013


On Tue, Mar 05, 2013 at 01:10:38PM -1000, Camron W. Fox wrote:
> On 13/02/25 6:04 AM, Kevin Falcone wrote:
> > Are you sure that this perl /opt/perl/bin/perl
> > 
> >> [cwfox at admin-new perl]$ /opt/perl/bin/perl -le 'print foreach @INC'
> >> /opt/perl/lib/site_perl/5.16.2/x86_64-linux
> >> /opt/perl/lib/site_perl/5.16.2
> >> /opt/perl/lib/5.16.2/x86_64-linux
> >> /opt/perl/lib/5.16.2
> > 
> > Is the same as this perl?
> > 
> >> /usr/local/lib64/perl5 /usr/local/share/perl5
> >> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
> >> /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at
> > 
> > It looks like RT is running under /usr/bin/perl (the system perl) and
> > anything you install into your custom perl will be unavailable.
> > 
> > Disable the calendar plugin and start up RT and visit the System
> > Configuration page to compare the perl -V output at the bottom to the
> > results of /usr/bin/perl -V and /opt/perl/bin/perl -V
> > 
> > Keep in mind, if you're using a packaged mod_perl you're almost
> > certainly *not* using your custom built perl.
> 
> 	/opt/perl/bin/perl and all the permods were installed specifically for
> this RT installation.
> 
> 	I installed perl 5.16.2 in /opt/perl and used it as the perl to install
> everything, so how (and when) did the RT instance get hijacked?
> 
> 	This pretty much sucks.

Are you using mod_perl from the system distribution?
If so, it's going to use the system perl

If so, you need to either use fastcgi or build mod_perl against your
custom perl (which is nowhere near as hard as it was years ago,
thankfully).

Since you have a custom perl, you should keep in mind this
announcement we made earlier today.

http://blog.bestpractical.com/2013/03/security-vulnerability-in-perl.html

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130305/894c251d/attachment.sig>


More information about the rt-users mailing list