Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30461 - tftp-hpa 0.34 has tftpd and in.tftpd swapped
Summary: tftp-hpa 0.34 has tftpd and in.tftpd swapped
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 20:33 UTC by Paul Komarek
Modified: 2005-07-29 23:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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