[pkg-fetchmail-maint] Bug#320584: fetchmail startup at boot causes unnecessary error messages

Jan De Luyck jan-bugs at kcore.org
Sat Jul 30 12:23:40 UTC 2005


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.

Regards,

Jan
-- 
Chaos is King and Magic is loose in the world.




More information about the pkg-fetchmail-maint mailing list