Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2006 22:33:45 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: Jabberd vs PostgreSQL
Message-ID:  <44F7C639.90905@FreeBSD.org>
In-Reply-To: <c21e92e20608292112u714e3b5ck9ca346acffe4a30b@mail.gmail.com>
References:  <c21e92e20608292112u714e3b5ck9ca346acffe4a30b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 suspect that is an artifact of copying and pasting a
script that had that in it for no good reason. In fact,
ports/net-im/jabber/files/jabberd.sh.in does not have that line, so I am
wondering what port you're working with here.

In any case, the proper fix here seems to be to have jabber REQUIRE
postgresql. Try that, and if it works, you're golden.

Doug

-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F7C639.90905>