Bug 233409 - FC-devel install
FC-devel install
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Veillard
Depends On:
  Show dependency treegraph
Reported: 2007-03-22 03:00 EDT by Florian La Roche
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-22 05:39:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Florian La Roche 2007-03-22 03:00:31 EDT
Description of problem:

Installation of the FC-devel rpm gives:
ln: creating symbolic link `/etc/libvirt/qemu/networks/autostart/default.xml':
No such file or directory

Possible fix:
--- libvirt.spec        16 Mar 2007 19:44:21 -0000      1.49
+++ libvirt.spec        22 Mar 2007 06:58:40 -0000
@@ -77,7 +77,7 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_loc
 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
 # because if the admin wants to delete the default network completely, we don't
 # want to end up re-incarnating it on every RPM upgrade.
-install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
+install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/autostart
 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
@@ -125,7 +125,7 @@ fi
 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
-%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
+%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
 %dir %{_datadir}/libvirt/
 %dir %{_datadir}/libvirt/networks/

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Daniel Veillard 2007-03-22 05:39:59 EDT
I tried to fix it in libvirt CVS already by just adding the
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
line, I will also add the extra install line, this looks safer.

  thanks !


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