[pkg-fetchmail-maint] Bug#582475: Bug#582475: fetchmail: init script should wait for DNS

Jan Braun janbraun at gmx.net
Fri May 21 15:38:32 UTC 2010


Nico Golde schrob:
> Hi,
> * Jan Braun <janbraun at gmx.net> [2010-05-21 13:38]:
> > Fetchmail's init script should probably depend on exim4 and $named,
> > rather than just $network. At least here, with dependency-based boot
> > enabled, the first run always fails because DNS (a local pdnsd) is not
> > yet available when fetchmail is started ($network implies only low-level
> > networking). Similarly, fetchmail will usually need an MTA running, so
> > I've added a dependency on exim4 too (as precaution, I didn't experience
> > any failures due to this missing). There doesn't seem to be a $mta
> > target, but you could add other MTAs too if you care.
> 
> I tend to disagree, you don't need a local nameserver or mta installed in 
> order to use fetchmail so I can't follow you on why it makes sense to depend 
> on those components with the init script.

Sorry, "depend" was the wrong word. My patch adds them as a "Should-Start"
directive, which means fetchmail is started after them if they exist,
and (plainly) started if they don't.
IOW: If you do happen to have a local nameserver/mta, fetchmail is likely
to use them, so _in that case_ delay starting fetchmail for them.

    Jan
-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20100521/d85362fb/attachment.pgp>


More information about the pkg-fetchmail-maint mailing list