Installing zabbix-frontend-php fails in noninteractive mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbconfig-common (Debian) |
Fix Released
|
Unknown
|
|||
dbconfig-common (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
## Issue
* When installing zabbix-frontend-php in noninteractive mode the install fails to determine the database type
## Environment
* Ubuntu 10.04 LTS (Lucid) x86_64
* zabbix-frontend-php & zabbix-server-mysql 1:1.8.1-1ubuntu1
* Using preseeding and Puppet (which uses apt in noninteractive mode, DEBIAN_
## Diagnostic Steps
1. Install Ubuntu 10.04 LTS
2. Install mysql-server
3. Preseed the zabbix-frontend-php & zabbix-server-mysql packages
4. Install the zabbix packages via puppet or 'sudo DEBIAN_
5. See the installation fail:
Setting up zabbix-frontend-php (1:1.8.1-1ubuntu1) ...
sanity check failed for dbc_dbtype.
error encountered :
dbconfig-common can not determine the database type.
dbconfig-common: zabbix-frontend-php configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing zabbix-frontend-php (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
zabbix-
E: Sub-process /usr/bin/dpkg returned an error code (1)
## Additional Information
The installation uses dbconfig-common (dbconfig-
This was also mentioned on Puppet-users some time ago:
http://
Regression potential should be considered low. The patch has been cherry picked from a later version, and has been out in the wild for a while.
Related branches
Changed in dbconfig-common (Debian): | |
status: | Unknown → Fix Released |
tags: | added: removal-candidate |
I am preseeding the following using debconf- set-selections before installing the packages:
mysql-server-5.1 mysql-server/ root_password_ again password root root_password password root server- mysql/dbconfig- install boolean true server- mysql/database- type select mysql server- mysql/mysql/ app-pass password zabbix server- mysql/app- password- confirm password zabbix server- mysql/mysql/ admin-pass password root server- mysql/password- confirm password root frontend- php/mysql/ app-pass password zabbix frontend- php/pgsql/ app-pass password zabbix frontend- php/database- type select mysql frontend- php/password- confirm password root frontend- php/mysql/ admin-pass password root frontend- php/app- password- confirm password zabbix frontend- php/pgsql/ admin-pass password frontend- php/mysql/ admin-user string root
mysql-server-5.1 mysql-server/
zabbix-server-mysql zabbix-
zabbix-server-mysql zabbix-
zabbix-server-mysql zabbix-
zabbix-server-mysql zabbix-
zabbix-server-mysql zabbix-
zabbix-server-mysql zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-
zabbix-frontend-php zabbix-