Package: jffnms
Version: 0.8.1-2
Tags: patch
Followup-For: Bug #322110

Hi,

there is a bug in jffnms.config which prevents the configure script
from using the dbadmin debconf option. The config script should not
set the dbadmin option, because it is called twice. The first time it
is called during debconf preconfiguration. The second time it is
called during configuration but the debconf questions are not asked
again. I think you should also not set the configapache option.

Here is a patch:

--- /var/lib/dpkg/info/jffnms.config~   2005-04-06 01:22:15.000000000 +0200
+++ /var/lib/dpkg/info/jffnms.config    2005-08-11 16:26:04.000000000 +0200
@@ -16,7 +16,7 @@
 db_set "jffnms/compresslogs" $COMPRESSLOGS
 db_set "jffnms/deletelogs" $DELETELOGS
 
-db_set "jffnms/dbadmin" "root" || true
+#db_set "jffnms/dbadmin" "root" || true
 db_set "jffnms/configapache" "Apache" || true
 # Configure apache?
 db_input medium "jffnms/configapache" || true

Christoph

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (99, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages jffnms depends on:
ii  apache [httpd]               1.3.33-6    versatile, high-performance HTTP s
ii  debconf                      1.4.30.13   Debian configuration management sy
ii  php4                         4:4.3.10-15 server-side, HTML-embedded scripti
ii  php4-cli                     4:4.3.10-15 command-line interpreter for the p
ii  php4-gd [php4-gd2]           4:4.3.10-15 GD module for php4
ii  php4-pgsql                   3:4.3.10-4  PostgreSQL module for php4
ii  php4-snmp                    4:4.3.10-15 SNMP module for php4
ii  rrdtool                      1.0.49-1    Time-series data storage and displ
ii  wwwconfig-common             0.0.43      Debian web auto configuration

-- debconf information:
* jffnms/dbadmpass: (password omitted)
* jffnms/dbpass: (password omitted)
* jffnms/dbcreate: true
  jffnms/erroruid:
* jffnms/configapache: Apache
  jffnms/createdb_error:
* jffnms/deletelogs: 7
* jffnms/compresslogs: 2
* jffnms/dbhost: localhost
  jffnms/errorgid:
* jffnms/dbadmin: postgres
* jffnms/dbuser: jffnms
* jffnms/dbtype: postgresql
* jffnms/upgradedb: true
* jffnms/dbname: jffnms
  jffnms/nosqlupgrade:


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

Reply via email to