Re: [rt-users] Bad Directory structure in Linux RPM installation of RT 3.4.5

2006-08-02 Thread Kanwar Ranbir Sandhu
On Tue, 2006-25-07 at 14:48 -0700, Mike Friedman wrote:
 So, how do I customize RT?  That is, what is the scheme I'm supposed to 
 use to cause proper overriding without actually modifying or replacing 
 files from the original RT distribution?

You might want to ask on the Fedora list.  I think the RT package is in
extras, and there is a fedora-extras mailing list - ask there.

At any rate, I don't use the packaged solutions.  I've heard other
people complaining about the way RT is packaged for Fedora, so I've
stuck with installing from source - much easier.

Good luck,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 
09:02:27 up 2:32, 2 users, load average: 0.05, 0.15, 0.18 


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Bad Directory structure in Linux RPM installation of RT 3.4.5

2006-08-02 Thread Mathew

Mike Friedman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 25 Jul 2006 at 16:29 (-0400), Jeff Voskamp wrote:

All crucial paths are mentioned in 
/usr/lib/perl5/vendor_perl/5.8.6/RT.pm starting around line 70. All 
the perl libraries are anchored at /usr/lib/perl5/vendor_perl/5.8.6/RT


Jeff,

But my system has several versions of perl in 
/usr/lib/perl5/vendor_perl. RT is installed in 5.8.7, but the default 
version (what I get when I enter 'perl -v') is actually 5.8.8.


I looked in /usr/lib/perl5/vendor_perl/5.8.8/RT.pm.  Several paths are 
mentioned, but most of them are either empty or don't even exist. For 
example, /var/lib/rt3 has nothing in it.  And /usr/local/etc/rt3 doesn't 
exist.  In fact, when I installed Jesse's BrandedQueues extension, it 
created /usr/local/lib/rt3/lib/RT/Extension, because /usr/local/lib/rt3 
otherwise didn't exist or was empty.


So, how do I customize RT?  That is, what is the scheme I'm supposed to 
use to cause proper overriding without actually modifying or replacing 
files from the original RT distribution?


Mike

_
Mike FriedmanSystem and Network Security
[EMAIL PROTECTED]   2484 Shattuck Avenue
1-510-642-1410   University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBRMaRwK0bf1iNr4mCEQKxlgCg6bDKZO9WtU5xEL2Fgl9xO11UqvEAni2/
l7haEeXo2nBWcKbd83kf7STb
=FXit
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy 
a copy at http://rtbook.bestpractical.com



We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html





Yeah, definitely don't use the fedora package.  It's rather pointless 
considering how easy it is to install RT via tarball.  Plus, with the 
fedora package 1) you have to wait for them to release a new build with 
each release and 2) if you have custom code that you need to use you can 
install from tarball next to the current running version while testing 
the newer version.


--
Mathew Snyder

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Bad Directory structure in Linux RPM installation of RT 3.4.5

2006-08-02 Thread Mike Friedman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 2 Aug 2006 at 09:04 (-0400), Kanwar Ranbir Sandhu wrote:

At any rate, I don't use the packaged solutions.  I've heard other 
people complaining about the way RT is packaged for Fedora, so I've 
stuck with installing from source - much easier.


Thanks.  I think I'll go that route.

Mike

_
Mike FriedmanSystem and Network Security
[EMAIL PROTECTED]   2484 Shattuck Avenue
1-510-642-1410   University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBRNDZ9K0bf1iNr4mCEQKrZwCgti3KCkLKruOd5uaUyxLnyL6P5k4AoKga
9Ds5S8ede12M8XR0SjXUxIAW
=4jR6
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Bad Directory structure in Linux RPM installation of RT 3.4.5

2006-07-25 Thread Mike Friedman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm new to Linux, so I may be overlooking something obvious.

