RT 3 in FreeBSD Jail

Oskar Eyb wrote:

Hello,

I want to use RT3 in a Jail on a FreeBSD-System. That means a read-only
/usr filesystem, what seems not to be working:

First of all, it will be a good idea to use perl5.8.4, now that it has
finally been committed.
Try to get rid of anything of Perl 5.6.1, including the additional modules
you installed under 5.6.1, before you start again with the dependencies.
I was under the impression that running RT3 with 5.6.1 is really
unsupported.

Also, in a jail, you will not be able to use postgresql.

Rainer

I want to use RT3 in a Jail on a FreeBSD-System. That means a read-only
/usr filesystem, what seems not to be working:

First of all, it will be a good idea to use perl5.8.4, now that it has
finally been committed.

okay, I’ll update perl…

But then, the old error

error: mkdir /usr/local/rt3/var/mason_data/obj/standard:
Read-only file system

because of the readl-only fs is still a problem for me.

Can RT be configured to use other directorys for writing?

Try to get rid of anything of Perl 5.6.1, including the additional modules
you installed under 5.6.1, before you start again with the dependencies.
I was under the impression that running RT3 with 5.6.1 is really
unsupported.

Also, in a jail, you will not be able to use postgresql.

Why should TCP-connections to the database server not work?

Oskar

Oskar Eyb wrote:

I want to use RT3 in a Jail on a FreeBSD-System. That means a read-only
/usr filesystem, what seems not to be working:

First of all, it will be a good idea to use perl5.8.4, now that it has
finally been committed.

okay, I’ll update perl…

But then, the old error

error: mkdir /usr/local/rt3/var/mason_data/obj/standard:
Read-only file system

because of the readl-only fs is still a problem for me.

Is /usr and /usr/local the same fs ?

Can RT be configured to use other directorys for writing?

./configure --help

I’ve never tried, though. Perhaps someone else might want to comment about
this.

Try to get rid of anything of Perl 5.6.1, including the additional modules
you installed under 5.6.1, before you start again with the dependencies.
I was under the impression that running RT3 with 5.6.1 is really
unsupported.

Also, in a jail, you will not be able to use postgresql.

Why should TCP-connections to the database server not work?

That’s something completely different :wink:

Rainer

First of all, it will be a good idea to use perl5.8.4, now that it has
finally been committed.

okay, I’ll update perl…

… but where commnitted? On a german cvsup-mirror was nothing new on
perl (and src)

error: mkdir /usr/local/rt3/var/mason_data/obj/standard:
Read-only file system

because of the readl-only fs is still a problem for me.

Is /usr and /usr/local the same fs ?

Yes.

Can RT be configured to use other directorys for writing?

./configure --help

I’ve never tried, though. Perhaps someone else might want to comment about
this.

Then I’m going to try a manual install of RT3.

Also, in a jail, you will not be able to use postgresql.

Why should TCP-connections to the database server not work?

That’s something completely different :wink:

What else do you mean?

PostgreSQL installed in a Jail also works here… or did I smething
wrong? :wink:

Oskar

Oskar Eyb wrote:

First of all, it will be a good idea to use perl5.8.4, now that it has
finally been committed.

okay, I’ll update perl…

… but where commnitted? On a german cvsup-mirror was nothing new on
perl (and src)

I don’t think you are using the right “mirror”.
Try cvsup5 or 2 or 3.

error: mkdir /usr/local/rt3/var/mason_data/obj/standard:
Read-only file system

because of the readl-only fs is still a problem for me.

Is /usr and /usr/local the same fs ?

Yes.

Can’t you just mount /usr read-only and make /usr/local read-write ?

Can RT be configured to use other directorys for writing?

./configure --help

I’ve never tried, though. Perhaps someone else might want to comment about
this.

Then I’m going to try a manual install of RT3.

Also, in a jail, you will not be able to use postgresql.

Why should TCP-connections to the database server not work?

That’s something completely different :wink:

What else do you mean?

PostgreSQL installed in a Jail also works here… or did I smething
wrong? :wink:

Hm. I think I tried it and it didn’t work - looked around a bit and saw
messages to the tune that it is not supposed to run - due to the fact the it
needs SHM and that not being available in a jail.

Rainer

… but where commnitted? On a german cvsup-mirror was nothing new on
perl (and src)

FreshPorts -- lang/perl5.8: Practical Extraction and Report Language

I don’t think you are using the right “mirror”.
Try cvsup5 or 2 or 3.

now it’s here…

Can’t you just mount /usr read-only and make /usr/local read-write ?

No.

Now I have RT3 installed manually from source into /opt.
That works fine.

PostgreSQL installed in a Jail also works here… or did I smething
wrong? :wink:

Hm. I think I tried it and it didn’t work - looked around a bit and saw
messages to the tune that it is not supposed to run - due to the fact the
it needs SHM and that not being available in a jail.

You’re right. I was wrong, my Postgres install is not in a jail.
However, I use MySQL (via TCP).

Oskar