Bug 2399840 - dnsmasq fails to deliver tftp file due to off-by-2 bug
Summary: dnsmasq fails to deliver tftp file due to off-by-2 bug
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnsmasq
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL: https://thekelleys.org.uk/gitweb/?p=d...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-26 21:24 UTC by Helge Deller
Modified: 2025-10-30 04:30 UTC (History)
4 users (show)

Fixed In Version: dnsmasq-2.91-1.fc43
Clone Of:
Environment:
Last Closed: 2025-10-30 04:30:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix tftp boot issue (674 bytes, patch)
2025-09-26 21:44 UTC, Helge Deller
no flags Details | Diff

Description Helge Deller 2025-09-26 21:24:00 UTC
TFTP fails to deliver a file in some cases.
The problem was already reported for Fedora here:
https://bugzilla.redhat.com/show_bug.cgi?id=2293793

In the meantime, upstream dnsmasq has the fix included (in dnsmasq v2.91).
This is the fix (basically 2 patches, one wrong and another one whix finally fixes it):
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=9df1bd0cc1580fe3d2dd2c0fd21050e528d178c5

Can you either update the dnsmasq package >= v2.91, or include this patch?

Thanks!
Helge

Reproducible: Always

Comment 1 Helge Deller 2025-09-26 21:44:31 UTC
Created attachment 2107714 [details]
Fix tftp boot issue

this patch fixes the issue (same as upstream fix)

Comment 2 Fedora Update System 2025-10-16 18:48:58 UTC
FEDORA-2025-4e662b5c2a (dnsmasq-2.91-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4e662b5c2a

Comment 3 Fedora Update System 2025-10-17 01:43:25 UTC
FEDORA-2025-4e662b5c2a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4e662b5c2a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4e662b5c2a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-10-30 04:30:02 UTC
FEDORA-2025-4e662b5c2a (dnsmasq-2.91-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.