Bug 92260 - Error in manpage for xinetd.conf
Error in manpage for xinetd.conf
Product: Red Hat Linux
Classification: Retired
Component: xinetd (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jay Fenlason
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2003-06-04 05:47 EDT by ingvar
Modified: 2014-08-31 19:25 EDT (History)
1 user (show)

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

Attachments (Terms of Use)

  None (edit)
Description ingvar 2003-06-04 05:47:37 EDT
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):

How reproducible:

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 10:38:56 EDT
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.