You are not logged in.

#1 2016-09-06 11:36:52

curtisleebolin
Member
Registered: 2014-09-07
Posts: 15

libvirt - recreation of virbr0 on update

libvirt creates network devices virbr0.  I remove the device with:

# virsh net-destroy default
# virsh net-undefine default
# systemctl restart libvirtd.service

Each time libvirt is updated, virbr0 comes back.  I have not found a way to keep it from coming back.

Any ideas would be much appreciated.

Offline

#2 2016-09-06 19:48:34

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: libvirt - recreation of virbr0 on update

I've solved it by having the symlink:

/etc/libvirt/qemu/networks/autostart/default.xml -> /dev/null

Offline

#3 2016-09-07 02:16:28

lightdot
Member
Registered: 2014-04-22
Posts: 22

Re: libvirt - recreation of virbr0 on update

This is a packaging problem, isn't it? Libvirt not only recreates the default network if it's missing, but also sets it to start automatically. The latter is the real issue, IMHO it shouldn't be doing this.

Offline

#4 2016-09-07 12:26:46

curtisleebolin
Member
Registered: 2014-09-07
Posts: 15

Re: libvirt - recreation of virbr0 on update

Good point, lightdot.  I'll file a bug report.

Offline

#5 2016-09-08 15:17:10

curtisleebolin
Member
Registered: 2014-09-07
Posts: 15

Re: libvirt - recreation of virbr0 on update

I created a bug report.

Feel free to vote on it.

Last edited by curtisleebolin (2016-09-08 15:18:20)

Offline

Board footer

Powered by FluxBB