* On 2022 10 Sep 16:28 -0500, Gerard ROBIN wrote:
> Hello,
> in Bullseye (stable) fetchmail works fine, but in Bookworm (testing) I
> get:
>
> fetchmail: can't accept options while a background fetchmail is running.
> argc = 5, arg list:
> arg 1 = "-k"
> arg 2 = "--ssl"
> arg 3 = "--mda"
> arg 4 = "/usr/bin/procmail -d %T"
>
> No mail arrived since ....
>
> ps ax | grep fetchmail
>
> 1943 ? Ss 0:00 fetchmail --nodetach --daemon 300
> 4220 pts/1 S+ 0:00 grep fetchmail
>
> how can I prevent the fetchmail daemon from running on startup in
> Bookworm ?
Perhaps you need to do something like (as root):
systemctl stop fetchmail.service
systemctl disable fetchmail.service
On a whim I checked what systemctl reports on this Bullseye system:
$ systemctl status fetchmail.service
● fetchmail.service - LSB: init-Script for system wide fetchmail daemon
Loaded: loaded (/etc/init.d/fetchmail; generated)
Active: active (exited) since Sat 2022-09-10 15:37:33 CDT; 52min ago
Docs: man:systemd-sysv-generator(8)
Process: 1790 ExecStart=/etc/init.d/fetchmail start (code=exited, status=0/SUCCESS)
CPU: 6ms
Now, I typically do not run fetchmail as a system wide service so I never
looked at this output but apparently it is harmless as I also see:
$ ps ax | grep fetchmail
10376 ? Ss 0:00 /usr/bin/fetchmail -aKd 60 --sslcertck
10818 pts/0 S+ 0:00 grep --color=auto fetchmail
which I had just started a few minutes before reading your mail. I do
not find any kind of default configuration under /etc. Was one added in
Bookworm?
- Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
Attachment:
signature.asc
Description: PGP signature