[Mageia-sysadm] [477] do snapshots of the custom bugzilla template

Michael scherer misc at zarb.org
Fri Nov 26 22:17:31 CET 2010


On Fri, Nov 26, 2010 at 10:00:41PM +0100, Michael scherer wrote:
> On Fri, Nov 26, 2010 at 08:42:32PM +0100, Dexter Morgan wrote:
> > On Fri, Nov 26, 2010 at 7:42 PM, Michael scherer <misc at zarb.org> wrote:
> > > On Fri, Nov 26, 2010 at 04:03:12PM +0100, root at mageia.org wrote:
> > >> Revision: 477
> > >> Author:   dmorgan
> > >> Date:     2010-11-26 16:03:12 +0100 (Fri, 26 Nov 2010)
> > >> Log Message:
> > >> -----------
> > >> do snapshots of the custom bugzilla template
> > >>
> > >> Modified Paths:
> > >> --------------
> > >>     puppet/modules/bugzilla/manifests/init.pp
> > >>
> > >> Modified: puppet/modules/bugzilla/manifests/init.pp
> > >> ===================================================================
> > >> --- puppet/modules/bugzilla/manifests/init.pp 2010-11-26 12:48:53 UTC (rev 476)
> > >> +++ puppet/modules/bugzilla/manifests/init.pp 2010-11-26 15:03:12 UTC (rev 477)
> > >> @@ -1,5 +1,7 @@
> > >>  class bugzilla {
> > >>
> > >> +   $bugzilla_location = "/usr/share/bugzilla/template/en/custom"
> > >> +
> > >
> > > IMHO, /usr is not really the good place for this, as it should be kept
> > > for the distribution :
> > > http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE18
> > >
> > > According to FHS, this would rather go to /var/.
> > >
> > > --
> > > Michael Scherer
> > 
> > hi,
> > 
> > the issue here is that bugzilla is directly installed here. you
> > suggest we change the rpm ?
> 
> I suggest to either use bugzilla facility to use any directory ( but a quick check
> of the code show that bugzilla do not support it, while this seems to be quite easy to do by adding
> some code to Bugzilla/Constants.pm ), or to use a extension ( which will then give a 
> /var/ directory as result to the call of template_dir ).
> 
> Extensions seems safer to me, but that would still requires fiddling
> with /usr to add the extension. I am not sure it can be done by some 
> PERL5LIB magic. And the fact that no one even commented on this 
> 3 years old bug report ( https://bugzilla.mozilla.org/show_bug.cgi?id=370447 )
> do let me much hope :/
> 
> A third option would be to use PERL5LIB to shortcircuit Bugzilla::Constants.
> 
Or a soft link + bug report at mdv, as I think this is the kind of fix that
could be accepted by Guillaume ( bugzilla maintainer, iirc ), thus reducing 
the need on our side to change the rpm
( and so, reducing our work when upgrading, and when doing security update ).

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list