Article View: news.admin.peering
Article #1599Re: Bug in latest pullnews
From: Julien ÉLIE
Date: Thu, 30 Mar 2023 11:21
Date: Thu, 30 Mar 2023 11:21
37 lines
2699 bytes
2699 bytes
Hi Eli, > I think there is a bug in this latest version. > > When pullnews starts, it writes a PID file. > If pullnews is accidentally restarted, it will report that pullnews is already > running and that's perfect. > But after this message pullnews deletes the PID file :( Thanks again for your bug report; it's really appreciated to make pullnews better. When you download a new version of pullnews from the Git repository, do not forget to manually edit the first 2 lines of the file which should reflect the paths to Perl and INN::Config. (You can take the same as the ones in other Perl scripts like mailpost.) It gives something like: #! /usr/bin/perl -w use lib '/usr/share/perl5'; use INN::Config; The issue you're facing is only triggered when you run pullnews outside an INN installation (which is a possible use of pullnews, as it could be run from a separate server). There are 2 branches at several places in the code. PID file handling was wrong in one of these branches, as you noticed. I believe the issue is now fixed, and you can download the updated pullnews script from the Git repository. -- Julien ÉLIE « Les amis de la vérité sont ceux qui la cherchent, et non ceux qui se vantent de l'avoir trouvée. » (Condorcet)
Technical Details
Message-ID:
<u03rbc$g2ci$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sXMOL.4024495$MJk2.1098149@fx06.ams4> <tuujhn$3imqa$2@news.trigofacile.com> <rI_QL.3045494$nwq3.92975@fx13.ams4> <tv2ek9$3lcvn$2@news.trigofacile.com> <24AUL.3489906$nwq3.1642192@fx13.ams4>Show Full Headers
Complete Article Headers
Message-ID: <u03rbc$g2ci$1@news.trigofacile.com> Subject: Re: Bug in latest pullnews Date: Thu, 30 Mar 2023 13:21:16 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tuujhn$3imqa$2@news.trigofacile.com> <rI_QL.3045494$nwq3.92975@fx13.ams4> <tv2ek9$3lcvn$2@news.trigofacile.com> <24AUL.3489906$nwq3.1642192@fx13.ams4> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.admin.peering Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 30 Mar 2023 11:21:16 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="526738"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cancel-Lock: sha1:6DeyR9MzvcwTKSE/axwVP8MvgWs= sha256:v3u0o71gwktPwcLBNuyns+Qg0pXtH/Mifi0aHtX2qIg= sha1:z0Sotl3CI1qBrlI2aIAb8hoglSs= sha256:sbclNFpCJRllZ2Wjq9gb4iLNQRC44zw6PZv00VD1MZs= In-Reply-To: <24AUL.3489906$nwq3.1642192@fx13.ams4>