Article View: news.software.nntp
Article #85768Re: pullnews (Debian Wheezy, inn2-lfs) broken?
From: Julien ÉLIE
Date: Sat, 06 Jul 2013 20:03
Date: Sat, 06 Jul 2013 20:03
41 lines
3349 bytes
3349 bytes
Hi Tony,
>> A possibility would be to check whether the running user is the one
>> mentioned in the runasuser parameter in inn.conf. If that is the case,
>> we use <pathdb>. Otherwise, $ENV{HOME} would be used.
>> Would it be an acceptable behaviour?
>
> I obviously don't understand why it needs to be changed to <pathdb> instead
> of just using the home dir of the running user?
>
> If you stopped it using <pathdb>, and just kept it using $ENV{HOME} without
> overriding it, what would the problem be?
It is for better integration with the "news" environment. States (like
what ".pullnews" stores) are not meant to be at the root of the home
directory of the news user but in the directory where similar states are
(<pathdb>).
The change is essentially done to rationalize the files used by INN.
A second foreseen step is to separate state and configuration in this
file, which would lead to <pathdb>/pullnews.marks (state) and
<pathetc>/pullnews.conf (configuration).
The current ".pullnews" file is not a best practise at all!
> But I guess I'm just one person, and perhaps I've been using pullnews
> incorrectly for the past few years?
You are using pullnews correctly. It just happens that there is a bug
in the version shipped with INN 2.5.3, and that the next major release
of INN (2.6.0) will change the location of the file for the news user
only (so no change for you, in your use case, except for the fact that
".pullnews" is renamed to "pullnews.marks" -- and maybe split into
"pullnews.conf" if done for INN 2.6.0).
--
Julien ÉLIE
« Et vous allez reprendre votre bateau… Et, mergitur ou pas,
fluctuat ! Compris ! Fluctuat ! » (Goudurix)
Technical Details
Message-ID:
<kr9t5o$fib$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-652-1-190-49.w86-218.abo.wanadoo.fr!not-for-mailReferences:
<kr6ff5$dga$2@trinity.darkstorm.co.uk> <kr7cuv$oo0$1@news.trigofacile.com> <kr7fsc$a2g$1@matrix.darkstorm.co.uk> <kr9gtn$2k7$1@news.trigofacile.com> <kr9ldj$ts1$1@matrix.darkstorm.co.uk> <kr9nil$9r1$1@news.trigofacile.com> <kr9rba$6b0$1@matrix.darkstorm.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <kr9t5o$fib$1@news.trigofacile.com> Subject: Re: pullnews (Debian Wheezy, inn2-lfs) broken? Date: Sat, 06 Jul 2013 22:03:03 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <kr6ff5$dga$2@trinity.darkstorm.co.uk> <kr7cuv$oo0$1@news.trigofacile.com> <kr7fsc$a2g$1@matrix.darkstorm.co.uk> <kr9gtn$2k7$1@news.trigofacile.com> <kr9ldj$ts1$1@matrix.darkstorm.co.uk> <kr9nil$9r1$1@news.trigofacile.com> <kr9rba$6b0$1@matrix.darkstorm.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-652-1-190-49.w86-218.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 6 Jul 2013 20:03:04 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-652-1-190-49.w86-218.abo.wanadoo.fr:86.218.77.49"; logging-data="15947"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; In-Reply-To: <kr9rba$6b0$1@matrix.darkstorm.co.uk> Lines: 40 X-Original-Bytes: 3179