You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Observed regression with cargo after updating from 1.27.0 to 1.28.0 #737
changed the title [-]Observered regression with cargo after updating from 1.27.0 to 1.28.0[/-][+]Observed regression with cargo after updating from 1.27.0 to 1.28.0[/+]on Mar 30, 2024
I'd need more information probably, such as if this is observed on just one system or multiple systems. Also, what OS is this on? My best guess is if you're on Linux, that maybe there's something up with the new /etc/resolv.conf and /etc/nsswitch.conf parsers so data out of those files might prove useful.
I am sorry for leaving out such detais. I manage only my personal machine which is a fedora based machine but I try to keep it up to date by managing a number of rpm packages myself. As vanilla as possible.
Nothing looks unusual there. I'm not familiar with how fedora packages c-ares, do they package the 'ahost' and 'adig' utilities that typically get built with c-ares? It would be useful to see the output of using those utilities to resolve the same domain name.
Activity
[-]Observered regression with cargo after updating from 1.27.0 to 1.28.0[/-][+]Observed regression with cargo after updating from 1.27.0 to 1.28.0[/+]bradh352 commentedon Mar 30, 2024
I'd need more information probably, such as if this is observed on just one system or multiple systems. Also, what OS is this on? My best guess is if you're on Linux, that maybe there's something up with the new
/etc/resolv.confand/etc/nsswitch.confparsers so data out of those files might prove useful.zazaho commentedon Mar 30, 2024
I am sorry for leaving out such detais. I manage only my personal machine which is a fedora based machine but I try to keep it up to date by managing a number of rpm packages myself. As vanilla as possible.
I attach the files you mentioned.
nsswitch.conf.txt
resolv.conf.txt
zazaho commentedon Mar 30, 2024
Are there (easy) steps that I can take to help identify the origin of issue ?
bradh352 commentedon Mar 30, 2024
Nothing looks unusual there. I'm not familiar with how fedora packages c-ares, do they package the 'ahost' and 'adig' utilities that typically get built with c-ares? It would be useful to see the output of using those utilities to resolve the same domain name.
zazaho commentedon Mar 30, 2024
adig_v1.27.0.txt
adig_v1.28.0.txt
ahost_v1.27.0.txt
ahost of 1.28.0 produces no output but say
crates.io: Domain name not foundbradh352 commentedon Mar 30, 2024
very strange, i've been able to reproduce, its something with searching and the fact that no search domains are configured.
if you add a line like:
to your
/etc/resolv.conf, it will magically start working.ares_search() and ares_getaddrinfo() resolution fails if no search do…
ares_search() and ares_getaddrinfo() resolution fails if no search do…
bradh352 commentedon Mar 30, 2024
This should be fixed in b00b0ac as it works on my test linux system with the patch and did not without.
bradh352 commentedon Mar 30, 2024
and released as part of c-ares 1.28.1 now
ares_search() and ares_getaddrinfo() resolution fails if no search do…