sean finney wrote: > hiya, > >>>>> mentioned in my previous email and then run >>>>> dpkg --configure -a >>>> dpkg -- configure -a gave me no output. >>>> A aptitude install rsyslog-mysql typed again gave me: >> Could you please do the same (add "set -x") with >> /var/lib/dpkg/info/rsyslog-mysql.config >> and try to reinstall rsyslog-mysql. >> >>> The real problem now is, why dbconfig-common is not called during the config >>> stage (i.e. you don't see any debconf prompts) >>> Do you have some special apt/dpkg/debconf configuration? > > even in noninteractive mode the templates ought to be registered. it could > be that the config script isn't running for some reason (you could also try > dpkg-reconfigure <pkg> but i'd also be interested in the set -x output of > the config maintainer script).
fwiw, I can also trigger an error in noninteractive mode (although a different one). postinst and dbc.log attached. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Setting up rsyslog-mysql (3.18.6-3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/rsyslog-mysql.postinst configure '' (config) dbc_go() rsyslog-mysql configure. dbc_config() rsyslog-mysql configure. dbc_set_dbtype_defaults() . dbc_register_debconf() . dbc_read_package_config() . dbc_preseed_package_debconf() . dbc_get_admin_pass() . dbc_get_app_pass() . + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + . /usr/share/dbconfig-common/dpkg/postinst + db_get rsyslog-mysql/db/dbname + _db_cmd 'GET rsyslog-mysql/db/dbname' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/db/dbname' + IFS=' ' + read -r _db_internal_line + RET=Syslog + case ${_db_internal_line%%[ ]*} in + return 0 + DATABASE=Syslog + db_get rsyslog-mysql/db/app-user + _db_cmd 'GET rsyslog-mysql/db/app-user' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/db/app-user' + IFS=' ' + read -r _db_internal_line + RET=rsyslog + case ${_db_internal_line%%[ ]*} in + return 0 + USER=rsyslog + db_get rsyslog-mysql/mysql/app-pass + _db_cmd 'GET rsyslog-mysql/mysql/app-pass' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/mysql/app-pass' + IFS=' ' + read -r _db_internal_line + RET=igRgqVolr3CV + case ${_db_internal_line%%[ ]*} in + return 0 + PASS=igRgqVolr3CV + db_get rsyslog-mysql/remote/host + _db_cmd 'GET rsyslog-mysql/remote/host' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/remote/host' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + HOST= + '[' -z '' ']' + HOST=localhost + dbc_go rsyslog-mysql configure + local importing_from_non_dbc upgrading reconfiguring f tsubstfile upgrades_pending dbc_dumpfile _dbc_asuser reinstall + . /usr/share/dbconfig-common/dpkg/common ++ . /usr/share/dbconfig-common/internal/common +++ '[' '' ']' +++ _dbc_logfile=/var/log/dbconfig-common/dbc.log + _dbc_debug '(postinst) dbc_go() rsyslog-mysql' configure + '[' 1 ']' + dbc_logline '(postinst) dbc_go() rsyslog-mysql' configure + printf '(postinst) dbc_go() rsyslog-mysql configure.\n' (postinst) dbc_go() rsyslog-mysql configure. + printf '(postinst) dbc_go() rsyslog-mysql configure.\n' + dbc_config rsyslog-mysql configure + _dbc_debug 'dbc_config() rsyslog-mysql' configure + '[' 1 ']' + dbc_logline 'dbc_config() rsyslog-mysql' configure + printf 'dbc_config() rsyslog-mysql configure.\n' dbc_config() rsyslog-mysql configure. + printf 'dbc_config() rsyslog-mysql configure.\n' + dbc_share=/usr/share/dbconfig-common + dbc_package=rsyslog-mysql ++ echo rsyslog-mysql ++ cut -d_ -f1 + dbc_basepackage=rsyslog-mysql + dbc_command=configure + dbc_oldversion= + _dbc_sanity_check package command + '[' 2 -ne 0 ']' + case "$1" in + '[' -z rsyslog-mysql ']' + shift + '[' 1 -ne 0 ']' + case "$1" in + '[' -z configure ']' + shift + '[' 0 -ne 0 ']' + dbc_confdir=/etc/dbconfig-common + dbc_globalconfig=/etc/dbconfig-common/config + dbc_packageconfig=/etc/dbconfig-common/rsyslog-mysql.conf + dbc_standard_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error' + dbc_mysql_templates='mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user' + dbc_pgsql_templates='pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords' + dbc_sqlite_templates='db/dbname db/basepath' + dbc_all_supported_dbtypes='mysql pgsql sqlite sqlite3' + dbc_authenticated_dbtypes='mysql pgsql' + dbc_remote_dbtypes='mysql pgsql' + dbc_fs_dbtypes='sqlite sqlite3' + '[' -f /etc/dbconfig-common/config ']' + . /etc/dbconfig-common/config ++ dbc_remember_admin_pass=false ++ dbc_remote_questions_default=false + '[' false = true ']' + dbc_remote_questions_priority=low + dbc_default_pgsql_authmethod_admin=ident + dbc_set_dbtype_defaults + _dbc_debug 'dbc_set_dbtype_defaults() ' + '[' 1 ']' + dbc_logline 'dbc_set_dbtype_defaults() ' + printf 'dbc_set_dbtype_defaults() .\n' dbc_set_dbtype_defaults() . + printf 'dbc_set_dbtype_defaults() .\n' + '[' '' ']' + dbc_default_basepath= + dbc_db_installed_cmd=dbc__db_installed + case $dbc_dbtype in + dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords db/dbname db/basepath' + '[' '' ']' + '[' configure = configure ']' + dbc_read_package_debconf + _dbc_debug 'dbc_read_package_debconf() ' + '[' 1 ']' + dbc_logline 'dbc_read_package_debconf() ' + printf 'dbc_read_package_debconf() .\n' dbc_read_package_debconf() . + printf 'dbc_read_package_debconf() .\n' + _dbc_sanity_check package + '[' 1 -ne 0 ']' + case "$1" in + '[' -z rsyslog-mysql ']' + shift + '[' 0 -ne 0 ']' + '[' '!' '' ']' + db_get rsyslog-mysql/database-type + _db_cmd 'GET rsyslog-mysql/database-type' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/database-type' + IFS=' ' + read -r _db_internal_line + RET=mysql + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbtype=mysql + dbc_set_dbtype_defaults mysql + _dbc_debug 'dbc_set_dbtype_defaults() mysql' + '[' 1 ']' + dbc_logline 'dbc_set_dbtype_defaults() mysql' + printf 'dbc_set_dbtype_defaults() mysql.\n' dbc_set_dbtype_defaults() mysql. + printf 'dbc_set_dbtype_defaults() mysql.\n' + '[' '' ']' + dbc_default_basepath= + dbc_db_installed_cmd=dbc_mysql_db_installed + case $dbc_dbtype in + . /usr/share/dbconfig-common/internal/mysql ++ . /usr/share/dbconfig-common/internal/common +++ '[' /var/log/dbconfig-common/dbc.log ']' + dbc_createuser_cmd=dbc_mysql_createuser + dbc_checkuser_cmd=dbc_mysql_check_user + dbc_createdb_cmd=dbc_mysql_createdb + dbc_dropdb_cmd=dbc_mysql_dropdb + dbc_dropuser_cmd=dbc_mysql_dropuser + dbc_sqlexec_cmd=dbc_mysql_exec_command + dbc_sqlfile_cmd=dbc_mysql_exec_file + dbc_dump_cmd=dbc_mysql_dump + dbc_register_templates='database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user' + dbc_default_admin=root ++ echo rsyslog-mysql ++ tr -d +. ++ cut -c -16 + dbc_default_dbuser=rsyslog-mysql + dbc_dbvendor=MySQL + dbc_dbpackage=mysql-server + dbc_dbclientpackage=mysql-client + '[' '' ']' + db_get rsyslog-mysql/dbconfig-install + _db_cmd 'GET rsyslog-mysql/dbconfig-install' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/dbconfig-install' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_install=true + db_get rsyslog-mysql/dbconfig-upgrade + _db_cmd 'GET rsyslog-mysql/dbconfig-upgrade' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/dbconfig-upgrade' + IFS=' ' + read -r _db_internal_line + RET=true + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_upgrade=true + db_get rsyslog-mysql/dbconfig-remove + _db_cmd 'GET rsyslog-mysql/dbconfig-remove' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/dbconfig-remove' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_remove= + '[' true '!=' true ']' + _dbc_sanity_check dbtype + '[' 1 -ne 0 ']' + case "$1" in + '[' -z mysql ']' + shift + '[' 0 -ne 0 ']' + echo 'mysql pgsql' + grep -q mysql + db_get rsyslog-mysql/db/app-user + _db_cmd 'GET rsyslog-mysql/db/app-user' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/db/app-user' + IFS=' ' + read -r _db_internal_line + RET=rsyslog + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbuser=rsyslog + db_get rsyslog-mysql/mysql/app-pass + _db_cmd 'GET rsyslog-mysql/mysql/app-pass' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/mysql/app-pass' + IFS=' ' + read -r _db_internal_line + RET=igRgqVolr3CV + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbpass=igRgqVolr3CV + db_get rsyslog-mysql/mysql/admin-user + _db_cmd 'GET rsyslog-mysql/mysql/admin-user' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/mysql/admin-user' + IFS=' ' + read -r _db_internal_line + RET=root + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbadmin=root + db_get rsyslog-mysql/mysql/admin-pass + _db_cmd 'GET rsyslog-mysql/mysql/admin-pass' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/mysql/admin-pass' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbadmpass= + echo 'mysql pgsql' + grep -q mysql + db_get rsyslog-mysql/remote/host + _db_cmd 'GET rsyslog-mysql/remote/host' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/remote/host' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbserver= + db_get rsyslog-mysql/remote/port + _db_cmd 'GET rsyslog-mysql/remote/port' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/remote/port' + IFS=' ' + read -r _db_internal_line + RET= + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbport= + echo 'sqlite sqlite3' + grep -qa mysql + db_get rsyslog-mysql/db/dbname + _db_cmd 'GET rsyslog-mysql/db/dbname' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/db/dbname' + IFS=' ' + read -r _db_internal_line + RET=Syslog + case ${_db_internal_line%%[ ]*} in + return 0 + dbc_dbname=Syslog + case $dbc_dbtype in + '[' 1 ']' + _dbc_debug 'settings determined from dbc_read_package_debconf:' + '[' 1 ']' + dbc_logline 'settings determined from dbc_read_package_debconf:' + printf 'settings determined from dbc_read_package_debconf:.\n' settings determined from dbc_read_package_debconf:. + printf 'settings determined from dbc_read_package_debconf:.\n' + _dbc_debug '\tdbc_install=true' + '[' 1 ']' + dbc_logline '\tdbc_install=true' + printf '\tdbc_install=true.\n' dbc_install=true. + printf '\tdbc_install=true.\n' + _dbc_debug '\tdbc_upgrade=true' + '[' 1 ']' + dbc_logline '\tdbc_upgrade=true' + printf '\tdbc_upgrade=true.\n' dbc_upgrade=true. + printf '\tdbc_upgrade=true.\n' + _dbc_debug '\tdbc_remove=' + '[' 1 ']' + dbc_logline '\tdbc_remove=' + printf '\tdbc_remove=.\n' dbc_remove=. + printf '\tdbc_remove=.\n' + _dbc_debug '\tdbc_dbtype=mysql' + '[' 1 ']' + dbc_logline '\tdbc_dbtype=mysql' + printf '\tdbc_dbtype=mysql.\n' dbc_dbtype=mysql. + printf '\tdbc_dbtype=mysql.\n' + _dbc_debug '\tdbc_dbuser=rsyslog' + '[' 1 ']' + dbc_logline '\tdbc_dbuser=rsyslog' + printf '\tdbc_dbuser=rsyslog.\n' dbc_dbuser=rsyslog. + printf '\tdbc_dbuser=rsyslog.\n' + _dbc_debug '\tdbc_dbpass=igRgqVolr3CV' + '[' 1 ']' + dbc_logline '\tdbc_dbpass=igRgqVolr3CV' + printf '\tdbc_dbpass=igRgqVolr3CV.\n' dbc_dbpass=igRgqVolr3CV. + printf '\tdbc_dbpass=igRgqVolr3CV.\n' + _dbc_debug '\tdbc_dbadmin=root' + '[' 1 ']' + dbc_logline '\tdbc_dbadmin=root' + printf '\tdbc_dbadmin=root.\n' dbc_dbadmin=root. + printf '\tdbc_dbadmin=root.\n' + _dbc_debug '\tdbc_dbadmpass=' + '[' 1 ']' + dbc_logline '\tdbc_dbadmpass=' + printf '\tdbc_dbadmpass=.\n' dbc_dbadmpass=. + printf '\tdbc_dbadmpass=.\n' + _dbc_debug '\tdbc_dbserver=' + '[' 1 ']' + dbc_logline '\tdbc_dbserver=' + printf '\tdbc_dbserver=.\n' dbc_dbserver=. + printf '\tdbc_dbserver=.\n' + _dbc_debug '\tdbc_dbport=' + '[' 1 ']' + dbc_logline '\tdbc_dbport=' + printf '\tdbc_dbport=.\n' dbc_dbport=. + printf '\tdbc_dbport=.\n' + _dbc_debug '\tdbc_dbname=Syslog' + '[' 1 ']' + dbc_logline '\tdbc_dbname=Syslog' + printf '\tdbc_dbname=Syslog.\n' dbc_dbname=Syslog. + printf '\tdbc_dbname=Syslog.\n' + _dbc_debug '\tdbc_authmethod_admin=' + '[' 1 ']' + dbc_logline '\tdbc_authmethod_admin=' + printf '\tdbc_authmethod_admin=.\n' dbc_authmethod_admin=. + printf '\tdbc_authmethod_admin=.\n' + _dbc_debug '\tdbc_authmethod_user=' + '[' 1 ']' + dbc_logline '\tdbc_authmethod_user=' + printf '\tdbc_authmethod_user=.\n' dbc_authmethod_user=. + printf '\tdbc_authmethod_user=.\n' + _dbc_debug '\tdbc_ssl=' + '[' 1 ']' + dbc_logline '\tdbc_ssl=' + printf '\tdbc_ssl=.\n' dbc_ssl=. + printf '\tdbc_ssl=.\n' + dbc_write_package_config + local iformat ofile tfile + _dbc_debug 'dbc_write_package_config() ' + '[' 1 ']' + dbc_logline 'dbc_write_package_config() ' + printf 'dbc_write_package_config() .\n' dbc_write_package_config() . + printf 'dbc_write_package_config() .\n' + _dbc_sanity_check packageconfig + '[' 1 -ne 0 ']' + case "$1" in + '[' -z /etc/dbconfig-common/rsyslog-mysql.conf ']' + shift + '[' 0 -ne 0 ']' + echo 'dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-mysql.conf' dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-mysql.conf ++ mktemp -t dbconfig-package-config.XXXXXX + tfile=/tmp/dbconfig-package-config.FJRtWE + '[' '' ']' + '[' '' = 'tcp/ip + ssl' ']' + cat ++ dbc_sq_escape true ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape true ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape mysql ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape rsyslog ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape igRgqVolr3CV ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape Syslog ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape root ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dbc_sq_escape ++ sed -e 's,'\'','\''\\'\'''\'',g' ++ dirname /etc/dbconfig-common/rsyslog-mysql.conf + mkdir -p /etc/dbconfig-common + ucf /tmp/dbconfig-package-config.FJRtWE /etc/dbconfig-common/rsyslog-mysql.conf *** WARNING: ucf was run from a maintainer script that uses debconf, but the script did not pass --debconf-ok to ucf. The maintainer script should be fixed to not stop debconf before calling ucf, and pass it this parameter. For now, ucf will revert to using old-style, non-debconf prompting. Ugh! Please inform the package maintainer about this problem. + rm -f /tmp/dbconfig-package-config.FJRtWE + '[' '' ']' + dbc_read_package_config + _dbc_debug 'dbc_read_package_config() ' + '[' 1 ']' + dbc_logline 'dbc_read_package_config() ' + printf 'dbc_read_package_config() .\n' dbc_read_package_config() . + printf 'dbc_read_package_config() .\n' + _dbc_sanity_check package packageconfig + '[' 2 -ne 0 ']' + case "$1" in + '[' -z rsyslog-mysql ']' + shift + '[' 1 -ne 0 ']' + case "$1" in + '[' -z /etc/dbconfig-common/rsyslog-mysql.conf ']' + shift + '[' 0 -ne 0 ']' + dbc_install=true + dbc_upgrade=true + '[' -f /etc/dbconfig-common/rsyslog-mysql.conf ']' + . /etc/dbconfig-common/rsyslog-mysql.conf ++ dbc_install=true ++ dbc_upgrade=true ++ dbc_remove= ++ dbc_dbtype=mysql ++ dbc_dbuser=rsyslog ++ dbc_dbpass=igRgqVolr3CV ++ dbc_dbserver= ++ dbc_dbport= ++ dbc_dbname=Syslog ++ dbc_dbadmin=root ++ dbc_basepath= ++ dbc_ssl= ++ dbc_authmethod_admin= ++ dbc_authmethod_user= + '[' -z '' ']' + dbc_dballow=localhost + '[' true '!=' true ']' + '[' '' ']' + '[' '' ']' + '[' '' ']' + '[' '!' '' ']' + dbc_detect_installed_dbtype mysql + _dbc_debug 'dbc_detect_installed_dbtype() mysql' + '[' 1 ']' + dbc_logline 'dbc_detect_installed_dbtype() mysql' + printf 'dbc_detect_installed_dbtype() mysql.\n' dbc_detect_installed_dbtype() mysql. + printf 'dbc_detect_installed_dbtype() mysql.\n' + _dbc_detect_installed_dbtype mysql + _dbc_debug '_dbc_detect_installed_dbtype() mysql' + '[' 1 ']' + dbc_logline '_dbc_detect_installed_dbtype() mysql' + printf '_dbc_detect_installed_dbtype() mysql.\n' _dbc_detect_installed_dbtype() mysql. + printf '_dbc_detect_installed_dbtype() mysql.\n' + case "$1" in + which mysql + return 1 + dbc_missing_db_package_error mysql-client + local question + echo 'warning: database package not installed?' warning: database package not installed? + question=rsyslog-mysql/missing-db-package-error + db_fset rsyslog-mysql/missing-db-package-error seen false + _db_cmd 'FSET rsyslog-mysql/missing-db-package-error' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/missing-db-package-error seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + db_subst rsyslog-mysql/missing-db-package-error dbpackage mysql-client + _db_cmd 'SUBST rsyslog-mysql/missing-db-package-error' dbpackage mysql-client + IFS=' ' + printf '%s\n' 'SUBST rsyslog-mysql/missing-db-package-error dbpackage mysql-client' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_input critical rsyslog-mysql/missing-db-package-error + _db_cmd 'INPUT critical' rsyslog-mysql/missing-db-package-error + IFS=' ' + printf '%s\n' 'INPUT critical rsyslog-mysql/missing-db-package-error' + IFS=' ' + read -r _db_internal_line + RET='30 question skipped' + case ${_db_internal_line%%[ ]*} in + return 30 + true + db_go + _db_cmd 'GO ' + IFS=' ' + printf '%s\n' 'GO ' + IFS=' ' + read -r _db_internal_line + RET=ok + case ${_db_internal_line%%[ ]*} in + return 0 + db_get rsyslog-mysql/missing-db-package-error + _db_cmd 'GET rsyslog-mysql/missing-db-package-error' + IFS=' ' + printf '%s\n' 'GET rsyslog-mysql/missing-db-package-error' + IFS=' ' + read -r _db_internal_line + RET=abort + case ${_db_internal_line%%[ ]*} in + return 0 + _dbc_on_error_option=abort + '[' abort = abort ']' + dbc_abort + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/database-type seen false + _db_cmd 'FSET rsyslog-mysql/database-type' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/database-type seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/dbconfig-install seen false + _db_cmd 'FSET rsyslog-mysql/dbconfig-install' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/dbconfig-install seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/dbconfig-upgrade seen false + _db_cmd 'FSET rsyslog-mysql/dbconfig-upgrade' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/dbconfig-upgrade seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/dbconfig-remove seen false + _db_cmd 'FSET rsyslog-mysql/dbconfig-remove' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/dbconfig-remove seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/dbconfig-reinstall seen false + _db_cmd 'FSET rsyslog-mysql/dbconfig-reinstall' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/dbconfig-reinstall seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/password-confirm seen false + _db_cmd 'FSET rsyslog-mysql/password-confirm' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/password-confirm seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/app-password-confirm seen false + _db_cmd 'FSET rsyslog-mysql/app-password-confirm' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/app-password-confirm seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/purge seen false + _db_cmd 'FSET rsyslog-mysql/purge' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/purge seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/upgrade-backup seen false + _db_cmd 'FSET rsyslog-mysql/upgrade-backup' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/upgrade-backup seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/passwords-do-not-match seen false + _db_cmd 'FSET rsyslog-mysql/passwords-do-not-match' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/passwords-do-not-match seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/install-error seen false + _db_cmd 'FSET rsyslog-mysql/install-error' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/install-error seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/upgrade-error seen false + _db_cmd 'FSET rsyslog-mysql/upgrade-error' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/upgrade-error seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/remove-error seen false + _db_cmd 'FSET rsyslog-mysql/remove-error' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/remove-error seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/internal/reconfiguring seen false + _db_cmd 'FSET rsyslog-mysql/internal/reconfiguring' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/internal/reconfiguring seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/internal/skip-preseed seen false + _db_cmd 'FSET rsyslog-mysql/internal/skip-preseed' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/internal/skip-preseed seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/missing-db-package-error seen false + _db_cmd 'FSET rsyslog-mysql/missing-db-package-error' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/missing-db-package-error seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/mysql/method seen false + _db_cmd 'FSET rsyslog-mysql/mysql/method' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/method seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/remote/host seen false + _db_cmd 'FSET rsyslog-mysql/remote/host' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/remote/host seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/remote/newhost seen false + _db_cmd 'FSET rsyslog-mysql/remote/newhost' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/remote/newhost seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/mysql/app-pass seen false + _db_cmd 'FSET rsyslog-mysql/mysql/app-pass' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/app-pass seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/mysql/admin-user seen false + _db_cmd 'FSET rsyslog-mysql/mysql/admin-user' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/admin-user seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/mysql/admin-pass seen false + _db_cmd 'FSET rsyslog-mysql/mysql/admin-pass' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/admin-pass seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/remote/port seen false + _db_cmd 'FSET rsyslog-mysql/remote/port' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/remote/port seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/db/dbname seen false + _db_cmd 'FSET rsyslog-mysql/db/dbname' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/db/dbname seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + for f in '$dbc_register_templates' + db_fset rsyslog-mysql/db/app-user seen false + _db_cmd 'FSET rsyslog-mysql/db/app-user' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/db/app-user seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + echo 'dbconfig-common: rsyslog-mysql configure: aborted.' dbconfig-common: rsyslog-mysql configure: aborted. + dbc_postinst_cleanup + _dbc_debug 'dbc_postinst_cleanup() ' + '[' 1 ']' + dbc_logline 'dbc_postinst_cleanup() ' + printf 'dbc_postinst_cleanup() .\n' dbc_postinst_cleanup() . + printf 'dbc_postinst_cleanup() .\n' + echo 'mysql pgsql' + grep -q mysql + '[' false '!=' true ']' + dbc_forget_dbadmin_password + _dbc_debug 'dbc_forget_dbadmin_password() ' + '[' 1 ']' + dbc_logline 'dbc_forget_dbadmin_password() ' + printf 'dbc_forget_dbadmin_password() .\n' dbc_forget_dbadmin_password() . + printf 'dbc_forget_dbadmin_password() .\n' + echo dbconfig-common: flushing administrative password dbconfig-common: flushing administrative password + db_reset rsyslog-mysql/mysql/admin-pass + _db_cmd 'RESET rsyslog-mysql/mysql/admin-pass' + IFS=' ' + printf '%s\n' 'RESET rsyslog-mysql/mysql/admin-pass' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset rsyslog-mysql/mysql/admin-pass seen false + _db_cmd 'FSET rsyslog-mysql/mysql/admin-pass' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/admin-pass seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + db_reset rsyslog-mysql/password-confirm + _db_cmd 'RESET rsyslog-mysql/password-confirm' + IFS=' ' + printf '%s\n' 'RESET rsyslog-mysql/password-confirm' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset rsyslog-mysql/password-confirm seen false + _db_cmd 'FSET rsyslog-mysql/password-confirm' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/password-confirm seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' '' '!=' true ']' + dbc_forget_app_password + _dbc_debug 'dbc_forget_app_password() ' + '[' 1 ']' + dbc_logline 'dbc_forget_app_password() ' + printf 'dbc_forget_app_password() .\n' dbc_forget_app_password() . + printf 'dbc_forget_app_password() .\n' + db_reset rsyslog-mysql/mysql/app-pass + _db_cmd 'RESET rsyslog-mysql/mysql/app-pass' + IFS=' ' + printf '%s\n' 'RESET rsyslog-mysql/mysql/app-pass' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset rsyslog-mysql/mysql/app-pass seen false + _db_cmd 'FSET rsyslog-mysql/mysql/app-pass' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/mysql/app-pass seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + db_reset rsyslog-mysql/app-password-confirm + _db_cmd 'RESET rsyslog-mysql/app-password-confirm' + IFS=' ' + printf '%s\n' 'RESET rsyslog-mysql/app-password-confirm' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + db_fset rsyslog-mysql/app-password-confirm seen false + _db_cmd 'FSET rsyslog-mysql/app-password-confirm' seen false + IFS=' ' + printf '%s\n' 'FSET rsyslog-mysql/app-password-confirm seen false' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + db_reset rsyslog-mysql/internal/skip-preseed + _db_cmd 'RESET rsyslog-mysql/internal/skip-preseed' + IFS=' ' + printf '%s\n' 'RESET rsyslog-mysql/internal/skip-preseed' + IFS=' ' + read -r _db_internal_line + RET=0 + case ${_db_internal_line%%[ ]*} in + return 0 + return 1 dpkg: error processing rsyslog-mysql (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: rsyslog-mysql
(config) dbc_go() rsyslog-mysql configure. dbc_config() rsyslog-mysql configure. dbc_set_dbtype_defaults() . dbc_register_debconf() . dbc_read_package_config() . dbc_preseed_package_debconf() . dbc_get_admin_pass() . dbc_get_app_pass() . (postinst) dbc_go() rsyslog-mysql configure. dbc_config() rsyslog-mysql configure. dbc_set_dbtype_defaults() . dbc_read_package_debconf() . dbc_set_dbtype_defaults() mysql. settings determined from dbc_read_package_debconf:. dbc_install=true. dbc_upgrade=true. dbc_remove=. dbc_dbtype=mysql. dbc_dbuser=rsyslog. dbc_dbpass=igRgqVolr3CV. dbc_dbadmin=root. dbc_dbadmpass=. dbc_dbserver=. dbc_dbport=. dbc_dbname=Syslog. dbc_authmethod_admin=. dbc_authmethod_user=. dbc_ssl=. dbc_write_package_config() . dbc_read_package_config() . dbc_detect_installed_dbtype() mysql. _dbc_detect_installed_dbtype() mysql. dbc_postinst_cleanup() . dbc_forget_dbadmin_password() . dbc_forget_app_password() . (config) dbc_go() rsyslog-mysql configure. dbc_config() rsyslog-mysql configure. dbc_set_dbtype_defaults() . dbc_register_debconf() . dbc_read_package_config() . dbc_preseed_package_debconf() . dbc_get_admin_pass() . dbc_get_app_pass() . (postinst) dbc_go() rsyslog-mysql configure. dbc_config() rsyslog-mysql configure. dbc_set_dbtype_defaults() . dbc_read_package_debconf() . dbc_set_dbtype_defaults() mysql. settings determined from dbc_read_package_debconf:. dbc_install=true. dbc_upgrade=true. dbc_remove=. dbc_dbtype=mysql. dbc_dbuser=rsyslog. dbc_dbpass=igRgqVolr3CV. dbc_dbadmin=root. dbc_dbadmpass=. dbc_dbserver=. dbc_dbport=. dbc_dbname=Syslog. dbc_authmethod_admin=. dbc_authmethod_user=. dbc_ssl=. dbc_write_package_config() . dbc_read_package_config() . dbc_detect_installed_dbtype() mysql. _dbc_detect_installed_dbtype() mysql. dbc_postinst_cleanup() . dbc_forget_dbadmin_password() . dbc_forget_app_password() .
signature.asc
Description: OpenPGP digital signature