🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10874

Re: Slackware vs nn: 'You need a fully qualified domain name'?

#10874
From: Aaron W. Hsu
Date: Sun, 11 Jan 2009 05:34
27 lines
2747 bytes
andrew <andrew@skamandros.invalid> writes:

>Has anybody found a resolution to the demands by nn for a fqdn under
>slackware when one is already set. I have used an elaborate script to
>keep /etc/resolv.conf updated and nn content but there must be a better
>way?

Normally this isn't a problem because you can work around it, but 
if I recall correctly, I got around it by editing my hostname value 
such that it would return a full domain rather than just the first 
part of the domain.  I think this was easiest for me.  The main issue 
is just getting hostname(1) to give out the full name when you 
run it without commands.  If you can do that, I think NN behaves. 

IIRC, this has to do with the way NN and gethostname() work or some 
such thing.  In normal UNIX, the full domain name is returned, whereas 
in Linux/Slackware, only the first part of the name is returned. 

There are easy solutions to this problem, but for the life of me, I 
do not remember them.  It has been too long since I worked on it.


-- 
Aaron W. Hsu <arcfide@sacrideo.us> | <http://www.sacrideo.us>
"Government is the great fiction, through which everybody endeavors to
live at the expense of everybody else." -- Frederic Bastiat
+++++++++++++++ ((lambda (x) (x x)) (lambda (x) (x x))) ++++++++++++++
Technical Details
Message-ID: <PY6dnYPLf79sGfTUnZ2dnUVZ_uOdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.46.134.MISMATCH!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <20090103153203.209@skamandros.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <PY6dnYPLf79sGfTUnZ2dnUVZ_uOdnZ2d@giganews.com>
Subject: Re: Slackware vs nn: 'You need a fully qualified domain name'?
Date: Sat, 10 Jan 2009 23:34:41 -0600
From: Aaron W. Hsu <arcfide@sacrideo.us>
References: <20090103153203.209@skamandros.andrews-corner.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.46.134.MISMATCH!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 10 Jan 2009 23:34:41 -0600
Newsgroups: news.software.nn
Organization: Sacrificum Deo
Reply-To: arcfide@sacrideo.us
User-Agent: nn/6.7.3
Lines: 27
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-hRFdWWL4MAr4qmJ3sL1u5R/pdrlFCahI4/ah3JdqjOWDNZHtAp/fuQsiOy1e50k3csK5dnkycjWaw/O!n74cIEym4RqYJmPb+7EKZBtbuW4h1Mwvw1q/jxNHDQEwT3XSKIXBcV/SdeDAKYypDXct8IS+iHk=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39