On Dec 29, 2014 11:23 AM, "Robert Moskowitz" <rgm@xxxxxxxxxxxxxxx> wrote:
>
>
> On 12/29/2014 12:55 PM, Pete Travis wrote:
>>
>>
>> On Dec 29, 2014 10:18 AM, "Robert Moskowitz" <rgm@xxxxxxxxxxxxxxx> wrote:
>> >
>> > I have two F21 systems on the same subnet. Client and server.
>> >
>> > On the server I created a directory /root/tftp with 777 permissions.
>> >
>> > I have opened up the tftpd service with the firewall gui interface and
>> >
>> > firewall-cmd --zone=public --list-all
>> >
>> > shows services includes tftp (I am assuming here that firewalld knowns that tftp is a udp app)
>> >
>> > The server is running tftpd in foreground under sudo:
>> >
>> > in.tftpd -Lc4pv -s /root/tftp
>> >
>> > The client connects with 'tftp server' and gets tftp> prompt. A status shows the client is connected to the server (thus firewall is allowing connection). But a put fails with 'Transfer timed out'.
>> >
>> > There are no messages logged. I have tried increasing verbosity with 'vvv' but no logging.
>> >
>> > I have even created a file on the server under /root/tftp and tried to 'get' it, which also timed out.
>> >
>> > So what am I missing here?
>> >
>> >
>> > --
>>
>> To turn on tftpd, `systemctl enable tftpd.socket` (and maybe also start the socket)
>>
>> it serves from /var/lib/tftp by default, and files there will have an appropriate selinux label.
>>
>> Not sure about your manually invoked tftpd, but you probably didn't want that long-term anyway :P
>>
>>
>
> Actually, as often as I need tftpd, I DO want it invoked manually. I am doing this on a notebook what has the firmware and config files for the switches. Update the firmware, install the config files. Check that all is well and backup the config files. Then take down tftpd for the next year or so.
>
> So I don't want to run it from inetd.d. The man pages says it CAN be done.
>
> Do I still have to enable it? Is this for selinux's use (perhaps the problem is selinux, but no logging saying so).
>
>
>
> --
Yeah, it can probably be done. I was pointing to a method I know to work, hoping you could get that going and work in your direction from there.
xinetd isn't relevant here anymore, though. systemd gives you socket activation for free, you just have to turn it on.
--Pete
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org