🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36448

setrlimit(RLIMIT_STACK, RLIM_INFINITY) error in INN 1.7.2 errlog (on RH5.2)

#36448
From: Mark Walter
Date: Sun, 11 Apr 1999 00:00
29 lines
1699 bytes
My errlog for INN 1.7.2 on RH5.2 is showing the following errors:

/usr/lib/news/bin/startinnfeed: setrlimit(RLIMIT_STACK, RLIM_INFINITY):
Operation not permitted
/usr/lib/news/bin/startinnfeed: setrlimit(RLIMIT_NOFILE, RLIM_INFINITY):
Operation not permitted

I found a man entry for setrlimit and read that a possible error for this
call may be if "...a non-superuser tries to use setrlimit() to increase the
soft or hard limit above the current hard limit..."

Assuming this to be the case, I checked the user and group of startinnfeed
and found that the user for startinnfeed is root and the group is news.  Of
course, I suppose startinnfeed could have been started in some other
security context via su in a startup script.

I checked the errata for RH5.1 and there were some startinnfeed fixes but
nothing for RH5.2.  Also, I read about some bug relating to setrlimit in
older versions of the kernel (<=2.0.29) but I haven't read about anything in
this regard for my particular kernel (2.0.36)

Does anyone have any ideas?

Thanks,
Mark



Technical Details
Message-ID: <7er2ol$qtg$1@news1.guiware.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!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <7er2ol$qtg$1@news1.guiware.com>
Subject: setrlimit(RLIMIT_STACK, RLIM_INFINITY) error in INN 1.7.2 errlog (on RH5.2)
Date: Sun, 11 Apr 1999 00:00:00 +0000
From: "Mark Walter" <mark@guiware.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!not-for-mail
X-Deja-AN: 465244515
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: GUIware, Bellevue WA, USA
X-MSMail-Priority: Normal
Newsgroups: news.software.nntp