2019-10-24 11:44:27 |
Dan Streetman |
bug |
|
|
added bug |
2019-10-24 11:44:37 |
Dan Streetman |
nominated for series |
|
Ubuntu Focal |
|
2019-10-24 11:44:37 |
Dan Streetman |
bug task added |
|
systemd (Ubuntu Focal) |
|
2019-10-24 11:44:37 |
Dan Streetman |
nominated for series |
|
Ubuntu Eoan |
|
2019-10-24 11:44:37 |
Dan Streetman |
bug task added |
|
systemd (Ubuntu Eoan) |
|
2019-10-24 11:46:23 |
Dan Streetman |
description |
[impact]
for DNS UDP replies larger than 512 bytes, fallback to TCP is used. For example 'host toomany.ddstreet.org'.
Due to a bug in resolved in refcounting DNS stream types, the refcount underflows for type 0 streams (which resolved uses to talk to upstream nameservers), resulting in resolved being unable to fallback to TCP to handle truncated UDP replies.
[test case]
ubuntu@sf247344-upstream:~$ dig +noanswer +noedns toomany.ddstreet.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> +noanswer +noedns toomany.ddstreet.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2683
;; flags: qr rd ra; QUERY: 1, ANSWER: 40, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;toomany.ddstreet.org. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Thu Oct 24 11:40:29 UTC 2019
;; MSG SIZE rcvd: 678
ubuntu@sf247344-upstream:~$ sudo resolvectl flush-caches
ubuntu@sf247344-upstream:~$ dig +noanswer +noedns toomany.ddstreet.org
; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> +noanswer +noedns toomany.ddstreet.org
;; global options: +cmd
;; connection timed out; no servers could be reached
[regression potential]
very low, as this only properly sets the stream type in the DnsStream object; any regression would be a failure to be able to use TCP for DNS requests or replies.
[other info]
https://github.com/systemd/systemd/pull/13838 |
[impact]
for DNS UDP replies larger than 512 bytes, fallback to TCP is used. For example 'host toomany.ddstreet.org'.
Due to a bug in resolved in refcounting DNS stream types, the refcount underflows for type 0 streams (which resolved uses to talk to upstream nameservers), resulting in resolved being unable to fallback to TCP to handle truncated UDP replies.
[test case]
ubuntu@sf247344-upstream:~$ dig +noanswer +noedns toomany.ddstreet.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> +noanswer +noedns toomany.ddstreet.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2683
;; flags: qr rd ra; QUERY: 1, ANSWER: 40, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;toomany.ddstreet.org. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Thu Oct 24 11:40:29 UTC 2019
;; MSG SIZE rcvd: 678
ubuntu@sf247344-upstream:~$ sudo resolvectl flush-caches
ubuntu@sf247344-upstream:~$ dig +noanswer +noedns toomany.ddstreet.org
; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> +noanswer +noedns toomany.ddstreet.org
;; global options: +cmd
;; connection timed out; no servers could be reached
[regression potential]
very low, as this only properly sets the stream type in the DnsStream object; any regression would be a failure to be able to use TCP for DNS requests or replies.
[other info]
https://github.com/systemd/systemd/pull/13838
The commit adding stream types is not present in x/b, so this is needed only for disco and later. |
|
2019-10-24 11:46:29 |
Dan Streetman |
nominated for series |
|
Ubuntu Disco |
|
2019-10-24 11:46:29 |
Dan Streetman |
bug task added |
|
systemd (Ubuntu Disco) |
|
2019-10-24 11:46:38 |
Dan Streetman |
systemd (Ubuntu Disco): importance |
Undecided |
Medium |
|
2019-10-24 11:46:39 |
Dan Streetman |
systemd (Ubuntu Eoan): importance |
Undecided |
Medium |
|
2019-10-24 11:46:42 |
Dan Streetman |
systemd (Ubuntu Focal): importance |
Undecided |
Medium |
|
2019-10-24 11:46:45 |
Dan Streetman |
systemd (Ubuntu Disco): assignee |
|
Dan Streetman (ddstreet) |
|
2019-10-24 11:46:49 |
Dan Streetman |
systemd (Ubuntu Eoan): assignee |
|
Dan Streetman (ddstreet) |
|
2019-10-24 11:46:52 |
Dan Streetman |
systemd (Ubuntu Eoan): status |
New |
In Progress |
|
2019-10-24 11:46:54 |
Dan Streetman |
systemd (Ubuntu Disco): status |
New |
In Progress |
|
2019-10-24 11:47:08 |
Dan Streetman |
systemd (Ubuntu Focal): assignee |
|
Dan Streetman (ddstreet) |
|
2019-10-24 11:47:10 |
Dan Streetman |
systemd (Ubuntu Focal): status |
New |
In Progress |
|
2019-10-24 11:48:02 |
Dan Streetman |
tags |
|
ddstreet disco eoan focal sts systemd |
|
2019-10-25 08:45:50 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~ddstreet/ubuntu/+source/systemd/+git/systemd/+merge/374714 |
|
2019-10-25 10:11:42 |
Balint Reczey |
systemd (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2019-11-04 10:46:06 |
Launchpad Janitor |
systemd (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2019-11-07 13:31:24 |
Łukasz Zemczak |
systemd (Ubuntu Eoan): status |
In Progress |
Fix Committed |
|
2019-11-07 13:31:25 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-11-07 13:31:27 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-11-07 13:31:33 |
Łukasz Zemczak |
tags |
ddstreet disco eoan focal sts systemd |
ddstreet disco eoan focal sts systemd verification-needed verification-needed-eoan |
|
2019-11-09 01:04:03 |
Steve Langasek |
systemd (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-11-09 01:04:09 |
Steve Langasek |
tags |
ddstreet disco eoan focal sts systemd verification-needed verification-needed-eoan |
ddstreet disco eoan focal sts systemd verification-needed verification-needed-disco verification-needed-eoan |
|
2019-11-13 22:03:21 |
Dan Streetman |
tags |
ddstreet disco eoan focal sts systemd verification-needed verification-needed-disco verification-needed-eoan |
ddstreet disco eoan focal sts systemd verification-done verification-done-eoan verification-needed-disco |
|
2019-11-14 15:01:13 |
Łukasz Zemczak |
systemd (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-11-14 15:01:18 |
Łukasz Zemczak |
tags |
ddstreet disco eoan focal sts systemd verification-done verification-done-eoan verification-needed-disco |
ddstreet disco eoan focal sts systemd verification-done-eoan verification-needed verification-needed-bionic verification-needed-disco |
|
2019-11-14 15:22:10 |
Dan Streetman |
tags |
ddstreet disco eoan focal sts systemd verification-done-eoan verification-needed verification-needed-bionic verification-needed-disco |
ddstreet disco eoan focal sts systemd verification-done-disco verification-done-eoan verification-needed verification-needed-bionic |
|
2019-11-15 15:55:55 |
Dan Streetman |
tags |
ddstreet disco eoan focal sts systemd verification-done-disco verification-done-eoan verification-needed verification-needed-bionic |
ddstreet disco eoan focal sts systemd verification-done verification-done-bionic verification-done-disco verification-done-eoan |
|
2019-11-15 16:42:09 |
Steve Langasek |
tags |
ddstreet disco eoan focal sts systemd verification-done verification-done-bionic verification-done-disco verification-done-eoan |
ddstreet disco eoan focal sts systemd verification-done-disco verification-done-eoan verification-needed verification-needed-bionic |
|
2019-11-20 07:12:22 |
Dan Streetman |
tags |
ddstreet disco eoan focal sts systemd verification-done-disco verification-done-eoan verification-needed verification-needed-bionic |
ddstreet disco eoan focal sts systemd verification-done verification-done-bionic verification-done-disco verification-done-eoan |
|
2019-11-25 10:55:38 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-11-25 10:55:23 |
Launchpad Janitor |
systemd (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-11-25 11:18:51 |
Launchpad Janitor |
systemd (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-11-26 17:37:57 |
Launchpad Janitor |
systemd (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|