Directory /var/lib/glance not owned by "glance" user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned | ||
glance (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Gusy,
Glance packages from Ubuntu 14.04 have wrong permissions on /var/lib/glance, look:
---
root@controller:~# ll /var/lib/glance/
total 60
drwxr-xr-x 4 glance glance 4096 Apr 14 01:06 ./
drwxr-xr-x 40 root root 4096 Apr 14 04:47 ../
-rw-r--r-- 1 glance glance 37888 Apr 14 01:06 glance.sqlite
drwxr-xr-x 5 root root 4096 Apr 14 01:05 image-cache/
drwxr-xr-x 2 root root 4096 Apr 2 10:40 images/
---
This triggers an error:
---
2014-04-14 04:52:59.475 973 WARNING glance.store.base [4f6aa565-
---
To fix it, I just did:
---
root@controller:~# chown glance: /var/lib/glance -R
---
Cheers!
Thiago
Hi Thiago
I think this was fixed in:
glance (1:2014. 1~rc2-0ubuntu1) trusty; urgency=medium
[ Chuck Short ] patches/ sql_conn. patch: Refreshed. glance- api.install: Install missing schema.json file.
* New upstream release candidate (LP: #1299055).
* debian/
* debian/
(LP: #1307518)
[ Thomas Bechtold ] glance- common. postinst: Set correct owner/group for /var/lib/glance
* debian/
and subdirs only on local filesystems (LP: #1302044).
So this is a dupe of bug 1302044