On Mon, 10 Mar 2014 21:47:20 +0200 Andrey Utkin <andrey.ut...@corp.bluecherry.net> wrote: > The concern is that user is asked whether they want to perform DB > upgrade, and default answer is "no". For us, ideally it should perform > it without asking.
Are you talking from a system administrator perspective, or from a package maintainer perspective? If the later, which package? > dbconfig-common does not document any parameter to override its > behavior regarding this, and this is likely still actual for latest > version, too. All the default answers that are used during package config/postinst/postrm/preinst/prerm are stored in /etc/dbconfig-common/<package>.conf and can be changed there before taking action. I assume this is not what you mean. > We appreciate > - addition of such parameter, Please elaborate what you want to achieve exactly. > - documentation on achieving the behavior descibed above, > - workaround suggestions. If you are concerned about package maintainership, I think you can do this for new installs by doing "db_set <package>/dbconfig-upgrade true" before calling dbconfig-common in the maintainer scripts. Paul
signature.asc
Description: OpenPGP digital signature