Simply compile a kernel without ipv6 support. Libvirt blindly assumes the /proc/sys/net/ipv6/* entries exist and fails to gracefully continue when they are not writable.
----- Original message ----- > 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. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/690042 > > Title: > libvirtd tries to disable ipv6's accept_ra even when ipv6 is disabled > outright in the kernel > > Status in “libvirt” package in Ubuntu: > Confirmed > > 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/net/ipv6/conf/virbr1/accept_ra. It does not continue > past this failure. > > 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/net/ipv6/conf/virbr1/accept_ra: No > such file or directory > > 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 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/690042/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690042 Title: libvirtd tries to disable ipv6's accept_ra even when ipv6 is disabled outright in the kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/690042/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs