Bug 891 - /etc/inetd.conf contains bogus entry for time protocol
/etc/inetd.conf contains bogus entry for time protocol
Status: CLOSED DUPLICATE of bug 1725
Product: Red Hat Linux
Classification: Retired
Component: intimed (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
: 1023 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-01-20 10:33 EST by tschenk
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-03-24 09:20:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description tschenk 1999-01-20 10:33:03 EST
/etc/inetd.conf contains the following two lines:

time   stream  tcp     nowait  nobody  /usr/sbin/tcpd
in.timed
time   dgram   udp     wait    nobody  /usr/sbin/tcpd
in.timed

This is incorrect for at least the following two reasons.

1.  in.timed should be running continuously if it is running
    at all.  It is not a on demand service, like telnet, but
    rather an active service like xntpd.
2.  The time protocol is built into inetd, just like daytime
    and chargen.

/etc/inetd.conf should have the two lines shown above taken
out and these two lines should be added:

time    stream  tcp     nowait  root    internal
time    dgram   udp     wait    root    internal

This mistake is in all versions that I have checked between
RedHat 4.2 and 5.2.

Tom Schenk
Systems Administrator
Deja News, Inc.
Comment 1 tschenk 1999-01-20 16:38:59 EST
Reason 3 for the current entry being incorrect.

3.  in.timed doesn't talk time protocol.  It talks timed protocol.
Comment 2 seva 1999-01-21 12:44:59 EST
while we are at it, why is gopher still there?
Comment 3 Jeff Johnson 1999-02-02 09:35:59 EST
*** Bug 1023 has been marked as a duplicate of this bug. ***

UDP time requests to RH Linux systems (including 4.2, 5.0
and 5.1) fail. The symptoms are that no time is returned and
inetd reports "time/udp server failing (looping), service
terminated".

This turns out to be due to an error in inetd.conf.  The
time daemon in.timed is not suitable for handling udp
requests; however inetd provides an internal handler.
Therefore replacing the line:
time   dgram   udp     wait    nobody  /usr/sbin/tcpd
in.timed
with:
time    dgram   udp     wait    root    internal

gives the correct behaviour.

Peter

------- Additional Comments From ayn2@cornell.edu  02/02/99 01:49 -------
This is a duplicate of the report #891
Comment 4 Jeff Johnson 1999-02-11 13:35:59 EST
This problem has been fixed in Raw Hide.
Comment 5 Jeff Johnson 1999-03-24 09:20:59 EST
*** This bug has been marked as a duplicate of 1725 ***

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