[request-tracker-maintainers] Bug#595054: Bug#595054: request-tracker3.8: Race condition between RT3.8+apache2 and MySQL when booting by insserv

Konstantin Khomoutov flatworm at users.sourceforge.net
Thu Sep 30 17:43:25 UTC 2010


On Sun, 26 Sep 2010 17:08:06 +0100
Dominic Hargreaves <dom at earth.li> wrote:

> On Tue, Aug 31, 2010 at 10:17:34PM +0400, Konstantin Khomoutov wrote:
>> I'm using RT 3.8 with apache2 via mod_perl, MySQL is used as a
>> database backend. When the server is booted using insserv, apache2
>> starts long before MySQL and for some reason some bit of RT tries
>> to access the MySQL server, times out and fails; this prevents
>> apache2 from starting.
> 
> I've attempted to fix this via a dummy init script in the package
> available at:
> 
> <http://pkg-request-tracker.alioth.debian.org/test/parboot/>
> (3.8.8-5~test.1).
> 
> I will try and get these tested out with insserv, although I need to
> upgrade my main machine to squeeze first. Please let me know if that
> solves the problem for you.

That worked for me, thanks!
In /etc/init.d/.depend.start, I now have (among other things)

request-tracker3.8: rsyslog mysql
apache2: rsyslog request-tracker3.8

which seems to do the right thing.





More information about the pkg-request-tracker-maintainers mailing list