FS#63894 - [libvirt] no default network

Attached to Project: Community Packages
Opened by Brendan (esbdb) - Monday, 23 September 2019, 16:31 GMT
Last edited by Robin Broda (coderobe) - Monday, 23 December 2019, 22:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Robin Broda (coderobe)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
libvirt doesn't come with a default network.
All resources explaining how to use libvirt always talk about a default network and assume there is a default network, even our own Arch wiki: https://wiki.archlinux.org/index.php/Libvirt#Networks. "See Network bridge on how to add a bridge additional to the default one".

libvirt version: 5.5.0-1

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
install libvirt
start libvirtd.service
run `virsh net-list --all` and see no default network

Can we fix the package so it creates a default network when installed?
This task depends upon

Closed by  Robin Broda (coderobe)
Monday, 23 December 2019, 22:07 GMT
Reason for closing:  Not a bug
Additional comments about closing:  The default network gets created automatically when you have the necessary optdeps
Comment by Christian Rebischke (Shibumi) - Saturday, 16 November 2019, 13:51 GMT
Do you have a suggestion what we should do in the pkgbuild to 'install' such a default network?
Comment by Toolybird (Toolybird) - Saturday, 16 November 2019, 20:44 GMT
> libvirt doesn't come with a default network

It does if you have the right (optional) deps installed.


$ virsh net-list
Name State Autostart Persistent
--------------------------------------------
default active yes yes


Have you installed dnsmasq?

https://wiki.libvirt.org/page/Libvirtd_and_dnsmasq

IIRC, ebtables is also needed for proper function.

Loading...