Revert resolved-disable-event-sources-before-unreffing-them.patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[impact]
The initial patch for LP: #1934221 was not sufficient to fix the root cause of the segfault, but rather moved it to a slightly different location in the code (still inside the on_query_timeout handler).
[test case]
this bug is only to revert the previous patch
For verification we should keep systemd-resolved running for a while and observe that it does not crash, using the relevant configuration in addition to being able to resolve DNS queries as expected, e.g.:
```
root@ff-vm:~# cat /etc/systemd/
[Resolve]
DNS=46.
DNSSEC=yes
DNSOverTLS=
MulticastDNS=no
LLMNR=no
Cache=yes
DNSStubListener=yes
Domains=~.
root@ff-vm:~# dmesg | grep segfault
root@ff-vm:~# dmesg | grep "systemd-resolve"
root@ff-vm:~# resolvectl query google.com
google.com: 2a00:1450:
-- Information acquired via protocol DNS in 177.4ms.
-- Data is authenticated: no
```
[regression potential]
Any regression could cause crashes in systemd-resolved, making it unresponsive to DNS network name requests to local applications.
[other info]
this only reverts the patch that was added for LP: #1934221, as this patch was detected to still produce (slightly different) segfaults in on_query_timeout (https:/
We want to revert the patch in Focal (systemd v245) for now, while we'll try to fix the root cause in Hirsute (systemd v247), adding more relevant patches that were added to systemd-stable v247 (but not systemd-stable v245):
https:/
https:/
https:/
https:/
https:/
https:/
=> Root-causing this issue will be done in the (re-opened) LP: #1934221
Related branches
- Lukas Märdian: Disapprove
- Dan Streetman: Pending requested
-
Diff: 208 lines (+10/-173)3 files modifieddebian/changelog (+10/-0)
debian/patches/series (+0/-1)
dev/null (+0/-172)
Closing, as agreed upon with the SRU team: https:/ /code.launchpad .net/~slyon/ ubuntu/ +source/ systemd/ +git/systemd/ +merge/ 408816/ comments/ 1079349