🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27047

innd 1.7.2+insync1d and psychotic system calls.

#27047
From: Stig Sandbeck Mathisen
Date: Fri, 20 Mar 1998 00:00
71 lines
3390 bytes

Innd does some psychotic system calls (fstat(-1 [...])), then exits as
if nothing had happened.

The box is an ultra 1 running solaris 2.6, newly installed.

The server is inn 1.7.2 downloaded from insync.  Stock 1.7.2
downloaded from ISC also gives me the same error.

I've tried using the sample config for solaris from inn 1.7.2, and
from 1.5.1.  nnrpd starts perfectly, it's just innd that won't start.
I did a truss, and the relevant (?) things is included here.

Have anyone experienced this, and does anyone have a pointer to where
the error may be?



readme$ su root -c "truss ./inndstart -r -i0"
Password: 
execve("./inndstart", 0xEFFFFE18, 0xEFFFFE28)  argc = 3
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3

 [snip loading libraries]

munmap(0xEF7A0000, 8192)                        = 0
brk(0x000216C8)                                 = 0
brk(0x000236C8)                                 = 0
fstat(-1, 0xEFFFF700)                           Err#9 EBADF
open("/dev/conslog", O_WRONLY)                  = 3

 [snip stat the 'run'-directory, and SUID/SGID]
 
 [snip open more libraries]

munmap(0xEF720000, 8192)                        = 0
brk(0x00151E00)                                 = 0
brk(0x00152000)                                 = 0
brk(0x00152800)                                 = 0
brk(0x00152800)                                 = 0
brk(0x00153000)                                 = 0
brk(0x00153000)                                 = 0
brk(0x00153800)                                 = 0
fstat(-1, 0xEFFFFBD0)                           Err#9 EBADF
open("/dev/conslog", O_WRONLY)                  = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat(3, 0xEFFFFBD0)                            = 0
chdir("/local/news/servers/readme/spool/articles") = 0
open("/local/news/servers/readme/etc/inn.conf", O_RDONLY) = 5
fstat64(5, 0xEFFFFA80)                          = 0
brk(0x00153800)                                 = 0
brk(0x00157800)                                 = 0
ioctl(5, TCGETA, 0xEFFFFA0C)                    Err#25 ENOTTY
read(5, " # #     $ R e v i s i o".., 8192)     = 838
llseek(5, 0xFFFFFFFFFFFFFFE6, SEEK_CUR)         = 812
close(5)                                        = 0
open("/dev/null", O_RDWR)                       = 5
fcntl(5, F_DUP2FD, 0x00000000)                  = 0
close(5)                                        = 0
umask(02)                                       = 022
stat("/local/news/servers/readme/run", 0xEFFFFBC0) = 0
setgid(72)                                      = 0
fork()                                          = 29231
_exit(0)

-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend

Technical Details
Message-ID: <87emzx1gre.peek-a-boo@dream.nextel.no>
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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <87emzx1gre.peek-a-boo@dream.nextel.no>
Subject: innd 1.7.2+insync1d and psychotic system calls.
Date: Fri, 20 Mar 1998 00:00:00 +0000
From: Stig Sandbeck Mathisen <ssm@rlyeh.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.mbox.zip!not-for-mail
X-Deja-AN: 335960624
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Organization: R'Lyeh Elder Networks
Newsgroups: news.software.nntp