GnuPG runs out of control

Hey there,

I’m using RT 3.8.8, installed from FreeBSD ports on a FBSD 8.1-release
system.

When enabling GnuPG, I send in a signed message and get a couple dozen
perl processes…

In the logs, I get this:

[Sun Feb 20 04:16:39 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: Use of uninitialized value
$res{“status”} in pattern match (m//) at
/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm line 1420.
[Sun Feb 20 04:16:39 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: readline() on closed
filehandle GEN9748 at
/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm line 1409.
[Sun Feb 20 04:16:39 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: readline() on closed
filehandle GEN9749 at
/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm line 1409.
[Sun Feb 20 04:16:40 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: readline() on closed
filehandle GEN9filehandle GEN8450 at
/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm line 1409.
[Sun Feb 20 04:16:40 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: Use of uninitialized value
$res{“status”} in pattern match (m//) at
/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm line 1420.
[Sun Feb 20 04:16:40 2011] [error] [client 149.20.61.33] FastCGI: server
"/usr/local/bin/mason_handler.fcgi" stderr: [Sun Feb 20 12:16:36 2011]
[warning]: Can’t exec “gpg”: No such file or directory at
/usr/local/lib/perl5/site_perl/5.10.1/GnuPG/Interface.pm line 297.
(/usr/local/lib/perl5/site_perl/5.10.1/RT/Crypt/GnuPG.pm:1414)

Most of It looks a lot like what this user describes:
http://lists.fsck.com/pipermail/rt-devel/2010-February/010924.html

But that last line almost makes it look like it can’t find
/usr/local/bin/gpg somehow.

I see from reading the manpage for GnuPG::Interface that there’s a way to
tweak that via the “call” data , but I don’t know how to tweak that into
RT’ese. Any ideas? (I temp fixed this by linking /usr/bin/gpg to
/usr/local/bin/gpg)

I have some other questions but they’ll be in a separate thread.

-Dan

“Don’t be so depressed dear.”

“I have no endorphins, what am I supposed to do?”

-DM and SK, February 10th, 1999

--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org