----- Forwarded message from "Bugs in RT 3.x via RT" 
<rt-b...@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-b...@bestpractical.com>
Reply-To: rt-b...@bestpractical.com
To: d...@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-b...@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)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to