[rt-users] RT 3 in FreeBSD Jail

Oskar Eyb oskar-rt at eyb.de
Sat Jun 19 06:07:25 EDT 2004


Hello,

I want to use RT3 in a Jail on a FreeBSD-System. That means a read-only
/usr filesystem, what seems not to be working:



System error

error:  	mkdir /usr/local/rt3/var/mason_data/obj/standard:
Read-only file system at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 102

context:  	
...  	
115:  	# whether they should generate a full stack trace (confess() and
cluck())
116:  	# or simply report the caller's package (croak() and carp()),
respectively.
117:  	# confess() and croak() die, carp() and cluck() warn.
118:  	
119:  	sub croak { die shortmess @_ }
120:  	sub confess { die longmess @_ }
121:  	sub carp { warn shortmess @_ }
122:  	sub cluck { warn longmess @_ }
123:  	
...  	

code stack:
/usr/local/lib/perl5/5.6.1/Carp.pm:119
/usr/local/lib/perl5/5.6.1/File/Path.pm:140
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm:102
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:308
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:198
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:166
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm:60
/usr/local/lib/perl5/site_perl/5.6.1/Class/Container.pm:265
/usr/local/lib/perl5/site_perl/5.6.1/Class/Container.pm:343
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:213
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm:863
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm:789
/usr/local/rt3/bin/webmux.pl:138
/dev/null:0





Is there any way to use RT3 on a read-only /usr?




The other issue I have is with the Apache 1.3 webserver.
The specific SSL-vhost config looks like this:


Alias /rt3/ "/usr/local/rt3/share/html/"

PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>



Since the SetHandler-configuration, PHP-scripts are not interpreted by
PHP any longer. HOw can I solve this?




Greets,
Oskar




More information about the rt-users mailing list