Nico Golde schrob: > Hi, > * Jan Braun <janbr...@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
signature.asc
Description: Digital signature