[Pkg-pdns-maintainers] Bug#710360: pdns-backend-sqlite{, 3}: postinst uses /usr/share/doc content (Policy 12.3)

Andreas Beckmann anbe at debian.org
Thu May 30 08:08:31 UTC 2013


Package: pdns-backend-sqlite,pdns-backend-sqlite3
Version: 3.1-4
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 pdns-backend-sqlite.
  (Reading database ... 7123 files and directories currently installed.)
  Unpacking pdns-backend-sqlite (from .../pdns-backend-sqlite_3.1-4_amd64.deb) ...
  Setting up pdns-backend-sqlite (3.1-4) ...
  dbconfig-common: writing config to /etc/dbconfig-common/pdns-backend-sqlite.conf
  
  Creating config file /etc/dbconfig-common/pdns-backend-sqlite.conf with new version
  error: template infile /usr/share/doc/pdns-backend-sqlite/examples/pdns.local.gsqlite does not exist
  dpkg: error processing pdns-backend-sqlite (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   pdns-backend-sqlite

  Selecting previously unselected package pdns-backend-sqlite3.
  (Reading database ... 7116 files and directories currently installed.)
  Unpacking pdns-backend-sqlite3 (from .../pdns-backend-sqlite3_3.1-4_amd64.deb) ...
  Setting up pdns-backend-sqlite3 (3.1-4) ...
  dbconfig-common: writing config to /etc/dbconfig-common/pdns-backend-sqlite3.conf
  
  Creating config file /etc/dbconfig-common/pdns-backend-sqlite3.conf with new version
  error: template infile /usr/share/doc/pdns-backend-sqlite3/examples/pdns.local.gsqlite3 does not exist
  dpkg: error processing pdns-backend-sqlite3 (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   pdns-backend-sqlite3


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdns-backend-sqlite3_3.1-4.log.gz
Type: application/x-gzip
Size: 5049 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pdns-maintainers/attachments/20130530/b50a8016/attachment.bin>


More information about the Pkg-pdns-maintainers mailing list