[BusyBox 0005874]: tftpd fails to start with error "stdin is not a socket: Socket operation on non-socket"

bugs at busybox.net bugs at busybox.net
Thu Oct 30 23:43:38 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=5874 
====================================================================== 
Reported By:                kcleung
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   5874
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-30-2008 08:25 PDT
Last Modified:              10-30-2008 16:43 PDT
====================================================================== 
Summary:                    tftpd fails to start with error "stdin is not a
socket: Socket operation on non-socket"
Description: 
In busybox 1.12.1, tftpd fails to start no matter what combination of
options are used. The following error is always shown:

# /usr/bin/tftpd /
tftpd: stdin is not a socket: Socket operation on non-socket

====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-30-08 16:43  
---------------------------------------------------------------------- 
Fixed in rev.23866 by expanding the help text:

$ busybox tftpd --help
BusyBox v1.13.0.svn (2008-10-29 04:32:05 CET) multi-call binary

Usage: tftpd [-cr] [-u USER] [DIR]

Transfer a file on tftp client's request.

tftpd should be used as an inetd service.
tftpd's line for inetd.conf:
        69 dgram udp nowait root tftpd tftpd /files/to/serve
It also can be ran from udpsvd:
        udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve

Options:
        -r      Prohibit upload
        -c      Allow file creation via upload
        -u      Access files as USER 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-30-08 08:25  kcleung        New Issue                                    
10-30-08 08:25  kcleung        Status                   new => assigned     
10-30-08 08:25  kcleung        Assigned To               => BusyBox         
10-30-08 16:43  vda            Note Added: 0014694                          
10-30-08 16:43  vda            Status                   assigned => closed  
======================================================================




More information about the busybox-cvs mailing list