Red Hat Bugzilla – Bug 1477605
libvirtd 3.0.0 segfaulting when changing /etc/gai.conf
Last modified: 2017-08-02 09:32:51 EDT
Created attachment 1308211 [details]
Description of problem: after configuring ipv6-preferences in /etc/gai.conf running into segfault when starting libvirtd
Version-Release number of selected component (if applicable): libvirt-daemon-system (3.0.0-4) on debian-9.1.0-amd64
How reproducible: install libvirt-daemon-system, change /etc/gai.conf not letting ipv6-contact to debian-mirrors, restart libvirtd
Steps to Reproduce:
1. install plain debian
2. [code]echo '# Make IPv6 for security.debian.org undesirable
precedence 2001:a78:5:1:216:35ff:fe7f:6ceb 5
precedence 2a02:16a8:dc41:100::233 5
precedence 2001:a78:5:0:216:35ff:fe7f:be4f 5' >> /etc/gai.conf[/code]
3. [code]apt install qemu-kvm libvirt-daemon-system[/code]
Actual results: Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3d7424f in gaiconf_init () at ../sysdeps/posix/getaddrinfo.c:2018
2018 ../sysdeps/posix/getaddrinfo.c: No such file or directory.
Expected results: starting libvirtd
Additional info: in file attached
The stack trace is showing a crash inside your C library's impl of getaddrinfo(), so I don't think this is libvirt's fault.
Ok, any idea where to file this then? Just wanted to help...
Filing it against glibc, in your OS distros' bug tracker is your best bet i think.