Bug 190883

Summary: rdate does not work with udp packets
Product: [Fedora] Fedora Reporter: István Tóth <stoty>
Component: rdateAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5CC: dfediuck
Target Milestone: ---Flags: wtogami: fedora-cvs+
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-10 16:58:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description István Tóth 2006-05-05 21:49:20 UTC
Description of problem:

If I try to use an rfc868 time server in udp mode ( in this case the the time
server is the one bundled in xinetd in fc5, running on the same host),
rdate exits with error. Rdate works fine in tcp mode.


Version-Release number of selected component (if applicable):
rdate-1.4-4.2.1

How reproducible:


Steps to Reproduce:
1. enable time-udp, stop iptables
2. rdate -u localhost
3.
  
Actual results:
rdate displays:
rdate: error in read: Invalid argument

Expected results:
rdate displays time


Additional info:

The problem is probably in the client, and not the server, because other devices
can successfully use the udp time service, and an ethereal dump shows a valid
packet sent back to client.

The same test works on a Centos4 server perfectly.

Comment 1 Jiri Moskovcak 2007-07-09 13:07:48 UTC
Package Change Request
======================
Package Name: rdate
Updated Fedora Owners: jmoskovc

Comment 2 István Tóth 2007-07-10 07:58:04 UTC
I've retested with Fedora 7 x86_64, and the bug is fixed there.

I do not have access to an F7 i386 machine to test, unfortunately.


Comment 3 Jiri Moskovcak 2007-07-10 16:58:49 UTC
Fixed in rawhide.