From owner-freebsd-ports@FreeBSD.ORG Fri Jan 6 14:54:41 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 72BA016A41F; Fri, 6 Jan 2006 14:54:41 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from kartoffel.salatschuessel.net (p5084DCDE.dip.t-dialin.net [80.132.220.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B1C943D45; Fri, 6 Jan 2006 14:54:39 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from kartoffel.salatschuessel.net (localhost [IPv6:::1]) by kartoffel.salatschuessel.net (8.13.4/8.13.4) with SMTP id k06Esb1l075919; Fri, 6 Jan 2006 15:54:38 +0100 (CET) (envelope-from lehmann@ans-netz.de) Date: Fri, 6 Jan 2006 15:54:37 +0100 From: Oliver Lehmann To: Mike Jakubik , ale@FreeBSD.org Message-Id: <20060106155437.41af46f3.lehmann@ans-netz.de> In-Reply-To: <43BE5534.5010102@rogers.com> References: <43BE5534.5010102@rogers.com> X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: [Fwd: 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: Fri, 06 Jan 2006 14:54:41 -0000 Mike, could you please send me the output of rcorder /usr/local/etc/rc.d/courier-authdaemond.sh I guess that mysql-client.sh doesn't run properly Alex - can you convert mysql-client.sh to the actual rc.d structure so it PROVIDES something I can depend on? Maybe "libmysql" so courier-authlib.sh can depend on it? This should fix the problem. Mike Jakubik wrote: > Is this going to be fixed? I have a server in production that uses > courier, and this sort of problem is unacceptable. The port should be > marked broken if its not fixed, so that people are not caught off guard. > > -------- Original Message -------- > Subject: Re: FreeBSD Port: security/courier-authlib-base (rc.d changes > problem) > Date: Sun, 01 Jan 2006 18:49:31 -0500 > From: Mike Jakubik > To: Doug Barton > CC: ports@freebsd.org, oliver@FreeBSD.org, ale@freebsd.org > References: <43B6D44B.20808@rogers.com> <43B8666F.9000409@FreeBSD.org> > > > > Doug Barton wrote: > > 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 > > > > I am using the following ports: > > > mysql-client-4.1.16 Multithreaded SQL database (client) > mysql-server-4.1.16 Multithreaded SQL database (server) > courier-authlib-base-0.58 Courier authentication library base > courier-authlib-mysql-0.58 MySQL support for the Courier authentication > library > courier-imap-4.0.6_1,1 IMAP (and POP3) server that provides access to > Maildir mail > > > 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. > > > I made the changes and rebooted, however the problem remains. > > > -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/