From owner-freebsd-ports@FreeBSD.ORG Sun Jan 1 23:32:04 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 0656916A41F for ; Sun, 1 Jan 2006 23:32:04 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E2E743D5A for ; Sun, 1 Jan 2006 23:32:02 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 77939 invoked by uid 399); 1 Jan 2006 23:32:01 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Jan 2006 23:32:01 -0000 Message-ID: <43B8666F.9000409@FreeBSD.org> Date: Sun, 01 Jan 2006 15:31:59 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20051226) MIME-Version: 1.0 To: Mike Jakubik References: <43B6D44B.20808@rogers.com> In-Reply-To: <43B6D44B.20808@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, ale@freebsd.org, oliver@FreeBSD.org Subject: Re: FreeBSD Port: security/courier-authlib-base (rc.d changes problem) 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: Sun, 01 Jan 2006 23:32:04 -0000 Mike Jakubik wrote: > It seems that since the new rc.d MFC, the courier authdaemond does not > start up properly. My setup uses mysql, here is the error i get when > booting: > > FreeBSD 6.0-STABLE #0: Thu Dec 29 15:08:50 EST 2005 amd64 > > Dec 31 13:45:45 mail authdaemond: modules="authmysql", daemons=5 > Dec 31 13:45:45 mail authdaemond: Installing libauthmysql > Dec 31 13:45:45 mail authdaemond: Shared object "libmysqlclient.so.14" > not found, required by "libauthmysql.so" > Dec 31 13:45:47 mail postfix/postfix-script: starting the Postfix mail > system > Dec 31 13:45:47 mail postfix/master[657]: daemon started -- version > 2.2.7, configuration /usr/local/etc/postfix You didn't mention what version of mysql you are using, but this seems to be a problem with the mysql startup. authdaemond REQUIRE's mysql, which has this in the mysql-server.sh file: # PROVIDE: mysql # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown It is unclear to me why mysqld has to start before DAEMON, and in fact that seems bogus, but there may be a good reason for it. At minimum, ldconfig should be added to the REQUIRE line, as it is possible for ldconfig to run after NETWORKING and SERVERS, but before DAEMON, and still be after mysql-server is run. Try adding ldconfig to the REQUIRE line of your copy of /usr/local/etc/rc.d/mysql-server.sh and see if it solves this problem for you, and report the results. hth, Doug > However if i manually restart it right after the system has booted it > works just fine: > > Dec 31 13:48:18 mail authdaemond: stopping authdaemond children > Dec 31 13:48:20 mail authdaemond: modules="authmysql", daemons=5 > Dec 31 13:48:20 mail authdaemond: Installing libauthmysql > Dec 31 13:48:20 mail authdaemond: Installation complete: authmysql > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -- This .signature sanitized for your protection