From owner-freebsd-ports@FreeBSD.ORG Fri Sep 1 05:37:13 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED8E116CA44 for ; Fri, 1 Sep 2006 05:33:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 684ED43D46 for ; Fri, 1 Sep 2006 05:33:41 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 28900 invoked by uid 399); 1 Sep 2006 05:33:40 -0000 Received: from localhost (HELO ?192.168.0.10?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Sep 2006 05:33:40 -0000 Message-ID: <44F7C639.90905@FreeBSD.org> Date: Thu, 31 Aug 2006 22:33:45 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Jiawei Ye References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: Jabberd vs PostgreSQL X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 05:37:14 -0000 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