[request-tracker-maintainers] Bug#518556: [rt-bugs at bestpractical.com: [fsck.com #13592] AutoReply: rt-setup-database uses wrong upgrade path]
Dominic Hargreaves
dom at earth.li
Sun Jun 14 14:01:05 UTC 2009
----- Forwarded message from "Bugs in RT 3.x via RT" <rt-bugs at bestpractical.com> -----
X-Spam-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,
RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.5
Subject: [fsck.com #13592] AutoReply: rt-setup-database uses wrong upgrade path
From: "Bugs in RT 3.x via RT" <rt-bugs at bestpractical.com>
Reply-To: rt-bugs at bestpractical.com
To: dom at earth.li
Date: Sun, 14 Jun 2009 09:42:30 -0400
X-Urchin-Spam-Score-Int: -33
Greetings,
This message has been automatically generated in response to the
creation of a trouble ticket regarding:
"rt-setup-database uses wrong upgrade path",
a summary of which appears below.
There is no need to reply to this message right now. Your ticket has been
assigned an ID of [fsck.com #13592].
Please include the string:
[fsck.com #13592]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
Thank you,
rt-bugs at bestpractical.com
-------------------------------------------------------------------------
rt-setup-database assumes that the upgrade data is in the current directory;
however if it has been installed on the system (eg as part of a Debian package)
this isn't correct.
We have patched the script in Debian as follows:
--- request-tracker3.8/sbin/rt-setup-database.in 2009-01-07 01:15:21.000000000
+0000
+++ request-tracker3.8/sbin/rt-setup-database.in.new 2009-03-09
17:10:18.000000000 +0000
@@ -246,7 +246,7 @@
sub action_upgrade {
my %args = @_;
- my $base_dir = $args{'datadir'} || "./etc/upgrade";
+ my $base_dir = $args{'datadir'} || $RT::EtcPath . "/upgrade";
return (0, "Couldn't read dir '$base_dir' with upgrade data")
unless -d $base_dir || -r _;
----- End forwarded message -----
--
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