[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox 0005874]: tftpd fails to start with error "stdin is
From:       walter harms <wharms () bfs ! de>
Date:       2008-10-31 8:55:34
Message-ID: 490AC806.2020307 () bfs ! de
[Download RAW message or body]



Denys Vlasenko schrieb:
> On Thursday 30 October 2008 18:00, walter harms wrote:
>> it should also be added to kconfig info text.
>>
>> we should think about some cleaning of kconfig,
>> putting daemons and clients in different dirs etc.
>>
>> re,
>>  wh
>>
>>
>> Vladimir Dronnikov schrieb:
>>>> 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
>>>
>>> It is meant to be run by means of ipsvd, e.g:
>>> # udpsvd -E localhost 69 tftpd /home/tftpd -u tftp -c
>>>
>>> This, certainly, should be reflected in usage.h
> 
> Like this?
> 
> $ 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
> 

IMHO
"tftpd should be used as an inetd service."
this is ok for -h (say last warning)
maybe instead of the error msg ?
 ftpd: stdin is not a socket: Socket operation on non-socket
is that possible ?? (i would be more helpful at least)

and the rest should go to the help text.

" 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
"

re,
 wh

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic