Bug 1477605 - libvirtd 3.0.0 segfaulting when changing /etc/gai.conf
Summary: libvirtd 3.0.0 segfaulting when changing /etc/gai.conf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-02 12:53 UTC by Jens
Modified: 2017-08-02 13:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 12:55:36 UTC
Embargoed:


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

Description Jens 2017-08-02 12:53:42 UTC
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 Berrangé 2017-08-02 12:55:36 UTC
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 13:05:59 UTC
Ok, any idea where to file this then? Just wanted to help...

Comment 3 Daniel Berrangé 2017-08-02 13:32:51 UTC
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.