BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005874 [BusyBox] Networking Support major always 10-30-08 08:25 10-30-08 16:43
Reporter kcleung View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.12.x
Summary 0005874: 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
Additional Information I am using busybox compiled from buildroot, with no custom patches applied other than whatever buildroot may have patched in.
Attached Files

- Relationships

- Notes
(0014694)
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
10-30-08 16:43 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker