From owner-freebsd-stable@FreeBSD.ORG Sat Jan 17 20:22:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D98811065673 for ; Sat, 17 Jan 2009 20:22:28 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id CA10D8FC1C for ; Sat, 17 Jan 2009 20:22:28 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 7541F1A3C39; Sat, 17 Jan 2009 12:03:14 -0800 (PST) Date: Sat, 17 Jan 2009 12:03:14 -0800 From: Alfred Perlstein To: Mikael Bak Message-ID: <20090117200314.GR60686@elvis.mu.org> References: <49722F64.4040301@t-online.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49722F64.4040301@t-online.hu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: mydns-mysql starts before mysql has finished starting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 20:22:29 -0000 Hey Mikael, Thank you for your feedback. To find out a port's maintainer, you can look into the makefile under CVS: http://www.freebsd.org/cgi/cvsweb.cgi/ports/dns/mydns/Makefile It looks to be: MAINTAINER= ale@FreeBSD.org If you don't a get a response from this developer, then try the generic "ports@freebsd.org" address. As far as fixing the problem, I think a trick might be to do something like this: while /etc/rc.d/mysql status = up && mydns == exit failure ... You might want to fork off the process to do this so if mysql hangs then your startup script doesn't hang the boot sequence waiting for it.. -Alfred * Mikael Bak [090117 11:38] wrote: > Hi list, > > This is my first post to this list. > I'm not exactly new to freebsd but I have used GNU/Linux more. > > Last week I installed my first FreeBSD 7.1 machine. A base system with > only mc, mysql and mydns-mysql packages. I installed all from pre > compiled packages, not from ports. > > When I reboot the machine the mysql server is not finished starting > before mydns tries to start, so it fails leaving me with a not working > DNS server. I have to manually start mydns-mysql. > > As a very ugly fix I have edited the startup script for mydns-mysql and > added a 10 sec delay. > > I wonder what else I can do. Should I perhaps contact the port > maintainer? How do I reach him/her? > > TIA, > Mikael Bak > Budapest, Hungary > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- - Alfred Perlstein