[Openstack-devel] Bug#680642: nova-compute: purging removes files from another package
Andreas Beckmann
debian at abeckmann.de
Sat Jul 7 15:14:37 UTC 2012
Package: nova-compute
Version: 2012.1.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package removed files from
another package.
The postrm contains
if [ "$1" = "purge" ] ; then
rm -f /var/log/nova/nova-compute.log*
rm -fr /var/lib/nova/instances
fi
which deletes /var/lib/nova/instances/ that is owned by nova-common.
Since nova-compute may create files there, too, it should ship an empty
var/lib/nova/instances/ directory so that this gets cleaned up by dpkg
regardles of the purge order.
>From the attached log (scroll to the bottom...):
1m35.2s ERROR: FAIL: After purging files have disappeared:
/var/lib/nova/instances/ owned by: nova-common
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nova-compute_2012.1.1-2.log.gz
Type: application/x-gzip
Size: 15327 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120707/8597dd06/attachment.bin>
More information about the Openstack-devel
mailing list