dnsmasq: update to use alpine dnsmasq#5948
Conversation
:-( |
|
/rerun red |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5948 +/- ##
==========================================
+ Coverage 20.65% 21.07% +0.41%
==========================================
Files 489 499 +10
Lines 90373 92071 +1698
==========================================
+ Hits 18665 19401 +736
- Misses 70130 70913 +783
- Partials 1578 1757 +179 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6f8408e to
529c003
Compare
259d7ff to
1efbe64
Compare
|
LGTM |
|
@christoph-zededa , please, rebase on top of master.... |
1efbe64 to
f79d744
Compare
done, but it does not help with yetus (https://github.com/lf-edge/eve/actions/runs/25807155223/job/75813016215?pr=5948 ) I think it struggles when removing a file. |
|
The original link doesn't seems to be very reliable (apparently it's a small server), it has failed to download on some runs, do we have any other official mirror to download from? In worst case, let's bring the binary back... sorry.... |
f79d744 to
c066653
Compare
Unfortunately I did not find a mirror, even the github mirror is behind (https://github.com/imp/dnsmasq/commits/master/ ) It's okay. |
Would we get these patches if we just grab dnsmasq from Alpine 3.22? |
c066653 to
ddfee86
Compare
I see for all the CVEs mentioned in this PR a patch in https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/dnsmasq?__goaway_challenge=cookie&__goaway_id=8c0acd18336881080decce87aa5ab5f9&__goaway_referer=https%3A%2F%2Fpkgs.alpinelinux.org%2F I am checking if we can just get rid of |
ddfee86 to
bd9b160
Compare
bd9b160 to
368cc4b
Compare
368cc4b to
d0cec3c
Compare
|
Are the files where the SPDX fails check things added/modified bt this PR, or are they copied from somehere else? |
d0cec3c to
7efe538
Compare
they have been moved within the repository; anyways I am fixing those ... |
5f0ddcb to
3c28d31
Compare
|
/rerun red |
1 similar comment
|
/rerun red |
3c28d31 to
57179e4
Compare
|
I've tested this manually on two devices in the lab and it looks fine. |
version 2.92rel2
2.92 point release incorporating fixes for
CVE-2026-2291
CVE-2026-4890
CVE-2026-4891
CVE-2026-4892
CVE-2026-4893
CVE-2026-5172
(https://thekelleys.org.uk/dnsmasq/CHANGELOG )
Signed-off-by: Christoph Ostarek <christoph@zededa.com>
57179e4 to
112c715
Compare
|
@christoph-zededa a suggestion for the build failures: |
Remove the dedicated eve-dnsmasq container image (Dockerfile, source tarball, patches, and tests) and use the dnsmasq package from Alpine instead. The binary stays at its default Alpine location /usr/sbin/dnsmasq. Pass -u/-g nobody to drop privileges to not use the patched user/group from APKBUILD. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Christoph Ostarek <christoph@zededa.com>
in order to get the newest package with fixes, etc. Signed-off-by: Christoph Ostarek <christoph@zededa.com>
to trigger re-download of the newest packages from alpine and bump package hashes Signed-off-by: Christoph Ostarek <christoph@zededa.com>
112c715 to
6b12e91
Compare
Description
I just saw https://www.heise.de/en/news/Pi-hole-update-closes-dnsmasq-security-vulnerabilities-11291212.html - might be good to update dnsmasq ...
version 2.92rel2
2.92 point release incorporating fixes for
CVE-2026-2291
CVE-2026-4890
CVE-2026-4891
CVE-2026-4892
CVE-2026-4893
CVE-2026-5172
(https://thekelleys.org.uk/dnsmasq/CHANGELOG )
How to test and validate this PR
Check that dnsmasq in version 2.92rel2 is running on the system
Changelog notes
Upgrade dnsmasq to include security fixes
PR Backports
For all current LTS branches, please state explicitly if this PR should be
backported or not. This section is used by our scripts to track the backports,
so, please, do not omit it.
Here is the list of current LTS branches (it should be always up to date):
Also, to the PRs that should be backported into any stable branch, please
add a label
stable.Checklist
And the last but not least:
check them.
Please, check the boxes above after submitting the PR in interactive mode.