🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76258

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

#76258
From: Maurice Janssen
Date: Thu, 02 Aug 2007 18:23
48 lines
3491 bytes
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.
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.

-- 
Maurice
Technical Details
Message-ID: <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!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!feeder.z74.net!news.z74.net!reader.z74.net!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>

Show Full Headers
Complete Article Headers
Message-ID: <f8t7f9$gur$1@saturn.z74.net>
Subject: Re: INN breaks on startup - newbie needs help 8-(
Date: Thu, 02 Aug 2007 18:23:37 +0000
From: Maurice Janssen <mauricej@xs4all.nl>
References: <glen42-980F4B.13503802082007@johnf2.biosci.ohio-state.edu> <f8t5o6$7f9$1@saturn.z74.net> <glen42-B7BBB9.14130302082007@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!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!feeder.z74.net!news.z74.net!reader.z74.net!not-for-mail
Newsgroups: news.software.nntp
Organization: z74.net
Lines: 48
Sender: Maurice Janssen <maurice@lyra.z74.net>
NNTP-Posting-Host: lyra.z74.net
X-Trace: saturn.z74.net 1186079017 17371 2001:888:19a8:1::3 (2 Aug 2007
X-Complaints-To: abuse@z74.net
NNTP-Posting-Date: Thu, 2 Aug 2007 18:23:37 +0000 (UTC)
X-GPG-KeyID: 1024D/B76C96D0
X-GPG-Fingerprint: AE3C 392A AC95 74EB 61A4 4764 DE3E 6BAD B76C 96D0
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX)
 (Linux/2.6.9-55.0.2.EL.XOS.1 (x86_64))