Bug 2399840

Summary: dnsmasq fails to deliver tftp file due to off-by-2 bug
Product: [Fedora] Fedora Reporter: Helge Deller <deller>
Component: dnsmasqAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: deller, dns-sig, dougsland, pemensik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=9df1bd0cc1580fe3d2dd2c0fd21050e528d178c5
Whiteboard:
Fixed In Version: dnsmasq-2.91-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-30 04:30:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix tftp boot issue none

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.