🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76255

INN breaks on startup - newbie needs help 8-(

#76255
From: Glen Bradley
Date: Thu, 02 Aug 2007 17:50
95 lines
3552 bytes
OK, so I am having buckets of trouble here.

I am running an Intel MacBook w Mac OS 10.4.10


First off, I install INN on my local machine (I had been running DNEWS, 
but needed the functionality of SUCK) with all the defaults.  Everything 
installs GREAT!  Follow instructions to the letter and get all the way 
down to executing ~/rc.news



news$ /usr/local/news/bin/rc.news
Starting innd.
inndstart: can't setgroups (is inndstart setuid root?): Operation not 
permitted
inndstart: can't seteuid to 0: Operation not permitted
Scheduled start of /usr/local/news/bin/innwatch.



so, is inndstart setuid root?  well, yes, it is:

news$ ls -l /usr/local/news/bin/inndstart
-r-xr-x---   1 root  news  102132 Aug  2 11:48 
/usr/local/news/bin/inndstart




So I'm banging my head, I did everything I knew how to tell the thing 
that inndstart belonged to root, and the group news.

I mean, obviously my ls -l SAYS it's permissions were where they 
belonged...  

so I try wiping the install and trying again in the actual users home 
directory the way Mac OS 10.4 is set up:



news$ /users/news/bin/rc.news 
Starting innd.
inndstart: can't setgroups (is inndstart setuid root?): Operation not 
permitted
inndstart: can't seteuid to 0: Operation not permitted
Scheduled start of /users/news/bin/innwatch.



Are the ownerships REALLY wrong?  no:

ls -l /users/news/bin/inndstart
-r-xr-x---   1 root  news  102085 Aug  2 12:11 /users/news/bin/inndstart



OK, so now I'm just tearing my hair out.  Bear in mind that there were 
at least 10 attempts behind EACH of the cut&paste's above.  Only thing I 
can figure, is that maybe MacOS reports it's permissions differently and 
so no matter that the permissions were RIGHT, it wouldn't accept that 
fact.



OK, so I clear out the install once again to start from scratch.  Only 
this time I go into inndstart.c and comment out the bit where it 
verifies root/news permissions before continuing, I did this PRIOR to 
compiling, since I knew my permissions were right before, only it 
wouldn't start.

Once again everything goes great.  and again I get all the way down to 
the rc.news bit and here is what I get:


news% /usr/local/news/bin/rc.news
Starting innd.
/usr/local/news/bin/rc.news: line 1:  2563 Bus error               
/usr/local/news/bin/inndstart

news% /usr/local/news/bin/rc.news
Starting innd.
/usr/local/news/bin/rc.news: line 1:  2627 Bus error               
/usr/local/news/bin/inndstart

news% /usr/local/news/bin/rc.news
Starting innd.
/usr/local/news/bin/rc.news: line 1:  2783 Bus error               
/usr/local/news/bin/inndstart


Now I don't even know where to start on this one.  Can anybody help a 
poor lost soul?

Many many thanks  8-)
Technical Details
Message-ID: <glen42-980F4B.13503802082007@johnf2.biosci.ohio-state.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <glen42-980F4B.13503802082007@johnf2.biosci.ohio-state.edu>
Subject: INN breaks on startup - newbie needs help 8-(
Date: Thu, 02 Aug 2007 13:50:38 -0400
From: Glen Bradley <glen42@gmail.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mail
Newsgroups: news.software.nntp
Organization: None
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Lines: 95
X-Complaints-To: abuse@rr.com