Bug 14836 - xinetd fails on restart if "bind" directive used
xinetd fails on restart if "bind" directive used
Product: Red Hat Raw Hide
Classification: Retired
Component: xinetd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Depends On:
  Show dependency treegraph
Reported: 2000-07-29 04:58 EDT by Reuben Farrelly
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-29 04:58:44 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 Reuben Farrelly 2000-07-29 04:58:43 EDT
I am currently running xinetd- and have noticed a problem if 
I restart xinetd after having used the "bind" directive in a startup file 
as shown below:

bind                    =

xinetd does not seem to like being stopped and started so quickly, and 
this message appears in the log:

Jul 29 16:01:52 tornado xinetd[7563]: bind failed (Address already in use 
(errno = 98)). service = imap

The service then fails to listen on the nominated port (in this case 143).

I've worked around the problem by stopping xinetd and starting it a few 
seconds later.

Maybe some sort of sleep statement in the /etc/rc.d/init/xinetd script 
would also fix this?
Comment 1 Trond Eivind Glomsrxd 2000-07-29 13:58:17 EDT
The current package uses runs with the "-reuse" flag, which should solve the
Comment 2 Reuben Farrelly 2000-07-31 10:26:36 EDT
You are of course correct that this is the way the latest xinetd is configured, 
however the problem persists despite that, and I still need to manually shut 
down and restart xinetd in order to solve the problems with interface binding 
as I originally described...
Comment 3 Trond Eivind Glomsrxd 2000-07-31 10:58:37 EDT
I can't reproduce this - please try beta5, and reopen if still a problem.

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