Package: cacti
Version: 0.8.6h-4
Severity: serious
Justification: Policy 7.2


Subject: cacti: config/postrm depends on non-essential packages 
(dbconfig-common, probably ucf)
Package: cacti
Severity: serious
Justification: Policy 7.2

hi there,

it was recently brought to my attention that the recommended method
for using dbconfig-common in a package's config and postrm scripts was not
policy compliant as hinted in the subject of this bugreport.  the problem
is that in both the config and the postrm you should test whether the
files/programs in question exist before sourcing/executing them.

this mass bug-filing was announced 2006/08/19, though it seems
there's a problem with the list archives for debian-devel.  fortunately,
i cc'd the dbconfig list:

http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/2006-August/000586.html

and information for how you can fix your package:

http://people.debian.org/~seanius/policy/dbconfig-common.html/ch-develguide.html#s-hooks

fortunately, the fix is pretty simple, though i apologize for
the inconvenience.  feel free to ask if you have any questions.


        sean

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages cacti depends on:
ii  apache-ssl [httpd]            1.3.34-4   versatile, high-performance HTTP s
ii  apache2                       2.0.55-4.2 next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.0.55-4.2 traditional model for Apache2
ii  dbconfig-common               1.8.21     common framework for packaging dat
ii  debconf [debconf-2.0]         1.5.4      Debian configuration management sy
ii  libapache2-mod-php5           5.1.6-1    server-side, HTML-embedded scripti
ii  libphp-adodb                  4.72-0.1   The 'adodb' database abstraction l
ii  logrotate                     3.7.1-3    Log rotation utility
ii  mysql-client-5.0 [virtual-mys 5.0.24a-3  mysql database client binaries
ii  php4                          4:4.4.4-1  server-side, HTML-embedded scripti
ii  php4-cli                      4:4.4.4-1  command-line interpreter for the p
ii  php4-mysql                    4:4.4.4-1  MySQL module for php4
ii  php4-snmp                     4:4.4.4-1  SNMP module for php4
ii  php5                          5.1.6-1    server-side, HTML-embedded scripti
ii  php5-cli                      5.1.6-1    command-line interpreter for the p
ii  rrdtool                       1.2.11-0.6 Time-series data storage and displ
ii  snmp                          5.2.3-1    NET SNMP (Simple Network Managemen
ii  ucf                           2.0015     Update Configuration File: preserv

Versions of packages cacti recommends:
ii  iputils-ping                3:20020927-3 Tools to test the reachability of 
ii  mysql-server                5.0.24a-3    mysql database server (current ver
ii  mysql-server-5.0 [mysql-ser 5.0.24a-3    mysql database server binaries

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to