After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698405 - boxes produces a warning on stderr at start about missing directory
boxes produces a warning on stderr at start about missing directory
Status: RESOLVED DUPLICATE of bug 696360
Product: gnome-boxes
Classification: Applications
Component: general
3.8.x
Other Linux
: Normal normal
: 3.22
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
: 698407 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-04-19 21:04 UTC by Baptiste Mille-Mathias
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baptiste Mille-Mathias 2013-04-19 21:04:14 UTC
should I start boxes from a console, I have this message appearing.

(gnome-boxes:15748): Boxes-WARNING **: libvirt-broker.vala:83: Failed to start storage pool: cannot open path '/home/baptiste/.config/gnome-boxes/images': No such file or directory

it's seems boxes doesn't create a required directory.
Comment 1 Zeeshan Ali 2013-04-19 21:11:09 UTC
Are you sure you previous haven't manually deleted that directory? Boxes creates it first time it needs it through libvirt. If you delete it manually, libvirt doesn't know about it and hence it fails to start storage pools.

If you had deleted the directory manually, this is a duplicate of bug#696360.
Comment 2 Baptiste Mille-Mathias 2013-04-19 21:17:53 UTC
Honestly I can't remember having deleted or not this directory.
the fact is, when I created it, it fixed the error message and also the bug 698407.

Perhaps, boxes should take care to create again the directory if it's missing ?
Comment 3 Baptiste Mille-Mathias 2013-04-19 21:18:21 UTC
*** Bug 698407 has been marked as a duplicate of this bug. ***
Comment 4 Baptiste Mille-Mathias 2013-04-19 21:23:01 UTC

*** This bug has been marked as a duplicate of bug 696360 ***
Comment 5 Zeeshan Ali 2013-04-19 23:35:23 UTC
(In reply to comment #2)
> Honestly I can't remember having deleted or not this directory.

Well that is the only way I know this bug can be reproduced.

> the fact is, when I created it, it fixed the error message and also the bug
> 698407.
>
>
> Perhaps, boxes should take care to create again the directory if it's missing ?

So what happens is that we ask libvirt if 'gnome-boxes' storage pool exists. If it does, cool we just use it. If it doesn't, we do ask libvirt to set it up and assign it this directory. So if there is something to be fixed, its in libvirt.