[PKG-Openstack-devel] Bug#842075: glare-common: unowned directories after purge: /var/lib/glance, /var/lib/glance/*, /var/log/glance
iudovichenko at mirantis.com
Tue Oct 25 23:32:43 UTC 2016
Thank you for finding this issue!
Actually those folder are created by glance-store component .
Also Glance package creates /var/lib/glance/* itself .
I'm thinking of moving this logic to glance-store as both packages
depend on it. But it is better to discuss it with the OS team.
On 10/25/2016 08:49 PM, Andreas Beckmann wrote:
> Package: glare-common
> Version: 0.1.0-2
> Severity: important
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> during a test with piuparts I noticed your package left unowned
> directories on the system after purge, which is a violation of
> policy 6.8:
> Filing this as important as having a piuparts clean archive is a release
> goal since lenny.
> The maintainer scripts create (and later remove) a file in that
> directory. Manual directory removal may be not appropriate as this
> directory is shared between several packages.
> If the package would ship this as an empty directory, dpkg would take
> care of the creation and removal (if it's empty).
>>From the attached log (scroll to the bottom...):
> 2m27.3s ERROR: FAIL: Package purging left files on system:
> /var/lib/glance/ not owned
> /var/lib/glance/cache/ not owned
> /var/lib/glance/images/ not owned
> /var/log/glance/ not owned
> BTW, shouldn't that be */glare/* ?
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
More information about the Openstack-devel