RT 3.4.2: rt-mailgate fails after OpenSSL upgrade

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’m running RT 3.4.2 on FreeBSD 5.4-RELEASE. I just upgraded OpenSSL from
0.9.7e to 0.9.8a. I then reinstalled p5-Crypt-SSLeay, plus some other
modules(*), which depended on OpenSSL.

Now I find that rt-mailgate crashes. My RT URL is https, so I guess it
uses the SSLeay perl module. But when I originally did a ‘pkg_info -rR’
for OpenSSL, RT didn’t show up as requiring it.

Now I don’t know what to do.

Since rt-mailgate seems to use LWP::UserAgent, I tried reinstalling that,
from CPAN. But I get the same symptom:

 Segmentation fault (core dumped)

Any suggestions, short of reinstalling RT (would that even help)?

If I use an ‘http’ url, rt-mailgate doesn’t crash. (Unfortunately, this
doesn’t do me much good).

Thanks.

Mike


(*) I couldn’t use portupgrade, because it requires ruby. And I couldn’t
install ruby because it requires the new OpenSSL. So, I decided to use
‘pkg_info -rR’ to see what depended on OpenSSL and came up with four
things:

mysql-server
p5-Crypt-SSLeay
p5-perl-ldap
qpopper

After upgrading OpenSSL, I installed/reinstalled the above 4 modules.
And now rt-mailgate dumps core when I run it against an https url.

Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBRCnAWK0bf1iNr4mCEQLncQCgspwrSr4yk+y5oPnhCfRVW8D0hacAoI36
6S5dngDrkyN++qu4uduvY0X2
=LXC3
-----END PGP SIGNATURE-----

You have to reinstall all perl modules that are linked to libssl, to
get list of files you can use next command:

find /usr/lib/perl5/ -name ‘*.so’ | xargs ldd | perl -n -e ‘chomp;
$last = $_ if /^\S/; print “$last $_\n” if /^\s/’ | grep -i sslOn 3/29/06, Mike Friedman mikef@ack.berkeley.edu wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’m running RT 3.4.2 on FreeBSD 5.4-RELEASE. I just upgraded OpenSSL from
0.9.7e to 0.9.8a. I then reinstalled p5-Crypt-SSLeay, plus some other
modules(*), which depended on OpenSSL.

Now I find that rt-mailgate crashes. My RT URL is https, so I guess it
uses the SSLeay perl module. But when I originally did a ‘pkg_info -rR’
for OpenSSL, RT didn’t show up as requiring it.

Now I don’t know what to do.

Since rt-mailgate seems to use LWP::UserAgent, I tried reinstalling that,
from CPAN. But I get the same symptom:

 Segmentation fault (core dumped)

Any suggestions, short of reinstalling RT (would that even help)?

If I use an ‘http’ url, rt-mailgate doesn’t crash. (Unfortunately, this
doesn’t do me much good).

Thanks.

Mike


(*) I couldn’t use portupgrade, because it requires ruby. And I couldn’t
install ruby because it requires the new OpenSSL. So, I decided to use
‘pkg_info -rR’ to see what depended on OpenSSL and came up with four
things:

mysql-server
p5-Crypt-SSLeay
p5-perl-ldap
qpopper

After upgrading OpenSSL, I installed/reinstalled the above 4 modules.
And now rt-mailgate dumps core when I run it against an https url.


Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBRCnAWK0bf1iNr4mCEQLncQCgspwrSr4yk+y5oPnhCfRVW8D0hacAoI36
6S5dngDrkyN++qu4uduvY0X2
=LXC3
-----END PGP SIGNATURE-----


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.