pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31460: www/p5-HTML-Mason does not create work directory



>Number:         31460
>Category:       pkg
>Synopsis:       www/p5-HTML-Mason does not create work directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 03 21:24:00 +0000 2005
>Originator:     Stefan Schumacher
>Release:        2.0.2 i386
>Organization:
>Environment:
NetBSD kaishakunin.homeunix.org 2.0.2 NetBSD 2.0.2 (YOSHITSUNE) #5: Sun Oct  2 
11:22:07 CEST 2005  
stefan%kaishakunin.homeunix.org@localhost:/usr/src/obj/sys/arch/i386/compile/YOSHITSUNE
 i386
>Description:
Mason (a Perl Framework to create websites with mod_perl for Apache) needs a 
work dir where it can store cache, obj and so on. 

This directory is not created when installing pkgsrc/www/p5-HTML-Mason, so 
Mason will not run from Apache.


Apache error log gives: (break added by me)
[client 127.0.0.1] Cannot create directory '/usr/pkg/mason/obj' 


(mkdir /usr/pkg/mason: Permission denied at 
/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/Interp.pm line 284\n) for user 
'www', group 'www'. Perhaps you need to create or set permissions on your 
data_dir ('/usr/pkg/mason').


 \nStack:\n  [/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/Interp.pm:301]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/Interp.pm:185]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/Interp.pm:155]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/Class/Container.pm:329]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/Class/Container.pm:53]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/ApacheHandler.pm:624]\n  
[/usr/pkg/lib/perl5/vendor_perl/5.8.0/HTML/Mason/ApacheHandler.pm:403]\n  
[(eval 33):6]\n  [-e:0]\n
>How-To-Repeat:
Install Apache, pkgsrc/www/p5-HTML-Mason and try to access a Mason site 
delivered by Apache. The site will not be processed by mason and delivered by 
Apache, instead an error log entry will be created.
>Fix:
"mkdir /usr/pkg/mason/ && chown www.www  /usr/pkg/mason/" 
when installing Mason, 
or at least give an appropriate install-message. 

Mason can create required subdirectories beneath /usr/pkg/mason/ itself.




Home | Main Index | Thread Index | Old Index