Bug 57562
Summary: | tftp-server fails to send file on the form host:file | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Frode Tennebø <frodet> |
Component: | tftp | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-12-18 20:28:29 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
Frode Tennebø
2001-12-15 21:21:44 UTC
I believe this is a bug in the client. Here's the patch I made: --- ./main.c.sopwith Tue Dec 18 15:32:16 2001 +++ ./main.c Tue Dec 18 15:37:13 2001 @@ -162,6 +162,7 @@ fprintf(stderr, "tftp: udp/tftp: unknown service\n"); exit(1); } + port = sp->s_port; f = socket(AF_INET, SOCK_DGRAM, 0); if (f < 0) { perror("tftp: socket"); Darn. It solves the bug but in the wrong place. :/ It does not explain why my X-terminal won't download from the tftp-server...... Perhaps you can tell me why tftpd won't log anything to syslog? I have the following line in /etc/syslog: authpriv.* /var/log/secure But the only thing that gets logged is: Dec 18 23:03:51 leia xinetd[7121]: START: tftp pid=25551 from=10.0.0.10 It turned out that one of the ports on my hub was broken. However, I still don't get syslog-ed the precompiled tftpd. It works with my own compiled version, but that one won't transfer any files. Mighty strange.....I need to investigate some more if you don't have any hints....? |