[DRE-maint] Bug#834090: diaspora-common: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/diaspora-common/nginx.conf.example
Andreas Beckmann
anbe at debian.org
Thu Aug 11 19:52:54 UTC 2016
Package: diaspora-common
Version: 0.5.9.1+debian4
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."
https://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 diaspora-common.
(Reading database ...
(Reading database ... 11233 files and directories currently installed.)
Preparing to unpack .../diaspora-common_0.5.9.1+debian4_all.deb ...
Unpacking diaspora-common (0.5.9.1+debian4) ...
Setting up diaspora-common (0.5.9.1+debian4) ...
dbconfig-common: writing config to /etc/dbconfig-common/diaspora-common.conf
Creating config file /etc/dbconfig-common/diaspora-common.conf with new version
creating postgres user diaspora: success.
verifying creation of user: success.
creating database diaspora_production: success.
verifying database diaspora_production exists: success.
dbconfig-common: flushing administrative password
SSL enabled, configuring nginx for localhost...
nginx.conf.example not found
dpkg: error processing package diaspora-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
diaspora-common
Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diaspora-common_0.5.9.1+debian4.log.gz
Type: application/gzip
Size: 18917 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160811/9d0add3c/attachment-0001.bin>
More information about the Pkg-ruby-extras-maintainers
mailing list