[rt-users] Mail error: Insecure dependency in open while running setgid

Mike White myk1 at ptgrey.com
Tue Mar 16 19:14:45 EST 2004


Hi all,

Over the last couple of days, i've had a series of the following error 
happening intermittently when procmail calls rt-mailgate.  The mail is 
lost and never makes it into RT.

I searched the archives and the two main solutions to this type of 
problem are a) clear the mason cache and b) switch from FastCGI to mod_perl.

I've done a), and am reluctantly considering b), but I just wanted to 
ping the group and see if anyone else has determined a more permanent 
solution to this.

I'm running RT 3.0.9, Perl 5.8.3, MySQL 4, etc.

Also: Would rt-mailgate return an error in this case?  Could this error 
be handled in .procmailrc?

Thanks!

Mike


Error report:

-------
RT server error. The RT server which handled your email did not behave 
as expected. It said:

System error
error:  	Insecure dependency in open while running setgid at 
/usr/lib/perl5/5.8.3/i386-linux/IO/File.pm line 176, <_GEN_1> line 37.
context:  	
...  	
172:  	$file = File::Spec->catfile(File::Spec->curdir(),$file);
173:  	}
174:  	$file = IO::Handle::_open_mode_string($mode) . " $file\0";
175:  	}
176:  	open($fh, $file);
177:  	}
178:  	
179:  	1;
180:  	
code stack:  	/usr/lib/perl5/5.8.3/i386-linux/IO/File.pm:176
/usr/lib/perl5/5.8.3/i386-linux/IO/File.pm:147
/usr/lib/perl5/site_perl/5.8.1/MIME/Body.pm:414
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:820
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:1006
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:707
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:998
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:1101
/usr/lib/perl5/site_perl/5.8.1/MIME/Tools.pm:164
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:1102
/usr/lib/perl5/site_perl/5.8.1/MIME/Parser.pm:1135
/opt/rt3/lib/RT/EmailParser.pm:238
/opt/rt3/lib/RT/EmailParser.pm:211
/opt/rt3/lib/RT/Interface/Email.pm:432
/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:31

-------





More information about the rt-users mailing list