Bug 867546 - fresh install of libvirt-daemon-config-network requires libvirtd restart to define+start default network
Summary: fresh install of libvirt-daemon-config-network requires libvirtd restart to d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1224398 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-17 16:43 UTC by Eric Paris
Modified: 2016-05-09 00:03 UTC (History)
14 users (show)

Fixed In Version: libvirt-1.3.3.1-1.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-09 00:03:50 UTC
Type: Bug


Attachments (Terms of Use)

Description Eric Paris 2012-10-17 16:43:43 UTC
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 17:27:57 UTC
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 19:51:38 UTC
Still relevant on F20

Comment 3 Michal Privoznik 2015-04-21 13:53:05 UTC
Patch was proposed on the upstream list:

https://www.redhat.com/archives/libvir-list/2015-April/msg00785.html

Comment 4 Cole Robinson 2015-05-25 21:19:46 UTC
*** Bug 1224398 has been marked as a duplicate of this bug. ***

Comment 5 Cole Robinson 2016-04-25 21:14:03 UTC
Round #2: http://www.redhat.com/archives/libvir-list/2016-April/msg01680.html

Comment 6 Fedora Update System 2016-05-05 12:52:42 UTC
libvirt-1.3.3.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5b59b4ca5

Comment 7 Fedora Update System 2016-05-06 11:27:40 UTC
libvirt-1.3.3.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f5b59b4ca5

Comment 8 Fedora Update System 2016-05-09 00:03:19 UTC
libvirt-1.3.3.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.