🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76268

Re: INN breaks on startup - newbie needs help 8-(

#76268
From: Glen Bradley
Date: Thu, 02 Aug 2007 18:50
74 lines
4031 bytes
In article <f8t7f9$gur$1@saturn.z74.net>,
 Maurice Janssen <mauricej@xs4all.nl> wrote:

> On Thu, 02 Aug 2007 14:13:03 -0400, Glen Bradley wrote:
> >In article <f8t5o6$7f9$1@saturn.z74.net>,
> > Maurice Janssen <mauricej@xs4all.nl> wrote:
> >
> >> On Thu, 02 Aug 2007 13:50:38 -0400, Glen Bradley wrote:
> >> >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.
> >> 
> >> I have no experience with Mac OS, so this is a long shot.  Maybe your
> >> /usr/local partition is mounted with the nosuid option?
> >
> >I...actually wouldn't know.  I'm a bit of a newbie when it comes to all 
> >things Unix, although I'm a quick learner, and I didn't even know such a 
> >thing as you just mentioned was possible.
> >
> >So if /usr/local/ were in fact mounted with the nosuid option, then 
> >wouldn't individual files in the directory not show up as owned by root?  
> 
> This option has no effect on the permissions you see with ls.  It's just
> the kernel that refuses to run suid programs when they are run from
> partitions with that option.
> 
> >I had actually JUST enabled a root password, and installed as root just 
> >for the INN install, and then backed out to news to build the DB files.
> >
> >How would I check such a thing as nosuid on the /usr/local/ partition, 
> >and how would I change such a thing without wiping the data on it?
> 
> Take a look at /etc/fstab or run 'mount' without any options.  If you
> see nosuid on the line with your /usr/local partition, then I think you
> found the cause of your problem.

HAHAHA!  Silly Darwin!  Here is what /etc/fstab contained:

IGNORE THIS FILE.
This file does nothing, contains no useful data, and might go away in
future releases.  Do not depend on this file or its contents.


and here is what 'mount' reported:

news% mount
/dev/disk0s2 on / (local, journaled)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol
automount -nsl [156] on /Network (automounted)
automount -fstab [187] on /automount/Servers (automounted)
automount -static [187] on /automount/static (automounted)


Which tells me that Darwin is using an unconventional setup here...

> The fix is easy: remove the nosuid in /etc/fstab, umount it and mount
> again.  (Or just reboot if it complains that the device is busy.)
> 
> (I'm asuming that Mac OS has an /etc/fstab to begin with...)
> 
> >And finally, when I tried installing onto /users/news/ (the MacOS 
> >default user path) it gave me the exact same error.
> 
> Hmm.  Perhaps it's also mounted nosuid, or perhaps I'm looking in the
> wrong place.  Anyway, the output of 'mount' should make this clear.

I'm going to try to wipe the existing install again, and chmod to 4550 
from the su per Frank's suggestion, so it may take a twirl of time, but 
I'll let you know how it turned out one way or the other...
Technical Details
Message-ID: <glen42-3C9D1F.14502302082007@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!post01.iad01!roadrunner.com!not-for-mail
References: <glen42-980F4B.13503802082007@johnf2.biosci.ohio-state.edu> <f8t5o6$7f9$1@saturn.z74.net> <glen42-B7BBB9.14130302082007@johnf2.biosci.ohio-state.edu> <f8t7f9$gur$1@saturn.z74.net>

Show Full Headers
Complete Article Headers
Message-ID: <glen42-3C9D1F.14502302082007@johnf2.biosci.ohio-state.edu>
Subject: Re: INN breaks on startup - newbie needs help 8-(
Date: Thu, 02 Aug 2007 14:50:23 -0400
From: Glen Bradley <glen42@gmail.com>
References: <glen42-980F4B.13503802082007@johnf2.biosci.ohio-state.edu> <f8t5o6$7f9$1@saturn.z74.net> <glen42-B7BBB9.14130302082007@johnf2.biosci.ohio-state.edu> <f8t7f9$gur$1@saturn.z74.net>
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!post01.iad01!roadrunner.com!not-for-mail
Newsgroups: news.software.nntp
Organization: None
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Lines: 74
X-Complaints-To: abuse@rr.com