On Fri, 02 Oct 2009, Paul Traina wrote:
> So upon doing some more research and work, and testing on MY system,
> this is, I believe, the correct answer for most installations, and
> should not cause any problems for any installations:
> 
> ### BEGIN INIT INFO
> # Provides:          amavisd-new
> # Required-Start:    $syslog $network $local_fs $network $named $time
> # Required-Stop:     $syslog $network $local_fs $network
> # Should-Start:      postgresql mysql ldap clamav-daemon
> # Should-Stop:       postgresql mysql ldap clamav-daemon
> # Default-Start:     2 3 4 5
> # Default-Stop:      0 1 6
> # Short-Description: Starts amavisd-new mailfilter
> # Description:       Launches the amavisd-new mailfilter
> ### END INIT INFO
> 
> 
> The only question is, should local_fs be, more conservatively,
> remote_fs?

You can use remote_fs, yes.  Or even both (but first, please look at the
docs to see if remote_fs implies local_fs.  I think it does).

Any proper setup of amavisd-new can deal with it starting late.

> The "should" stuff will be counted only if there are packages that
> provide the servers in question.

Do we need clamav-daemon in there?  I don't object to the other deps, but
clamav-daemon really shouldn't need to be started before amavisd-new...

> As you can see, this will start amavisd-new either at the same time,
> or before the MTA.  I think that's more proper than my earlier
> solution of starting it after the MTA, as there is a tiny window
> where the MTA could attempt to receive mail and amavis isn't ready.

I wouldn't approve a patch where amavisd-new gets forced to start after the
MTA at all :)

> Please consider incorporating this patch into the next update.

We will.  But let's get it perfect and tested first, since it should not
take much more effort to be assured that we will get it right on the first
upload.

> Again, it shouldn't break things that don't have any of the "should"
> severs (or do).

Did you test it?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to