[rt-users] Insecure dependency with FastCGI

Hanno Mueller hanno.mueller at epublica.de
Thu Nov 13 21:14:08 EST 2003


Hi,


I'm trying to install RT on a Debian Stable box. Since Debian doesn't
come with Perl 5.8 yet, I compiled my own 5.8.2. It runs Apache 1.3.26
with FastCGI.


I followed all the installation instructions for RT.


In RT 3.0.6, I get

For the Homepage:

> Error during compilation of /opt/rt/share/html/index.html:
> Insecure dependency in require while running setgid at
> /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm line 568
> context:   	...  	
> code stack:
> /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:580
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:317
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:198
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:166
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:265
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:343
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:213
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:207
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:89
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:72
> g /opt/rt/bin/mason_handler.fcgi:53
> g


For the /Admin/ page:

> error:   	Insecure dependency in mkdir while running setgid at
> /opt/perl/lib/5.8.2/File/Path.pm line 159.
> context:  	
> ...  	
> 155:  	unless (-d $parent or $path eq $parent) {
> 156:  	push(@created,mkpath($parent, $verbose, $mode));
> 157:  	}
> 158:  	print "mkdir $path\n" if $verbose;
> 159:  	unless (mkdir($path,$mode)) {
> 160:  	my $e = $!;
> 161:  	# allow for another process to have created it meanwhile
> 162:  	croak "mkdir $path: $e" unless -d $path;
> 163:  	}
> ...  	
> code stack:  	/opt/perl/lib/5.8.2/File/Path.pm:159
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm:102
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:309
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:198
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:166
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:265
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:343
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:213
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:207
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:89
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:72
> g /opt/rt/bin/mason_handler.fcgi:53
> g



In RT 3.0.5, I get for the Homepage:

> Insecure dependency in mkdir while running setgid at
> /opt/perl/lib/5.8.2/File/Path.pm line 159
> context: mkdir
> code stack:   	 /opt/perl/lib/5.8.2/File/Path.pm:159
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Compiler/ToObject.pm:102
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:309
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:198
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Request.pm:166
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:265
> g /opt/perl/lib/site_perl/5.8.2/Class/Container.pm:343
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:213
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/Interp.pm:207
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:89
> g /opt/perl/lib/site_perl/5.8.2/HTML/Mason/CGIHandler.pm:72
> g /opt/rt/bin/mason_handler.fcgi:53
> g




I'm a bit stuck and the mailing list doesn't mention this problem for
recent versions. Yet, I cannot use RT with mod_perl on this particular
server.

Any suggestions?


Greetings,

Hanno






More information about the rt-users mailing list