Le Sat, Sep 10, 2022 at 04:37:40PM -0500, Nate Bargmann a écrit : > Date: Sat, 10 Sep 2022 16:37:40 -0500 > From: Nate Bargmann <n...@n0nb.us> > To: debian-user@lists.debian.org > Subject: Re: fetchmail > X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bendel.debian.org > X-Spam-Level: > X-Spam-Status: No, score=-12.6 required=4.0 tests=DKIM_SIGNED,DKIM_VALID, > DKIM_VALID_AU,DKIM_VALID_EF,LDOSUBSCRIBER,LDO_WHITELIST,ONEWORD, > PGPSIGNATURE,SARE_BOUNDARY_LC,T_SCC_BODY_TEXT_LINE autolearn=unavailable > autolearn_force=no version=3.4.2 > > * 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
Thank you for your reply. The commands systemctl stop fetchmail.service systemctl disable fetchmail.service doesn't work. I had tried them before sending my message. I had tried sudo kill -9 ... without success either. Finally I purged and reinstalled fetchmail and now : ps ax | grep fetchmail 3566 pts/0 S+ 0:00 grep --color=auto fetchmail no more daemons in the background and I can load my posts with fetchmail. (in Bookworm) The problem is that I don't know how to fix the problem if it starts again without purging the package :( -- Gerard ____________________________ **************************** Created with Mutt 2.2.6-1 under Debian Linux BOOKWORM ****************************