Package: fetchmail
Version: 6.4.33-1
Severity: important
I call fetchmal every 10 minutes in my crontab as "fetchmail -a -s".
This used to work until the latest upgrade without problems (for
decades).
Since upgrading I get the error message:
fetchmail: can't accept options while a background fetchmail is running.
argc = 3, arg list:
arg 1 = "-a"
arg 2 = "-s"
This also happens when called on the command line.
However, fetchmail is not intended to run in the background, expecially:
# cat /etc/default/fetchmail
…
# Declare here if we want to start fetchmail. 'yes' or 'no'
START_DAEMON=no
But somehow it is in the background:
helge 2994 0.0 0.0 13984 8216 ? Ss 20:07 0:00 fetchmail --nodetach --daemon 300
In the system logs (from boot until now) I get lots of errors:
Sep 11 20:06:57 twentytwo fetchmail[2055]: fetchmail: no mailservers have been specified.
Sep 11 20:06:57 twentytwo systemd[2018]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:06:57 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Scheduled restart job, restart counter is at 1.
Sep 11 20:06:58 twentytwo fetchmail[2118]: fetchmail: no mailservers have been specified.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Scheduled restart job, restart counter is at 2.
Sep 11 20:06:58 twentytwo fetchmail[2149]: fetchmail: no mailservers have been specified.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Scheduled restart job, restart counter is at 3.
Sep 11 20:06:58 twentytwo fetchmail[2154]: fetchmail: no mailservers have been specified.
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:06:58 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:06:59 twentytwo systemd[1]: Starting LSB: init-Script for system wide fetchmail daemon...
Sep 11 20:06:59 twentytwo fetchmail[2454]: Not starting fetchmail daemon, disabled via /etc/default/fetchmail.
Sep 11 20:06:59 twentytwo systemd[1]: Started LSB: init-Script for system wide fetchmail daemon.
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Scheduled restart job, restart counter is at 4.
Sep 11 20:06:59 twentytwo fetchmail[2459]: fetchmail: no mailservers have been specified.
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Scheduled restart job, restart counter is at 5.
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Start request repeated too quickly.
Sep 11 20:06:59 twentytwo systemd[2018]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:07:26 twentytwo fetchmail[2994]: fetchmail: starting fetchmail 6.4.33 daemon
Sep 11 20:08:46 twentytwo fetchmail[3284]: fetchmail: WARNING: Running as root is discouraged.
Sep 11 20:08:46 twentytwo fetchmail[3284]: fetchmail: no mailservers have been specified.
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Scheduled restart job, restart counter is at 1.
Sep 11 20:08:46 twentytwo fetchmail[3291]: fetchmail: WARNING: Running as root is discouraged.
Sep 11 20:08:46 twentytwo fetchmail[3291]: fetchmail: no mailservers have been specified.
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Scheduled restart job, restart counter is at 2.
Sep 11 20:08:46 twentytwo fetchmail[3292]: fetchmail: WARNING: Running as root is discouraged.
Sep 11 20:08:46 twentytwo fetchmail[3292]: fetchmail: no mailservers have been specified.
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:08:46 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Scheduled restart job, restart counter is at 3.
Sep 11 20:08:47 twentytwo fetchmail[3293]: fetchmail: WARNING: Running as root is discouraged.
Sep 11 20:08:47 twentytwo fetchmail[3293]: fetchmail: no mailservers have been specified.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Scheduled restart job, restart counter is at 4.
Sep 11 20:08:47 twentytwo fetchmail[3294]: fetchmail: WARNING: Running as root is discouraged.
Sep 11 20:08:47 twentytwo fetchmail[3294]: fetchmail: no mailservers have been specified.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Scheduled restart job, restart counter is at 5.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Start request repeated too quickly.
Sep 11 20:08:47 twentytwo systemd[3268]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:10:01 twentytwo CRON[3702]: (helge) CMD (fetchmail -a -s)
Sep 11 20:12:27 twentytwo fetchmail[4016]: fetchmail: no mailservers have been specified.
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Scheduled restart job, restart counter is at 1.
Sep 11 20:12:27 twentytwo fetchmail[4039]: fetchmail: no mailservers have been specified.
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Scheduled restart job, restart counter is at 2.
Sep 11 20:12:27 twentytwo fetchmail[4040]: fetchmail: no mailservers have been specified.
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:12:27 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Scheduled restart job, restart counter is at 3.
Sep 11 20:12:28 twentytwo fetchmail[4041]: fetchmail: no mailservers have been specified.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Scheduled restart job, restart counter is at 4.
Sep 11 20:12:28 twentytwo fetchmail[4042]: fetchmail: no mailservers have been specified.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Scheduled restart job, restart counter is at 5.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Start request repeated too quickly.
Sep 11 20:12:28 twentytwo systemd[4000]: fetchmail.service: Failed with result 'exit-code'.
Sep 11 20:20:01 twentytwo CRON[7306]: (helge) CMD (fetchmail -a -s)
Sep 11 20:30:01 twentytwo CRON[25336]: (helge) CMD (fetchmail -a -s)
Sep 11 20:40:01 twentytwo CRON[39508]: (helge) CMD (fetchmail -a -s)
Sep 11 20:50:01 twentytwo CRON[40534]: (helge) CMD (fetchmail -a -s)
Sep 11 21:00:01 twentytwo CRON[40631]: (helge) CMD (fetchmail -a -s)
Sep 11 21:10:01 twentytwo CRON[42112]: (helge) CMD (fetchmail -a -s)
Sep 11 21:20:01 twentytwo CRON[42218]: (helge) CMD (fetchmail -a -s)
Sep 11 21:30:01 twentytwo CRON[42538]: (helge) CMD (fetchmail -a -s)
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.6 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages fetchmail depends on:
ii adduser 3.128
ii debianutils 5.7-0.3
ii init-system-helpers 1.64
ii libc6 2.34-7
ii libcom-err2 1.46.5-2
ii libgssapi-krb5-2 1.20-1
ii libkrb5-3 1.20-1
ii libssl3 3.0.5-2
ii lsb-base 11.2
Versions of packages fetchmail recommends:
ii ca-certificates 20211016
Versions of packages fetchmail suggests:
ii exim4-daemon-light [mail-transport-agent] 4.96-3
pn fetchmailconf <none>
pn resolvconf <none>
-- Configuration Files:
/etc/logcheck/ignore.d.server/fetchmail [Errno 13] Keine Berechtigung: '/etc/logcheck/ignore.d.server/fetchmail'
/etc/logcheck/ignore.d.workstation/fetchmail [Errno 13] Keine Berechtigung: '/etc/logcheck/ignore.d.workstation/fetchmail'
-- no debconf information
--
Dr. Helge Kreutzmann
deb...@helgefjell.de
Dipl.-Phys.
http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre":
http://www.ffii.de/