🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69015

Re: Weird pgpverify problem

#69015
From: Russ Allbery
Date: Tue, 20 Apr 2004 19:57
21 lines
2233 bytes
Mike Zanker <not-for-mail@zanker.org> writes:
> Mike Zanker <not-for-mail@zanker.org> wrote:

>> So it looks like it works outside INN but not inside. I wonder if
>> setting GNUPGHOME in INN's startup script might help?

> Doing a "ps -e e" shows that HOME=/usr/lib/news for the running
> controlchan process whereas the user "news" home directory (in
> /etc/passwd) is /etc/news. I've copied .gnupg from /etc/news to
> /usr/lib/news to see if this will fix it.

pgpverify also has some logic for setting the path to the keyring in the
script; you may want to take a look at that and see if you can use it.
(It will probably expect the keyring to be in something like /etc/news/pgp
depending on the paths used by your installation.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87smeyjucb.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news3.optonline.net!newsfeed.telusplanet.net!newsfeed.telus.net!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <c63g70$ii1$1@mallard.zanker.org> <87hdveld0i.fsf@windlord.stanford.edu> <Xns94D1C9384746Cmikezankerorg@217.169.19.66> <c63sdi$oal$1@mallard.zanker.org>

Show Full Headers
Complete Article Headers
Message-ID: <87smeyjucb.fsf@windlord.stanford.edu>
Subject: Re: Weird pgpverify problem
Date: Tue, 20 Apr 2004 12:57:24 -0700
From: Russ Allbery <rra@stanford.edu>
References: <c63g70$ii1$1@mallard.zanker.org> <87hdveld0i.fsf@windlord.stanford.edu> <Xns94D1C9384746Cmikezankerorg@217.169.19.66> <c63sdi$oal$1@mallard.zanker.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news3.optonline.net!newsfeed.telusplanet.net!newsfeed.telus.net!cyclone.bc.net!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 21
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1082491044 2001 171.64.19.147 (20 Apr 2004 19:57:24
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:43klTRBLwvLRlUKFT2zhtEky6i8=