Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30461

Summary: tftp-hpa 0.34 has tftpd and in.tftpd swapped
Product: Gentoo Linux Reporter: Paul Komarek <komarek.paul>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: major CC: squinky86, vapier
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Komarek 2003-10-05 20:33:56 UTC
After emerging tftp-hpa I discovered that tftpd expected stuff on stdin (think inetd), and in.tftpd was able to run in "daemon" mode (aka "standalone", "listen").

To check this
1) emerge tftp-hpa
2) start tftpd and check return code: /usr/sbin/tftpd -l -s /tmp; echo $?
3) start in.tftpd and check return code: /usr/sbin/in.tftpd -l -s /tmp; echo $?

tftpd should return 0 if it is the real tftpd and port 69 is not in use.  It will return 71 if port 69 is in use; use -a:<port> to change the listen port.  in.tftpd should return 1 since it doesn't (though nothing would be wrong if it did, IMO) support listen mode.

The opposite happend after emerging version 0.34.  in.tftpd worked with -l, which isn't such a bad thing.  tftpd failed with error 1 because it tried to operate on stdin as if it were a socket (and wrote a semi-mysterious error in /var/log/daemon).

-Paul Komarek
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-15 20:22:00 UTC
it should also be moved into net-ftp
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-12-09 13:00:56 UTC
moved to net-ftp with a new update, but this bug still seems to exist.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-18 02:48:11 UTC
Mass re-assign; this ebuild seems unmaintained.
Comment 4 SpanKY gentoo-dev 2005-07-29 23:29:16 UTC
0.40 is now stable