Package: bugzilla
Version: 2.18-5
Severity: serious
Justification: FHS violation

Moi!

Trying to log into bugzilla after an upgrade to 2.18 with a read-only
/usr partition yields:

Software error:

Error in tempfile()
using /usr/share/bugzilla/web/data/versioncache.XXXXX: Could not create
temp file /usr/share/bugzilla/web/data/versioncache.FLtJk: Read-only
file system at /usr/share/bugzilla/globals.pl line 245

Indeed, /usr/share/perl5/Bugzilla/Config.pm defines:

our $libpath = '/usr/share/bugzilla';
(...)
our $datadir = "$libpath/web/data";

and /etc/bugzilla/localconfig as distributed does not seem to override
this location.

$datadir used to reside in /var/lib/bugzilla/data in 2.16, which looks a
lot more appropriate for creating on-the-fly stuff like tempfiles than
/usr/share. 

Regards,

Daniel.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to