variables defined in maintanier script overriden by global config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbconfig-common (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
This is an upstream bug.
Currently in /usr/share/
This function calls dbc_config $@ few times (Lines 10 and 163).
dbc_config loads global configuration file for dbconfig-common localized in /etc/dbconfig-
Values from this file override these provided by package maintainer in package.postinst etc.
This is unusual and in my opinion wrong behavior.
For example - maintainer wants to avoid dependency on mysql-server package and wants to enable an ability to configure package with dbconfig-common and remote connection to some mysql-server on remote host.
Then in package.config:
dbc_
. /usr/share/
dbc_go dbconfig-test $@
Unfortunately true for dbc_remote_
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dbconfig-common 1.8.47
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Thu Oct 11 02:45:41 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: dbconfig-common
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in dbconfig-common (Ubuntu): | |
importance: | Undecided → Low |
Status changed to 'Confirmed' because the bug affects multiple users.