[Pkg-dspam-misc] Re: [Dbconfig-common-devel] Re: dbconfig common
and dspam backend mysql / postgresql.
sean finney
seanius at debian.org
Tue Nov 15 12:50:06 UTC 2005
hi matthijs,
On Tue, Nov 15, 2005 at 10:45:17AM +0100, Matthijs Mohlmann wrote:
> When I start the installation for the mysql backend, it tries to connect
> through localhost to the mysql server, while the mysql-server is running
> on a different host. I never get asked for the host of the mysql-server.
if you get this on a fresh install, you probably have your debconf
priority set higher than the question, which is low priority. what
happens if you do
dpkg-reconfigure -p low packagename
> > http://people.debian.org/~seanius/policy/dbconfig-common-using.html#genconfig
> >
> > for how this can be done. there's also a manpage. note that i'll soon
> > be importing the information into debiandoc format, and as a reuslt
> > the url may change later (in which case, i'll follow up here).
> >
> I need some examples how that is created, I take a look at your two
> packages in /usr/share/doc/dbconfig-common/examples.
did you read the documentation? basically, you can set some
variables in your postinst that tells dbconfig-common to create
(and register via ucf) custom-format config files based on
the dbconfig-settings. all you need to do is set the
variables before you call dbc_go, everything else is
handled by dbconfig-common. you'll still need to handle
removing the files, though.
> PS: make a To: of the two mailinglists. Somehow the messages don't come
> through at pkg-dspam-misc with a CC.
wierd. okay...
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20051115/bed48fff/attachment.pgp
More information about the Pkg-dspam-misc
mailing list