Bug 92260 - Error in manpage for xinetd.conf
Summary: Error in manpage for xinetd.conf
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xinetd   
(Show other bugs)
Version: 9
Hardware: All Linux
medium
low
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-04 09:47 UTC by ingvar
Modified: 2014-08-31 23:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-04 14:38:56 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description ingvar 2003-06-04 09:47:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516
Mozilla Firebird/0.6

Description of problem:
Following the manpage of xinetd.conf, the variable "instances" has an unlimited
value if not set. This is certainly untrue. With telnet for example, you reach a
maximum of 60 parallell telnet sessions, and then xinetd prohibits login.

Setting 'instances = UNLIMITED' solves the problem, but the manpage says this is
not necessary.

This has been reported earlier, already in RedHat 7.1, see bug 78074

Version-Release number of selected component (if applicable):
xinetd-2.3.11-1.9.0

How reproducible:
Always

Steps to Reproduce:
1.Enable telnetd from /etc/xinetd.d/telnet
2.Fire some telnet sessions (more than 60) and look in /var/log/secure
3.Read xinetd.conf(5) and scratch head
    

Actual Results:  From /var/log/secure:
xinetd[...]: fail: telnet service_limit from=ip ...

Server disconnects
xinetd.conf manpage lies

Expected Results:  xinetd.conf should provide accurate information about the
'instances' configuration item.

Additional info:

This is an old bug that's easy to fix. Just do it. Even better: Include the
following line to the standard xinetd.d files:

instances = UNLIMITED

Comment 1 Jay Fenlason 2003-06-04 14:38:56 UTC
Did you remove the "instances = 60" from /etc/xinetd.conf ?  The man page
describes xinetd's default behavior, but /etc/xinetd.conf and the files in
/etc/xinetd.d naturally override it.  /etc/xinetd.conf sets "instances = 60" and
"cps = 25 30", among other defaults.

These defaults are clearly not appropriate for all environments.  For all of my
machines, they're an order of magnititude too high.  For other environments
they're too low.  Nothing will suit everyone.




Note You need to log in before you can comment on or make changes to this bug.