[pkg-fetchmail-maint] Bug#320584: fetchmail startup at boot causes
unnecessary error messages
Nico Golde
nion at muttng.org
Sat Jul 30 13:03:00 UTC 2005
Hi,
* Jan De Luyck <jan-bugs at kcore.org> [2005-07-30 15:00]:
> On Saturday 30 July 2005 14:07, Nico Golde wrote:
> > so why you are not disabling the init script of fetchmail?
>
> Why? Because I think it's a regression: these errors were _not_ present with
> older version of the fetchmail package, it started somewhere around a month
> ago, but I haven't gotten round to filing a bug about it.
>
> > i don't think it is a bug. this message is for poeple who
> > want to use the init script (normally for system wide
> > fetchmails) and this doesn't work if there is no system wide
> > configuration. so you have to disable it simply if you don't
> > want to use this. Point me if I missed something.
>
> It's a regression, and a simple
>
> if [ ! -e /etc/fetchmailrc ]; then
> exit 0
> fi
>
> solves the problem. I mean, if I remove the init script, I have to keep on
> removing it every single time I upgrade the fetchmail package.. seems a
> _whole_ lot easier just to build in a simple check. IIRC, there are packages
> in Debian that do just that.
No, don't remove it, rename Sxxfetchmail to Kxxfetchmail.
if [ "$1" = "start" ]; then
if [ ! -r $CONFFILE ] ; then
echo "$CONFFILE not found."
echo "can not start fetchmail daemon..."
exit 0
fi
fi
is the code we use and that makes sence.
please rename your init script link like it is standard in systemV and close
the bug.
regards nico
--
Nico Golde - JAB: nion at jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
VIM has two modes - the one in which it beeps
and the one in which it doesn't -- encrypted mail preferred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20050730/8d678095/attachment.pgp
More information about the pkg-fetchmail-maint
mailing list