libvirtd tries to disable ipv6's accept_ra even when ipv6 is disabled outright in the kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
When the system has ipv6 disabled outright, /usr/sbin/libvirtd still tries to blindly disable accept_ra despite it's destined failure to open /proc/sys/
Expected behavior is that it should either attempt to stat this file/path first, then continue without disabling accept_ra should it not exist, or at a minimum continue to start the network in spite of the failure to open the file.
Note: At the moment, this issue is a complete BLOCKER for me. Not simply a mere inconvenience. The current immaturity of ipv6 support is some applications has forced the need for me to disable it outright to prevent some 3rd party services from trying to bind to ipv6 interfaces.
virsh # net-start Virtual_Cloud
error: Failed to start network Virtual_Cloud
error: cannot disable /proc/sys/
Using version:
# dpkg --list | grep libvirt
ii libvirt-bin 0.7.5-5ubuntu27.7 the programs for the libvirt library
ii libvirt0 0.7.5-5ubuntu27.7 library for interfacing with different virtu
ii python-libvirt 0.7.5-5ubuntu27.7 libvirt Python bindings
Changed in libvirt (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Can you please add more steps to reproduce this bug? It's not clear to me when this happens although I have found the problem in the source code. It is hardly to test it even when I make change to code.