[libvirt] [PATCH 3/6] storage: fs: Don't attempt directory creation if it already exists
cfergeau at redhat.com
Thu Jul 16 11:39:51 UTC 2015
On Thu, Jul 16, 2015 at 02:02:39PM +0800, tzheng wrote:
> After this patch is included in libvirt on rhel7.2,virt-manager can not
> create dir pool with existing directory.
> There is no default pool created in a fresh rhel7.2 system,so if I try to
> create default pool,the below error shows:
> Error creating pool: Could not build storage pool: failed to create
> directory '/var/lib/libvirt/images': File exists
> Do you think it's acceptable for this change since the
> directory(/var/lib/libvirt/images) is created by libvirt,if users want to
> create pool with /var/lib/libvirt/images,they need to delete images
> directory firstly,if so I think maybe some notes in doc is preferred,thanks
> very much.
This part of the code was then changed by
Are you 100% sure it's this patch which causes the issue you describe?
GNOME Boxes is having very similar issues, see
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the libvir-list