[Openstack-devel] Bug#710507: nova-compute-xen: postinst uses /usr/share/doc content (Policy 12.3)

Andreas Beckmann anbe at debian.org
Fri May 31 13:21:57 UTC 2013


Package: nova-compute-xen
Version: 2012.1.1-18
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package nova-compute-xen.
  (Reading database ... 17944 files and directories currently installed.)
  Unpacking nova-compute-xen (from .../nova-compute-xen_2012.1.1-18_all.deb) ...
  Setting up nova-compute-xen (2012.1.1-18) ...
  Adding user nova to group nova
  cp: cannot stat '/usr/share/doc/nova-compute-xen/nova-compute.conf.dist': No such file or directory
  dpkg: error processing nova-compute-xen (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   nova-compute-xen


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nova-compute-xen_2012.1.1-18.log.gz
Type: application/x-gzip
Size: 9924 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20130531/f35e70a1/attachment.bin>


More information about the Openstack-devel mailing list