Re: f33: systemd-resolved hang on ip query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 08, 2020 at 05:01:52PM +0000, Dridi Boukelmoune wrote:
> Greetings,
> 
> I'm not sure whether I am doing something wrong so I'd rather get
> someone's opinion before submitting a bug report.
> 
> Since the upgrade to f33 I replaced my stubby setup with
> systemd-resolved since it is now the default. I was OK with that
> change since I didn't lose functionality compared to my previous
> setup. But it is breaking getaddrinfo() and IP address resolution in
> general, and that's an annoying regression.
> 
> With varnish we use getaddrinfo() for both IP addresses and domain
> names, optionally we may set the numeric flag but otherwise it used to
> work out of the box. Now if I try to resolve an IP address without the
> numeric flag it hangs, never receiving a response from
> systemd-resolved:
> 
> > #0  0x00007f011ed8690e in ppoll () from /lib64/libc.so.6
> > #1  0x00007f011c8604f6 in bus_poll.lto_priv () from /lib64/libnss_resolve.so.2
> > #2  0x00007f011c860f86 in sd_bus_call () from /lib64/libnss_resolve.so.2
> > #3  0x00007f011c85b249 in _nss_resolve_gethostbyname4_r () from /lib64/libnss_resolve.so.2
> > #4  0x00007f011ed7a397 in gaih_inet.constprop () from /lib64/libc.so.6
> > #5  0x00007f011ed7b269 in getaddrinfo () from /lib64/libc.so.6

An unfinished dbus call should only happen when the server fails
internally and aborts the connection. If there's an error or timeout in
the query resolution, it should still terminate the connection with
some response.

Please enable debug logs with 'resolvectl log-level debug' and do the
reproducer and show the logs. I think it'd be better to do this in BZ
though, it seems too complex for the mailing list. 
Please also include rpm versions and 'resolvectl status' output.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux