[BUG] TFTP: No access to subdirectories

Dennis Menschel menschel-d at posteo.de
Sun Sep 3 11:28:43 PDT 2017


Am 03.09.2017 um 14:45 schrieb Antony Pavlov:
> On Sun, 3 Sep 2017 10:49:21 +0200
> Dennis Menschel <menschel-d at posteo.de> wrote:
> 
>> Hello,
>>
>> I've noticed that since barebox version 2017.07.0, accessing files via TFTP only works for files that are located in the root directory of the TFTP server.
>> Accessing files that reside in subdirectories doesn't work anymore.
>> The bug affects both access via /mnt/tftp/ and via the tftp shell command.
>>
>> I've tested the following versions of barebox:
>>
>> - 2017.05.0: works
>> - 2017.06.0: works
>> - 2017.07.0: doesn't work anymore
>> - 2017.08.0: doesn't work anymore
>>
>> Below follows the test scenario I've used to reproduce the bug:
>>
>>
>> Scenario
>> ========
>>
>> For the server, I'm using a Raspberry Pi 2 with:
>> - a DHCP server (isc-dhcp-server) and
>> - a TFTP server (tftpd-hpa).
> 
> I have seen the same problem, please see this message:
> 
> http://lists.infradead.org/pipermail/barebox/2017-July/030587.html
> 
> I use tftpd-hpa too.
> 
> I want to note again that reverting 944bf0e1 ('fixup! fs: Implement links to directories') and
> a602bebc ('fs: Implement links to directories') fixes the problem.
> 
>> [...]

Thanks for the info, Antony!

I must admit that I was only searching the mailing list archive for the
subject concerning "bug" or "tftp", but not the content of the residual
mails before I wrote my bug report.

Good to see that you've already found that commits that cause the
problem. Hopefully it will be fixed in one of the next releases.

Best regards,
Dennis Menschel



More information about the barebox mailing list