I've been supporting our RT (3.4.2) instance on FreeBSD for several 
months.  Now I'm going to be responsible as well for RT in a Linux 
environment.  A colleague recently set up a Linux Fedora FC5 box and 
installed RT 3.4.5 via 'yum', out of the box.  I'm now trying to configure 
it and apply a few mods and customizations that I did on my FreeBSD RT 
3.4.2.


But what I've noticed is that the file structure of the RT web tree is not 
right!  RT was installed into /var/www/rt3.  But under that directory, 
instead of /var, /share, /sbin, /local, /lib, /bin and /etc, all I find is 
the root web directory, e.g., l, index.html, autohandler, /User, /Tools, 
/Ticket, /SelfService, /Search, /REST, /NoAuth, /Elements, /Download, 
/Approvals, /Admin and /Callbacks.  So, for one thing, I have no way to 
apply mods or customizations as there's no /local subdirectory.


The person who did the install says he ran it out of the box, using 'yum'. 
He didn't specify any changes to the install locations.


Could someone who is running RT on Linux (especially if it's Fedora) give 
me at least a hint of what's going on?


Meanwhile, I've got RT running, but I'm very limited in what I can do with 
it as far as customization.  I was able to install Jesse's BrandedQueues 
extension;  somehow that install was able to find the top-level location 
of the RT web stuff.  But where is the rest of the RT tree?


BTW:  the RT config files were installed in /etc/rt3 and I am able to 
customize RT_SiteConfig.pm.  Also, the supplied rt scripts 
(rt-setup-database, rt-mailgate, rt-dump-database, rt-crontool and rtacct) 
were installed into /usr/sbin (not under an rt3 directory at all).


This RT instance is intended as a prototype and is needed right now by one 
small set of users.  But in the near future I'll be doing a fresh install 
on a new Linux system, so whatever I can learn from you now could be of 
great value when I get to start over from scratch.


Any help will be appreciated.

Thanks.

Mike

_
Mike FriedmanSystem and Network Security
[EMAIL PROTECTED]   2484 Shattuck Avenue
1-510-642-1410   University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBRMZ2tq0bf1iNr4mCEQJIdgCgtxUw3IQLZxcHLfHMK4L71I6tGpsAoOEu
EpMBcM91UU5/1nFpDqPkFyxv
=jAtO
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html


Re: [rt-users] Bad Directory structure in Linux RPM installation of RT 3.4.5

2006-07-25 Thread Mike Friedman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 25 Jul 2006 at 16:29 (-0400), Jeff Voskamp wrote:

All crucial paths are mentioned in 
/usr/lib/perl5/vendor_perl/5.8.6/RT.pm starting around line 70. All the 
perl libraries are anchored at /usr/lib/perl5/vendor_perl/5.8.6/RT


Jeff,

But my system has several versions of perl in /usr/lib/perl5/vendor_perl. 
RT is installed in 5.8.7, but the default version (what I get when I enter 
'perl -v') is actually 5.8.8.


I looked in /usr/lib/perl5/vendor_perl/5.8.8/RT.pm.  Several paths are 
mentioned, but most of them are either empty or don't even exist. For 
example, /var/lib/rt3 has nothing in it.  And /usr/local/etc/rt3 doesn't 
exist.  In fact, when I installed Jesse's BrandedQueues extension, it 
created /usr/local/lib/rt3/lib/RT/Extension, because /usr/local/lib/rt3 
otherwise didn't exist or was empty.


So, how do I customize RT?  That is, what is the scheme I'm supposed to 
use to cause proper overriding without actually modifying or replacing 
files from the original RT distribution?


Mike

_
Mike FriedmanSystem and Network Security
[EMAIL PROTECTED]   2484 Shattuck Avenue
1-510-642-1410   University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://security.berkeley.edu
_

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBRMaRwK0bf1iNr4mCEQKxlgCg6bDKZO9WtU5xEL2Fgl9xO11UqvEAni2/
l7haEeXo2nBWcKbd83kf7STb
=FXit
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html