Bug 1477605 - libvirtd 3.0.0 segfaulting when changing /etc/gai.conf
libvirtd 3.0.0 segfaulting when changing /etc/gai.conf
Status: CLOSED NOTABUG
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
unspecified
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: Libvirt Maintainers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-02 08:53 EDT by Jens
Modified: 2017-08-02 09:32 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-02 08:55:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
additional_info_libvirtd_gai.conf_segfaulting (4.46 KB, text/plain)
2017-08-02 08:53 EDT, Jens
no flags Details

  None (edit)
Description Jens 2017-08-02 08:53:42 EDT
Created attachment 1308211 [details]
additional_info_libvirtd_gai.conf_segfaulting

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
Comment 1 Daniel Berrange 2017-08-02 08:55:36 EDT
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.
Comment 2 Jens 2017-08-02 09:05:59 EDT
Ok, any idea where to file this then? Just wanted to help...
Comment 3 Daniel Berrange 2017-08-02 09:32:51 EDT
Filing it against glibc, in your OS distros' bug tracker is your best bet i think.

Note You need to log in before you can comment on or make changes to this bug.