Re: DHCPCD 9.0.1-2 problem
Roy Marples
Mon Apr 20 11:37:21 2020
On 19/04/2020 23:54, John Barks wrote:
I opened a bug with ArchLinux and was asked to report it upstream, if this is
not the place to do that please let me know.
https://bbs.archlinux.org/viewtopic.php?id=254857
https://bugs.archlinux.org/task/66313
*DHCPCD 9.0.1-2 upgrade breaks name resolution
<https://bbs.archlinux.org/viewtopic.php?id=254857>
*
Downgrade to 8.1.7-1 fixes it.
'sudo systemctl status dhcpcd.service' yields this
|Apr 19 12:04:11 carlos dhcpcd[866]: ps_dostop: Connection refused I get an IP
address but resolv.conf is left blank so that there is no name resolution. I can
ping by IP. Please find attached to this email the full output of 'sudo
journalctl -b -1' Please let me know if there is anything else you might need
from me. Thanks, John Barks barksjn@xxxxxxxxx |
Does this patch fix it? I should be making a new release shortly with this in.
Roy
diff --git a/src/ipv6.c b/src/ipv6.c
index 570879ae..3e0dcc0c 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -2073,10 +2073,13 @@ ipv6_regentempaddrs(void *arg)
struct ipv6_state *state;
struct ipv6_addr *ia;
+ state = IPV6_STATE(ifp);
+ if (state == NULL)
+ return;
+
ipv6_regen_desync(ifp, true);
clock_gettime(CLOCK_MONOTONIC, &tv);
- state = IPV6_STATE(ifp);
TAILQ_FOREACH(ia, &state->addrs, next) {
if (ia->flags & IPV6_AF_TEMPORARY &&
!(ia->flags & IPV6_AF_STALE))
Archive administrator: postmaster@marples.name