Subject: Re: pkg/36292: clamsmtpd started too early
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 05/08/2007 09:15:05
The following reply was made to PR pkg/36292; it has been noted by GNATS.

From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/36292: clamsmtpd started too early
Date: Tue, 08 May 2007 12:13:53 +0300

 > Please check result of 'rcorder /etc/rc.d/*'. If order of clamd and clamsmtpd
 > is right, clamsmtpd may have to wait for 'real' ready of clamd.
 
 Oh, the order is correct already. So there should be some kind of "sleep 10" in 
 clamsmtpd_prestart() so that the clamd has time to properly start up.
 
 ...
 /etc/rc.d/clamd
 ...
 /etc/rc.d/clamsmtpd
 /etc/rc.d/postfix
 ...
 /etc/rc.d/freshclamd
 /etc/rc.d/cron