[Bug 1553757] Re: dbconfig-common: writing config to /etc/dbconfig-common/maas-region-controller.conf stat: cannot stat '/etc/dbconfig-common/maas-region-controller.conf': No such file or directory

Paul Gevers 1553757 at bugs.launchpad.net
Mon Mar 7 20:59:33 UTC 2016


Hi Andres,

Maybe unrelated and I may not understand your intentions, but I see the
following in your maas-region-controller.config:
set_question() {
    if ! db_fget "$1" seen; then
        db_register dbconfig-common/dbconfig-install "$1"
        db_subst "$1" ID "$1"
        db_fget "$1" seen
    fi


Which gets called by:
    set_question maas-region-controller/dbconfig-install true
    set_question maas-region-controller/pgsql/app-pass ""
    set_question maas-region-controller/remote/host "localhost"

But isn't the question from the second set, the $1 in the first
function? So shouldn't that "db_register" line also register the other
questions and use the value provided as argument?

Paul

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dbconfig-common in Ubuntu.
https://bugs.launchpad.net/bugs/1553757

Title:
  dbconfig-common: writing config to /etc/dbconfig-common/maas-region-
  controller.conf stat: cannot stat '/etc/dbconfig-common/maas-region-
  controller.conf': No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbconfig-common/+bug/1553757/+subscriptions



More information about the Ubuntu-server-bugs mailing list