Article View: news.software.nntp
Article #85756Re: pullnews (Debian Wheezy, inn2-lfs) broken?
From: Julien ÉLIE
Date: Fri, 05 Jul 2013 21:14
Date: Fri, 05 Jul 2013 21:14
49 lines
2948 bytes
2948 bytes
Hi Tony,
> When I try and use pullnews, as a regular user, the script believes it's
> running as 'news', and so fails, because a) it can't create locks in
> /usr/lib/news, and it can't find the .pullnews file (because it's
> looking in /usr/lib/news, not /home/user).
http://www.eyrie.org/~eagle/software/inn/docs-2.5/pullnews.html
This is what the "-c" flag is for.
> Has something changed intentionally since the Squeeze release of INN, or
> is this broken behaviour? I wouldn't expect to have to run pullnews as
> the news user only?
Maybe it is linked to the change of how $HOME is dealt with in INN
2.5.3. Note that innshellvars*.local files are now possible.
Please also have a look at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584234
> tony@matrix:~$ /usr/lib/news/bin/pullnews -k 100 -r uk.net -g uk.net
You should add "-c /path/to/pullnews.marks".
> Use of uninitialized value $opt_H in lc at /usr/lib/news/bin/pullnews line 212.
> shlock: shlock: Can't open "shlock26783", Permission denied: Permission denied
> cannot create lockfile /usr/lib/news/.pullnews.pid
Probably a new warning in the latest version of Perl. I will have a look.
> I'm sure I've run pullnews as a non-news user in Squeeze, but maybe that
> was working by luck rather than design?
$ENV{HOME} is where pullnews looks at, in INN 2.5.x.
This behaviour will change to <pathdb> in INN 2.6.0.
--
Julien ÉLIE
« Et vous allez reprendre votre bateau… Et, mergitur ou pas,
fluctuat ! Compris ! Fluctuat ! » (Goudurix)
Technical Details
Message-ID:
<kr7cuv$oo0$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!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-652-1-190-49.w86-218.abo.wanadoo.fr!not-for-mailReferences:
<kr6ff5$dga$2@trinity.darkstorm.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <kr7cuv$oo0$1@news.trigofacile.com> Subject: Re: pullnews (Debian Wheezy, inn2-lfs) broken? Date: Fri, 05 Jul 2013 23:14:07 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <kr6ff5$dga$2@trinity.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!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder4.news.weretis.net!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: Fri, 5 Jul 2013 21:14:07 +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="25344"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; In-Reply-To: <kr6ff5$dga$2@trinity.darkstorm.co.uk> Lines: 48 X-Original-Bytes: 2714