Article View: news.software.nntp
Article #85755pullnews (Debian Wheezy, inn2-lfs) broken?
From: Tony
Date: Fri, 05 Jul 2013 12:50
Date: Fri, 05 Jul 2013 12:50
37 lines
2508 bytes
2508 bytes
I've used pullnews in the past on Debian Squeeze, and had a reason to use it again today, which is the first time since upgrading to Wheezy (and replacing inn2 with inn2-lfs). 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). I copied the file to my own home directory, removed all references to the INN perl modules, INN::Config and INN::Utils::Shlock; and it runs fine (obviously, without any locking). 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? FYI, here's the failure, tony@matrix:~$ /usr/lib/news/bin/pullnews -k 100 -r uk.net -g uk.net 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 I'm sure I've run pullnews as a non-news user in Squeeze, but maybe that was working by luck rather than design? -- Tony Evans Saving trees and wasting electrons since 1993 blog -> http://perceptionistruth.com/ books -> http://www.bookthing.co.uk/ [ anything below this line wasn't written by me ]
Technical Details
Message-ID:
<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!goblin3!goblin.stu.neva.ru!matrix.darkstorm.co.uk!trinity.darkstorm.co.uk!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <kr6ff5$dga$2@trinity.darkstorm.co.uk> Subject: pullnews (Debian Wheezy, inn2-lfs) broken? Date: Fri, 05 Jul 2013 12:50:45 +0000 From: Tony <tony@darkstorm.invalid> 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!goblin3!goblin.stu.neva.ru!matrix.darkstorm.co.uk!trinity.darkstorm.co.uk!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Nothing Nefarious Lines: 37 Reply-To: Tony <tony@darkstorm.co.uk> NNTP-Posting-Host: qMPbJrmGWs+fmnCOZ7sqtG+wHJ/xPuTb35GcTk6KVTQ= X-Trace: trinity.local iFXtREmCezbiwTcOibWdLPxZ5DqQWxvRmUWHhhie84I=== X-Complaints-To: abuse@matrix.darkstorm.co.uk NNTP-Posting-Date: Fri, 5 Jul 2013 12:50:45 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) X-User-ID: rcu/cnyLAPo5+B90FPaPFTOxyRS5oyokcXeG2iukZns= X-Original-Bytes: 2247