[request-tracker-maintainers] Bug#599333: Bug#599333: request-tracker3.8: $WebPath debconf variable is reset to its default value when upgrading package

Dominic Hargreaves dom at earth.li
Wed Oct 6 18:22:31 UTC 2010


On Wed, Oct 06, 2010 at 09:36:47PM +0400, Konstantin Khomoutov wrote:
> We have $WebPath set to an empty string as we're hosting RT using
> virtual hosts (and hence no path dispatching is needed).
> The variable is set using debconf dialog.
> 
> When upgrading the package this variable is reset to its default
> value, "/rt". Other variables survive upgrading.
> 
> I first faced this when I was upgrading stock request-tracking3.8 from
> Squeeze to the set of throw-away packages provided by Dominic to test
> his fix for #595054 (race condition), and now I encountered it again
> when upgrading to the actual version (containing the said fix).
> 
> I'm not sure but possibly an empty string is treated in a somehow
> special manner by the debconf machinery or RT maintainer scripts.
> 
> By the way when I was setting RT for the first time, I tried to set that
> variable to "/" as I thought it was a sensible way to specify "no path
> component" but it turned out RT disliked it and failed to find various
> resources such as images, styles and scripts, so I figured out an empty
> string works OK.

Thanks for reporting this. As you've probably gathered squeeze is now
in deep freeze, which probably means this won't get fixed in squeeze,
but I'll certainly look into it.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list