From owner-freebsd-ports@FreeBSD.ORG Thu Dec 22 00:43:35 2005 Return-Path: X-Original-To: freebsd-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 E569316A424 for ; Thu, 22 Dec 2005 00:43:35 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail1.fluidhosting.com (mail1.fluidhosting.com [204.14.90.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 50B7543D62 for ; Thu, 22 Dec 2005 00:43:35 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 56506 invoked by uid 399); 22 Dec 2005 00:43:34 -0000 Received: from unknown (HELO ?192.168.1.101?) (dougb@dougbarton.net@127.0.0.1) by 127.0.0.1 with SMTP; 22 Dec 2005 00:43:34 -0000 Message-ID: <43A9F6B3.9020302@FreeBSD.org> Date: Wed, 21 Dec 2005 16:43:31 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Ion-Mihai Tetcu References: <20051222022727.086a6a3c@it.buh.tecnik93.com> In-Reply-To: <20051222022727.086a6a3c@it.buh.tecnik93.com> X-Enigmail-Version: 0.93.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Cristiano Deana , freebsd-ports@freebsd.org Subject: Re: Bug[?] In new local_startup and 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: Thu, 22 Dec 2005 00:43:36 -0000 Please don't cross-post. Ion-Mihai Tetcu wrote: > On Thu, 22 Dec 2005 00:50:07 +0100 > Cristiano Deana wrote: > >> After a today upgrade to 6-STABLE postgresql doesn't start at boot. >> Strange beavior, if I run `/usr/local/etc/rc.d/010.pgsql.sh start' it >> starts correctly. >> 010.pgsql.sh is the same of updated ports. >> >> This is 010.pgsql.sh : >> http://www.deana.it/010.pgsql.sh >> >> Doug, this is resuls of running `sh rc' whit your patch: >> http://www.deana.it/rc.late The only thing odd I see there is that 010.pgsql.sh is run after 000.pkgtools.sh. I think the latter is for portupgrade, yes? If so, that shouldn't make any difference, right? The other possibility is that postgres is depending on something that has not yet been converted, so it's running out of localpkg. Try adding a line like this below the REQUIRE line that is already there: # REQUIRE: localpkg >> # grep postgresql_enable /etc/rc.conf >> postgresql_enable="YES" >> >> This is the only one script doesn't working > > On your system :) > Squid and samba have been reported on ports and I'm working on cups, > which with the current script behaves strangely like it doesn't receive > "start". Strange, is that with the latest version of the cups port? I fixed a problem with the boot script (it has a PROVIDE line in it, but shouldn't). Doug