[Dbconfig-common-devel] dbconfig and default values
Radu Spineanu
radu at debian.org
Tue Apr 11 14:34:23 UTC 2006
Does dbconfig-common have a problem with dpkg ?
With that setup, i keep getting :
[...]
Creating config file /etc/dbconfig-common/simba.conf with new version
+ rm -f /tmp/dbconfig-package-config.4PRkj8
+ '[' perl:/etc/simba/simba-db.cfg ']'
+ '[' '' ']'
+ '[' 0640 ']'
+ dbc_generate_include_args='-f template -o
template_infile=/usr/share/doc/simba/simba-cfg.template -m 0640'
+ echo perl:/etc/simba/simba-db.cfg
+ grep -q -E '^[^:]*:'
++ echo perl:/etc/simba/simba-db.cfg
++ cut -d: -f1
+ iformat=perl
++ echo perl:/etc/simba/simba-db.cfg
++ cut -d: -f2
+ ofile=/etc/simba/simba-db.cfg
+ dbconfig-generate-include -a -f perl -f template -o
template_infile=/usr/share/doc/simba/simba-cfg.template -m 0640 -U
/etc/dbconfig-common/simba.conf /etc/simba/simba-db.cfg
Configuration file `/etc/simba/simba-db.cfg'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
S : show the side-by-side differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** simba-db.cfg (Y/I/N/O/D/Z) [default=N] ?
[...]
That file does not exist neither in the package or on the filesystem. If
i hit D:
--- /dev/null 2006-04-10 13:15:48.167259456 +0300
+++ /tmp/dbconfig-generate-include.lo0pUi 2006-04-11
17:10:28.215596400 +0300
@@ -0,0 +1,7 @@
+# local database configuration file:
+
+_db_config => {
+ dsn => 'dbi:mysql:database=simba;host=localhost;port=3306',
+ user => 'simba',
+ pass => 'Z31Ov3hnM43b',
+}
Radu
More information about the Dbconfig-common-devel
mailing list