🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68634

INN and core dump

#68634
From: Matthias Wach
Date: Mon, 15 Mar 2004 22:09
52 lines
2412 bytes
i do the following:

1. rename innd to innd-real
2. edit a new "innd" and put the following in it:

#! /bin/bash
# allow core dumps
ulimit -c 100000
# save any output
exec > /usr/local/news/tmp/innd.log 2>&1
# who are we running as, anyway?
id
# show exported environment
export
# start innd (don't forget the arguments, or it will complain)
exec strace -o /usr/local/news/tmp/innd.strace -f -F
/usr/local/news/bin/innd-real "$@"

3. change permission of the new "innd" to 750
4. login as su
5. command: su news -c /usr/local/news/bin/rc.news

this is the result:

bash-2.05$ su
Password:
[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
Starting innd.
--> hangs, no prompt comes

news.err:

Mar 15 15:56:04 salimbo innfeed[1093]: can't seteuid(0): Operation not
permitted
Mar 15 15:56:05 salimbo innd-real: innfeed! exit 1 elapsed 0 pid 1093

this two lines comes a round 300 times.

any suggestions ?







................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Technical Details
Message-ID: <40562984$0$31966$a8266bb1@news.titannews.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.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!hermes.visi.com!news.octanews.net!feed2.news.rcn.net!rcn!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!post01.iad01.newshosting.com!news.titannews.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <40562984$0$31966$a8266bb1@news.titannews.com>
Subject: INN and core dump
Date: Mon, 15 Mar 2004 23:09:50 +0100
From: "Matthias Wach" <webmaster@salimbo.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.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!hermes.visi.com!news.octanews.net!feed2.news.rcn.net!rcn!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!post01.iad01.newshosting.com!news.titannews.com!not-for-mail
Newsgroups: news.software.nntp
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 43
Organization: TITANnews.com - http://www.titannews.com - Every UNCENSORED Newsgroup available. The #1 High-Speed Usenet Service!
X-Comments: Super Retention + Best Speed. Download what YOU want @ www.TITANnews.com !
X-Complaints-To: abuse@titannews.com