Re: Jabberd vs PostgreSQL

2006-09-01 Thread Brooks Davis
On Fri, Sep 01, 2006 at 11:05:43AM -0700, Doug Barton wrote: > Brooks Davis wrote: > > On Thu, Aug 31, 2006 at 10:33:45PM -0700, Doug Barton wrote: > >> Jiawei Ye wrote: > >> > >>> I can see that postgresql requires LOGIN, but jabberd is BEFORE:LOGIN, > >>> what is the proper solution? > >> If I un

Re: Jabberd vs PostgreSQL

2006-09-01 Thread Doug Barton
Brooks Davis wrote: > On Thu, Aug 31, 2006 at 10:33:45PM -0700, Doug Barton wrote: >> Jiawei Ye wrote: >> >>> I can see that postgresql requires LOGIN, but jabberd is BEFORE:LOGIN, >>> what is the proper solution? >> If I understand correctly, pgsql runs as an unprivileged user, which means >> it n

Re: Jabberd vs PostgreSQL

2006-09-01 Thread Doug Barton
Jiawei Ye wrote: > On 9/1/06, Doug Barton <[EMAIL PROTECTED]> wrote: >> ports/net-im/jabber/files/jabberd.sh.in does not have that line, so I am >> wondering what port you're working with here. > Well, it is here in mine: Strange, I must have been looking in the wrong place, sorry for the confusio

Re: Jabberd vs PostgreSQL

2006-09-01 Thread Brooks Davis
On Thu, Aug 31, 2006 at 10:33:45PM -0700, Doug Barton wrote: > Jiawei Ye wrote: > > > I can see that postgresql requires LOGIN, but jabberd is BEFORE:LOGIN, > > what is the proper solution? > > If I understand correctly, pgsql runs as an unprivileged user, which means > it needs to REQUIRE LOGIN.

Re: Jabberd vs PostgreSQL

2006-08-31 Thread Jiawei Ye
On 9/1/06, Doug Barton <[EMAIL PROTECTED]> wrote: ports/net-im/jabber/files/jabberd.sh.in does not have that line, so I am wondering what port you're working with here. Well, it is here in mine: cat /usr/ports/net-im/jabberd/files/jabberd.sh.in #!/bin/sh # Start or stop jabberd # $FreeBSD: por

Re: Jabberd vs PostgreSQL

2006-08-31 Thread Doug Barton
Jiawei Ye wrote: > I can see that postgresql requires LOGIN, but jabberd is BEFORE:LOGIN, > what is the proper solution? If I understand correctly, pgsql runs as an unprivileged user, which means it needs to REQUIRE LOGIN. OTOH, there is no reason that jabberd should run BEFORE LOGIN, and I suspe

Re: Jabberd vs PostgreSQL

2006-08-29 Thread Duane Whitty
On Wed, Aug 30, 2006 at 02:30:16PM +0800, Jiawei Ye wrote: > On 8/30/06, Duane Whitty <[EMAIL PROTECTED]> wrote: > >Hi, > > > >In jabberd2 rc script I would write REQUIRE: postgresql > >In postgresql rc script I would write BEFORE: NETWORKING SERVERS > > > >Best Regards, > > > >Duane Whitty > Hi, w

Re: Jabberd vs PostgreSQL

2006-08-29 Thread Jiawei Ye
On 8/30/06, Duane Whitty <[EMAIL PROTECTED]> wrote: Hi, In jabberd2 rc script I would write REQUIRE: postgresql In postgresql rc script I would write BEFORE: NETWORKING SERVERS Best Regards, Duane Whitty Hi, while this solves my problem, it's not really clean. What about MySQL? jabber has qui

Re: Jabberd vs PostgreSQL

2006-08-29 Thread Duane Whitty
On Wed, Aug 30, 2006 at 12:12:24PM +0800, Jiawei Ye wrote: > Hi, > > I have setup a jabberd2 server to use postgresql as the backend, but > the rc scripts need some polishing. postgresql should be started > before jabberd2 if it is configured, how can I specify that? Currently > postgresql is star

Jabberd vs PostgreSQL

2006-08-29 Thread Jiawei Ye
Hi, I have setup a jabberd2 server to use postgresql as the backend, but the rc scripts need some polishing. postgresql should be started before jabberd2 if it is configured, how can I specify that? Currently postgresql is started after jabberd2, causing the following output during startup: Star