Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 12:03:14 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Mikael Bak <mikael@t-online.hu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: mydns-mysql starts before mysql has finished starting
Message-ID:  <20090117200314.GR60686@elvis.mu.org>
In-Reply-To: <49722F64.4040301@t-online.hu>
References:  <49722F64.4040301@t-online.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mikael@t-online.hu> [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090117200314.GR60686>