🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83123

Re: inn on ARM cpu

#83123
From: Dave H
Date: Fri, 18 Jun 2010 22:03
41 lines
3090 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message 
news:87aaqs117j.fsf@windlord.stanford.edu...
> "Dave H" <pepedog@pepedog.com> writes:
>
>> I have compiled inn 2.5.2 on this plugbox with a Kirkwood cpu, but it
>> won't start on port 119 (or any port below 1024) as user news, but will
>> as root.
>
> Did you do make install as root?  Or, asked another way, is innbind
> installed setuid root?  It has to be in order to bind to port 119.
>
>> I have installed inn many times, either with RPM or compiling, but never
>> had trouble.
>> With this compile, had to remove gnu next to linker in Makefile.global, 
>> thus
>> PYTHON_LIBS = -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl
>> -lutil -lm -Xlinker -export-dynamic -Wl,--as-needed
>> and it all seems to run fine, except the news/119 issue.
>
> What "gnu" are you referring to?  What was the original line, in other
> words?


Compiled as using user news (logged in as root), I make install(d) as root.
I even changed (experimentally) whole bin directory to root:root
Checked innbind and setuid not setuid.
Changed and still not running on 119
Jun 18 15:00:02 pogo innd: cannot exec innbind for 0.0.0.0,119: Permission 
denied
Jun 18 15:00:02 pogo innd: innbind returned no output, assuming failure
Jun 18 15:00:02 pogo innd: innbind failed for 0.0.0.0,119
Jun 18 15:00:02 pogo innd: SERVER cant listen on any sockets

The line was-
PYTHON_LIBS 
= -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl -lutil -lm -Xlinker 
gnu -export-dynamic -Wl,--as-needed

Thanks
Dave
Technical Details
Message-ID: <hvgqfh$93u$1@news.eternal-september.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail
References: <hvgo3d$k0k$1@news.eternal-september.org> <87aaqs117j.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <hvgqfh$93u$1@news.eternal-september.org>
Subject: Re: inn on ARM cpu
Date: Fri, 18 Jun 2010 23:03:31 +0100
From: "Dave H" <pepedog@pepedog.com>
References: <hvgo3d$k0k$1@news.eternal-september.org> <87aaqs117j.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient Spider
Lines: 41
Reply-To: "Dave H" <pepedog@pepedog.com>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 18 Jun 2010 22:03:29 +0000 (UTC)
Injection-Info: mx02.eternal-september.org;
 posting-host="I9QDpDZyX/Jtd3WR3ZN/mA";
 logging-data="9342"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/FinXaZBty3Ox5h4yQVlQD"
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197
In-Reply-To: <87aaqs117j.fsf@windlord.stanford.edu>
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
Cancel-Lock: sha1:DLHStQ7abZjmMKWcre+4M9V7SkM=
X-MSMail-Priority: Normal