This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours

Bug 867546

Summary: fresh install of libvirt-daemon-config-network requires libvirtd restart to define+start default network
Product: [Fedora] Fedora Reporter: Eric Paris <eparis>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: berrange, bugzilla, clalancette, crobinso, dyuan, itamar, jforbes, laine, libvirt-maint, mprivozn, mzhan, reklov, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: libvirt- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-08 20:03:50 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Eric Paris 2012-10-17 12:43:43 EDT
Install F18

yum install -y virt-manager

This picks up libvirt including libvirt-daemon-config-network-0.10.2-3.fc18.x86_64

run virt-manager and find there is no network available. 
 virsh net-list --all    is blank

systemctl restart libvirtd.service

the default NAT network will be available.
Comment 1 Laine Stump 2012-10-17 13:27:57 EDT
So it seems that the problem is that the libvirt-daemon package is installed and started before the %post script for libvirt-deamon-config-network is run.

Perhaps that script should check for libvirtd already running and, if so, use virsh define instead of directly placing the file in /etc/libvirt?
Comment 2 Cole Robinson 2013-12-16 14:51:38 EST
Still relevant on F20
Comment 3 Michal Privoznik 2015-04-21 09:53:05 EDT
Patch was proposed on the upstream list:
Comment 4 Cole Robinson 2015-05-25 17:19:46 EDT
*** Bug 1224398 has been marked as a duplicate of this bug. ***
Comment 5 Cole Robinson 2016-04-25 17:14:03 EDT
Round #2:
Comment 6 Fedora Update System 2016-05-05 08:52:42 EDT
libvirt- has been submitted as an update to Fedora 24.
Comment 7 Fedora Update System 2016-05-06 07:27:40 EDT
libvirt- has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See for
instructions on how to install test updates.
You can provide feedback for this update here:
Comment 8 Fedora Update System 2016-05-08 20:03:19 EDT
libvirt- has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.