[Pkg-roundcube-maintainers] Bug#801973: Bug#801973: error 255 on package configuration

e-mmanuel e-mmanuel at proxymail.eu
Thu Nov 12 12:16:30 UTC 2015


Hello,
Same behavior during the upgrade to 1.1.3+dfsg.1-1.
With "set -x" option in /var/lib/dpkg/info/roundcube-core.postinst, the 
upgrade has no error !

Here is the output :

Paramétrage de roundcube-core (1.1.3+dfsg.1-1) ...
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/roundcube-core.postinst configure 1.1.2+dfsg.1-5
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ . /usr/share/dbconfig-common/dpkg/postinst
+ dbc_generate_include=php:/etc/roundcube/debian-db.php
+ dbc_generate_include_owner=root:www-data
+ dbc_generate_include_perms=640
+ dbc_dbfile_owner=www-data:www-data
+ dbc_dbfile_perms=0660
+ dbc_dbuser=roundcube
+ dbc_dbname=roundcube
+ dbc_go roundcube configure 1.1.2+dfsg.1-5
+ local importing_from_non_dbc upgrading reconfiguring f tsubstfile upgrades_pending dbc_dumpfile _dbc_asuser reinstall nowtime need_adminpw
+ . /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() roundcube configure 1.1.2+dfsg.1-5
+ [  ]
+ dbc_config roundcube configure 1.1.2+dfsg.1-5
+ _dbc_debug dbc_config() roundcube configure 1.1.2+dfsg.1-5
+ [  ]
+ dbc_share=/usr/share/dbconfig-common
+ dbc_package=roundcube
+ echo roundcube
+ cut -d_ -f1
+ dbc_basepackage=roundcube
+ dbc_command=configure
+ dbc_oldversion=1.1.2+dfsg.1-5
+ _dbc_sanity_check package command
+ [ 2 -ne 0 ]
+ [ -z roundcube ]
+ shift
+ [ 1 -ne 0 ]
+ [ -z configure ]
+ shift
+ [ 0 -ne 0 ]
+ dbc_confdir=/etc/dbconfig-common
+ dbc_globalconfig=/etc/dbconfig-common/config
+ dbc_packageconfig=/etc/dbconfig-common/roundcube.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
+ [ !  ]
+ dbc_prio_low=low
+ [ !  ]
+ dbc_prio_medium=medium
+ [ !  ]
+ dbc_prio_high=high
+ [ !  ]
+ dbc_prio_critical=critical
+ [ false = true ]
+ dbc_remote_questions_priority=low
+ dbc_default_pgsql_authmethod_admin=ident
+ dbc_set_dbtype_defaults
+ _dbc_debug dbc_set_dbtype_defaults()
+ [  ]
+ [  ]
+ dbc_default_basepath=
+ dbc_db_installed_cmd=dbc__db_installed
+ 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
+ [  ]
+ dbc_dgi_on_manual=true
+ [ configure = configure ]
+ dbc_read_package_debconf
+ local tmp_dballow
+ _dbc_debug dbc_read_package_debconf()
+ [  ]
+ _dbc_sanity_check package
+ [ 1 -ne 0 ]
+ [ -z roundcube ]
+ shift
+ [ 0 -ne 0 ]
+ [ !  ]
+ db_get roundcube/database-type
+ _db_cmd GET roundcube/database-type
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/database-type
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=mysql
+ return 0
+ dbc_dbtype=mysql
+ dbc_set_dbtype_defaults mysql
+ _dbc_debug dbc_set_dbtype_defaults() mysql
+ [  ]
+ [  ]
+ dbc_default_basepath=
+ dbc_db_installed_cmd=dbc_mysql_db_installed
+ . /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 roundcube
+ cut -c -16
+ tr -d +.
+ dbc_default_dbuser=roundcube
+ dbc_dbvendor=MySQL
+ dbc_dbpackage=mysql-server
+ dbc_dbclientpackage=mysql-client
+ [  ]
+ db_get roundcube/dbconfig-install
+ _db_cmd GET roundcube/dbconfig-install
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/dbconfig-install
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=true
+ return 0
+ dbc_install=true
+ db_get roundcube/dbconfig-upgrade
+ _db_cmd GET roundcube/dbconfig-upgrade
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/dbconfig-upgrade
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=true
+ return 0
+ dbc_upgrade=true
+ db_get roundcube/dbconfig-remove
+ _db_cmd GET roundcube/dbconfig-remove
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/dbconfig-remove
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=true
+ return 0
+ dbc_remove=true
+ grep -q mysql
+ echo mysql pgsql
+ db_get roundcube/db/app-user
+ _db_cmd GET roundcube/db/app-user
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/db/app-user
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=roundcube
+ return 0
+ echo roundcube
+ sed s/\(.*\)@\([^@]*\)/\1/
+ dbc_dbuser=roundcube
+ echo+  roundcube
sed -e s/^[^@]*$// -e s/.*@\([^@]*\)/\1/
+ tmp_dballow=
+ [ ]
+ [ mysql ]
+ db_get roundcube/mysql/app-pass
+ _db_cmd GET roundcube/mysql/app-pass
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/mysql/app-pass
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=@mM!b87gf=
+ return 0
+ dbc_dbpass=@mM!b87gf=
+ db_get roundcube/mysql/admin-user
+ _db_cmd GET roundcube/mysql/admin-user
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/mysql/admin-user
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=root
+ return 0
+ dbc_dbadmin=root
+ db_get roundcube/mysql/admin-pass
+ _db_cmd GET roundcube/mysql/admin-pass
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/mysql/admin-pass
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=
+ return 0
+ dbc_dbadmpass=
+ grep -q mysql
+ echo mysql pgsql
+ db_get roundcube/remote/host
+ _db_cmd GET roundcube/remote/host
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/remote/host
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=
+ return 0
+ dbc_dbserver=
+ db_get roundcube/remote/port
+ _db_cmd GET roundcube/remote/port
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/remote/port
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=
+ return 0
+ dbc_dbport=
+ grep -qa mysql
+ echo sqlite sqlite3
+ db_get roundcube/db/dbname
+ _db_cmd GET roundcube/db/dbname
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/db/dbname
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=roundcube
+ return 0
+ dbc_dbname=roundcube
+ [  ]
+ dbc_write_package_config
+ local iformat ofile tfile
+ _dbc_debug dbc_write_package_config()
+ [  ]
+ _dbc_sanity_check packageconfig
+ [ 1 -ne 0 ]
+ [ -z /etc/dbconfig-common/roundcube.conf ]
+ shift
+ [ 0 -ne 0 ]
+ echo dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
+ dbc_mktemp dbconfig-package-config.XXXXXX
+ local tfile ttemplate
+ [ dbconfig-package-config.XXXXXX ]
+ ttemplate=dbconfig-package-config.XXXXXX
+ mktemp -t dbconfig-package-config.XXXXXX
+ tfile=/tmp/dbconfig-package-config.jc7KCm
+ [ ! -f /tmp/dbconfig-package-config.jc7KCm ]
+ echo /tmp/dbconfig-package-config.jc7KCm
+ tfile=/tmp/dbconfig-package-config.jc7KCm
+ [  ]
+ [  = TCP/IP + SSL ]
+ dbc_sq_escape true
+ sed -e s,','\\'',g
+ dbc_sq_escape true
+ sed -e s,','\\'',g
+ dbc_sq_escape true
+ sed -e s,','\\'',g
+ dbc_sq_escape mysql
+ sed -e s,','\\'',g
+ dbc_sq_escape roundcube
+ sed -e s,','\\'',g
+ dbc_sq_escape @mM!b87gf=
+ 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 roundcube
+ 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
+ cat
+ dirname /etc/dbconfig-common/roundcube.conf
+ mkdir -p /etc/dbconfig-common
+ ucf --debconf-ok /tmp/dbconfig-package-config.jc7KCm /etc/dbconfig-common/roundcube.conf
+ ucfr roundcube /etc/dbconfig-common/roundcube.conf
+ rm -f /tmp/dbconfig-package-config.jc7KCm
+ [ true != true ]
+ [ php:/etc/roundcube/debian-db.php ]
+ echo php:/etc/roundcube/debian-db.php
+ grep -q -E ^[^:]*:
+ echo php:/etc/roundcube/debian-db.php
+ cut -d: -f1
+ iformat=php
+ echo php:/etc/roundcube/debian-db.php
+ cut -d: -f2
+ ofile=/etc/roundcube/debian-db.php
+ [ ! -e /etc/roundcube/debian-db.php ]
+ dbconfig-generate-include -a -f php -U /etc/dbconfig-common/roundcube.conf /etc/roundcube/debian-db.php
+ ucfr roundcube /etc/dbconfig-common/roundcube.conf
+ dbc_read_package_config
+ local _tmp_dbuser _tmp_basepath _tmp_dbname
+ _dbc_debug dbc_read_package_config()
+ [  ]
+ _dbc_sanity_check package packageconfig
+ [ 2 -ne 0 ]
+ [ -z roundcube ]
+ shift
+ [ 1 -ne 0 ]
+ [ -z /etc/dbconfig-common/roundcube.conf ]
+ shift
+ [ 0 -ne 0 ]
+ dbc_install=true
+ dbc_upgrade=true
+ [ -f /etc/dbconfig-common/roundcube.conf ]
+ . /etc/dbconfig-common/roundcube.conf
+ dbc_install=true
+ dbc_upgrade=true
+ dbc_remove=true
+ dbc_dbtype=mysql
+ dbc_dbuser=roundcube
+ dbc_dbpass=@mM!b87gf=
+ dbc_dballow=
+ dbc_dbserver=
+ dbc_dbport=
+ dbc_dbname=roundcube
+ dbc_dbadmin=root
+ dbc_basepath=
+ dbc_ssl=
+ dbc_authmethod_admin=
+ dbc_authmethod_user=
+ [ !  ]
+ [ -z  ]
+ dbc_dballow=localhost
+ [ true != true ]
+ [ php:/etc/roundcube/debian-db.php ]
+ sed -e s/^[^:]*://
+ echo php:/etc/roundcube/debian-db.php
+ dbc_config_include=/etc/roundcube/debian-db.php
+ export dbc_generate_include
+ export dbc_config_include
+ [ 1.1.2+dfsg.1-5 ]
+ db_get roundcube/internal/reconfiguring
+ _db_cmd GET roundcube/internal/reconfiguring
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/internal/reconfiguring
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=false
+ return 0
+ reconfiguring=false
+ [ false = false ]
+ upgrading=yes
+ [ yes ]
+ [  ]
+ [ ! yes ]
+ [  ]
+ [ yes ]
+ need_adminpw=false
+ _dbc_find_upgrades
+ local f s sqldir admsqldir scriptdir upgradedirs pending sorted placed tlist
+ sqldir=/usr/share/dbconfig-common/data/roundcube/upgrade/mysql
+ admsqldir=/usr/share/dbconfig-common/data/roundcube/upgrade-dbadmin/mysql
+ scriptdir=/usr/share/dbconfig-common/scripts/roundcube/upgrade/mysql
+ [ -d /usr/share/dbconfig-common/data/roundcube/upgrade/mysql ]
+ upgradedirs=/usr/share/dbconfig-common/data/roundcube/upgrade/mysql
+ [ -d /usr/share/dbconfig-common/data/roundcube/upgrade-dbadmin/mysql ]
+ [ -d /usr/share/dbconfig-common/scripts/roundcube/upgrade/mysql ]
+ [ ! /usr/share/dbconfig-common/data/roundcube/upgrade/mysql ]
+ find /usr/share/dbconfig-common/data/roundcube/upgrade/mysql -xtype f -print0
+ xargs --no-run-if-empty -0 -n1 basename
+ sort -n
+ uniq
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.1.1-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.1~rc1~dfsg-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.2~alpha-5
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.2~stable-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.5-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.6+dfsg-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.7-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.7.1-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.9.1-1
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 1.1.1-1
+ echo
+ upgrades_pending=
+ [  ]
+ dbc_postinst_cleanup
+ _dbc_debug dbc_postinst_cleanup()
+ [  ]
+ echo mysql pgsql
+ grep -q mysql
+ [ false != true ]
+ dbc_forget_dbadmin_password
+ _dbc_debug dbc_forget_dbadmin_password()
+ [  ]
+ echo dbconfig-common: flushing administrative password
dbconfig-common: flushing administrative password
+ db_reset roundcube/mysql/admin-pass
+ _db_cmd RESET roundcube/mysql/admin-pass
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/mysql/admin-pass
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ db_fset roundcube/mysql/admin-pass seen false
+ _db_cmd FSET roundcube/mysql/admin-pass seen false
+ _db_internal_IFS=

+ IFS=
+ printf %s\n FSET roundcube/mysql/admin-pass seen false
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=false
+ return 0
+ db_reset roundcube/password-confirm
+ _db_cmd RESET roundcube/password-confirm
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/password-confirm
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ db_fset roundcube/password-confirm seen false
+ _db_cmd FSET roundcube/password-confirm seen false
+ _db_internal_IFS=

+ IFS=
+ printf %s\n FSET roundcube/password-confirm seen false
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=false
+ return 0
+ [  != true ]
+ dbc_forget_app_password
+ _dbc_debug dbc_forget_app_password()
+ [  ]
+ db_reset roundcube/mysql/app-pass
+ _db_cmd RESET roundcube/mysql/app-pass
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/mysql/app-pass
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ db_fset roundcube/mysql/app-pass seen false
+ _db_cmd FSET roundcube/mysql/app-pass seen false
+ _db_internal_IFS=

+ IFS=
+ printf %s\n FSET roundcube/mysql/app-pass seen false
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=false
+ return 0
+ db_reset roundcube/app-password-confirm
+ _db_cmd RESET roundcube/app-password-confirm
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/app-password-confirm
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ db_fset roundcube/app-password-confirm seen false
+ _db_cmd FSET roundcube/app-password-confirm seen false
+ _db_internal_IFS=

+ IFS=
+ printf %s\n FSET roundcube/app-password-confirm seen false
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=false
+ return 0
+ db_reset roundcube/internal/skip-preseed
+ _db_cmd RESET roundcube/internal/skip-preseed
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/internal/skip-preseed
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ db_reset roundcube/internal/reconfiguring
+ _db_cmd RESET roundcube/internal/reconfiguring
+ _db_internal_IFS=

+ IFS=
+ printf %s\n RESET roundcube/internal/reconfiguring
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=0
+ return 0
+ [ ! -e /usr/share/apache2/apache2-maintscript-helper ]
+ . /usr/share/apache2/apache2-maintscript-helper
+ [ -n  ]
+ EXPORT_APACHE2_MAINTSCRIPT_HELPER=1
+ [ -n  ]
+ [ -e /etc/apache2/envvars ]
+ . /etc/apache2/envvars
+ unset HOME
+ [  !=  ]
+ SUFFIX=
+ export APACHE_RUN_USER=www-data
+ export APACHE_RUN_GROUP=www-data
+ export APACHE_PID_FILE=/var/run/apache2/apache2.pid
+ export APACHE_RUN_DIR=/var/run/apache2
+ export APACHE_LOCK_DIR=/var/lock/apache2
+ export APACHE_LOG_DIR=/var/log/apache2
+ export LANG=C
+ export LANG
+ echo
+ APACHE2_MAINTSCRIPT_DEBUG=
+ [ -n  ]
+ APACHE2_MAINTSCRIPT_DEFER=
+ dpkg-query -f ${Status} -W apache2
+ egrep -q installed|triggers-awaited|triggers-pending
+ [ -z configure ]
+ APACHE2_MAINTSCRIPT_NAME=postinst
+ [ postinst ]
+ APACHE2_MAINTSCRIPT_PACKAGE=roundcube-core
+ [ -z roundcube-core ]
+ [ -z  ]
+ APACHE2_MAINTSCRIPT_METHOD=configure
+ [ -z  ]
+ APACHE2_MAINTSCRIPT_ARGUMENT=1.1.2+dfsg.1-5
+ echo 1.1.2+dfsg.1-5
+ sed -n s/^\([0-9.]\+\).*/\1/p
+ OLD_UPSTREAM_VERSION=1.1.2
+ CONFFILE=/etc/roundcube/config.inc.php
+ BASEFILE=/usr/share/roundcube/config.inc.php.sample
+ [ -n 1.1.2+dfsg.1-5 ]
+ dpkg --compare-versions 1.1.2+dfsg.1-5 lt 0.7.2-6
+ DEBIAN_PKG=TRUE RCMAIL_CONFIG_DIR=/etc/roundcube /usr/bin/php /usr/share/roundcube/bin/update.sh --version=1.1.2 --accept=true
+ [ -f /etc/roundcube/config.inc.php.dpkg-new ]
+ db_get roundcube/hosts
+ _db_cmd GET roundcube/hosts
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/hosts
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=
+ return 0
+ hosts=
+ [  !=  ]
+ hosts=''
+ db_get roundcube/language
+ _db_cmd GET roundcube/language
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/language
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=fr_FR
+ return 0
+ language=fr_FR
+ [ -f /etc/roundcube/config.inc.php ]
+ sed -n s+^$config\['des_key'\] = '\(.*\)';$+\1+p /etc/roundcube/config.inc.php
+ deskey=Lq6MJWq56ojG27xKC5iPzzUb
+ [ Lq6MJWq56ojG27xKC5iPzzUb = rcmail-!24ByteDESkey*Str ]
+ [ -z Lq6MJWq56ojG27xKC5iPzzUb ]
+ touch /etc/roundcube/config.inc.php.ucftmp
+ chmod 640 /etc/roundcube/config.inc.php.ucftmp
+ chown root:www-data /etc/roundcube/config.inc.php.ucftmp
+ cat /usr/share/roundcube/config.inc.php.sample
+ read line
+ printf %s\n <?php
+ read line
+ printf %s\n
+ read line
+ printf %s\n /*
+ read line
+ printf %s\n +-----------------------------------------------------------------------+
+ read line
+ printf %s\n | Local configuration for the Roundcube Webmail installation.           |
+ read line
+ printf %s\n |                                                                       |
+ read line
+ printf %s\n | This is a sample configuration file only containing the minimum       |
+ read line
+ printf %s\n | setup required for a functional installation. Copy more options       |
+ read line
+ printf %s\n | from defaults.inc.php to this file to override the defaults.          |
+ read line
+ printf %s\n |                                                                       |
+ read line
+ printf %s\n | This file is part of the Roundcube Webmail client                     |
+ read line
+ printf %s\n | Copyright (C) 2005-2013, The Roundcube Dev Team                       |
+ read line
+ printf %s\n |                                                                       |
+ read line
+ printf %s\n | Licensed under the GNU General Public License version 3 or            |
+ read line
+ printf %s\n | any later version with exceptions for skins & plugins.                |
+ read line
+ printf %s\n | See the README file for a full license statement.                     |
+ read line
+ printf %s\n +-----------------------------------------------------------------------+
+ read line
+ printf %s\n */
+ read line
+ printf %s\n
+ read line
+ printf %s\n $config = array();
+ read line
+ printf %s\n
+ read line
+ printf %s\n /* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
+ read line
+ printf %s\n include_once("/etc/roundcube/debian-db-roundcube.php");
+ read line
+ printf %s\n
+ read line
+ printf %s\n // The mail host chosen to perform the log-in.
+ read line
+ printf %s\n // Leave blank to show a textbox at login, give a list of hosts
+ read line
+ printf %s\n // to display a pulldown menu or set one host as string.
+ read line
+ printf %s\n // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
+ read line
+ printf %s\n // Supported replacement variables:
+ read line
+ printf %s\n // %n - hostname ($_SERVER['SERVER_NAME'])
+ read line
+ printf %s\n // %t - hostname without the first part
+ read line
+ printf %s\n // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
+ read line
+ printf %s\n // %s - domain name after the '@' from e-mail address provided at login screen
+ read line
+ printf %s\n // For example %n = mail.domain.tld, %t = domain.tld
+ read line
+ printf $config['default_host'] = %s;\n ''
+ read line
+ printf %s\n
+ read line
+ printf %s\n // SMTP server host (for sending mails).
+ read line
+ printf %s\n // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
+ read line
+ printf %s\n // If left blank, the PHP mail() function is used
+ read line
+ printf %s\n // Supported replacement variables:
+ read line
+ printf %s\n // %h - user's IMAP hostname
+ read line
+ printf %s\n // %n - hostname ($_SERVER['SERVER_NAME'])
+ read line
+ printf %s\n // %t - hostname without the first part
+ read line
+ printf %s\n // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
+ read line
+ printf %s\n // %z - IMAP domain (IMAP hostname without the first part)
+ read line
+ printf %s\n // For example %n = mail.domain.tld, %t = domain.tld
+ read line
+ printf %s\n $config['smtp_server'] = '';
+ read line
+ printf %s\n
+ read line
+ printf %s\n // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
+ read line
+ printf %s\n // deprecated SSL over SMTP (aka SMTPS))
+ read line
+ printf %s\n $config['smtp_port'] = 25;
+ read line
+ printf %s\n
+ read line
+ printf %s\n // SMTP username (if required) if you use %u as the username Roundcube
+ read line
+ printf %s\n // will use the current username for login
+ read line
+ printf %s\n $config['smtp_user'] = '';
+ read line
+ printf %s\n
+ read line
+ printf %s\n // SMTP password (if required) if you use %p as the password Roundcube
+ read line
+ printf %s\n // will use the current user's password for login
+ read line
+ printf %s\n $config['smtp_pass'] = '';
+ read line
+ printf %s\n
+ read line
+ printf %s\n // provide an URL where a user can get support for this Roundcube installation
+ read line
+ printf %s\n // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
+ read line
+ printf %s\n $config['support_url'] = '';
+ read line
+ printf %s\n
+ read line
+ printf %s\n // Name your service. This is displayed on the login screen and in the window title
+ read line
+ printf %s\n $config['product_name'] = 'Roundcube Webmail';
+ read line
+ printf %s\n
+ read line
+ printf %s\n // this key is used to encrypt the users imap password which is stored
+ read line
+ printf %s\n // in the session record (and the client cookie if remember password is enabled).
+ read line
+ printf %s\n // please provide a string of exactly 24 chars.
+ read line
+ printf %s\n // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
+ read line
+ printf $config['des_key'] = '%s';\n Lq6MJWq56ojG27xKC5iPzzUb
+ read line
+ printf %s\n
+ read line
+ printf %s\n // List of active plugins (in plugins/ directory)
+ read line
+ printf %s\n $config['plugins'] = array(
+ read line
+ printf %s\n 'archive',
+ read line
+ printf %s\n 'zipdownload',
+ read line
+ printf %s\n );
+ read line
+ printf %s\n
+ read line
+ printf %s\n // skin name: folder from skins/
+ read line
+ printf %s\n $config['skin'] = 'larry';
+ read line
+ [ ! -f /etc/roundcube/config.inc.php ]
+ ucf --debconf-ok /etc/roundcube/config.inc.php.ucftmp /etc/roundcube/config.inc.php
+ chown root:www-data /etc/roundcube/config.inc.php
+ [ ! -f /etc/roundcube/config.inc.php.dpkg-dist ]
+ rm -f /etc/roundcube/config.inc.php.ucftmp
+ rm -f /etc/roundcube/config.inc.php.dpkg-new
+ db_get roundcube/reconfigure-webserver
+ _db_cmd GET roundcube/reconfigure-webserver
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/reconfigure-webserver
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=apache2, lighttpd
+ return 0
+ webservers=apache2, lighttpd
+ restart=
+ webserver=apache2
+ apache_install
+ [ -e /usr/share/apache2/apache2-maintscript-helper ]
+ [ -d /etc/apache2/conf-available ]
+ [ ! -e /etc/apache2/conf-available/roundcube.conf ]
+ ln -s /etc/roundcube/apache.conf /etc/apache2/conf-available/roundcube.conf
+ [ -d /etc/apache2/conf.d ]
+ [ -h /etc/apache2/conf.d/roundcube ]
+ apache2_invoke enconf roundcube.conf
+ local CMD=enconf
+ local CONF=roundcube.conf
+ local RCD_ACTION=
+ local invoke_rcd=0
+ local check_switch=
+ local invoke_string=
+ [ -x /usr/sbin/a2enconf ]
+ [ -x /usr/sbin/a2query ]
+ [ -n  ]
+ check_switch=-c
+ invoke_string=configuration
+ rcd_action=reload
+ local a2query_ret=0
+ a2query -c roundcube.conf
+ a2query_ret=33
+ [ 33 -eq 0 ]
+ [ 33 -eq 32 ]
+ APACHE2_NEED_ACTION=1
+ a2enconf -m -q roundcube.conf
+ apache2_msg info apache2_invoke: Enable configuration roundcube.conf
+ local PRIORITY=info
+ local MSG=apache2_invoke: Enable configuration roundcube.conf
+ [ -z  ]
+ echo apache2_invoke: Enable configuration roundcube.conf
apache2_invoke: Enable configuration roundcube.conf
+ [ -x /usr/bin/logger ]
+ local LOGGER=/usr/bin/logger -p daemon.info -t roundcube-core
+ /usr/bin/logger -p daemon.info -t roundcube-core apache2_invoke: Enable configuration roundcube.conf
+ [ -n 1 ]
+ apache2_reload reload
+ apache2_needs_action
+ [ configure = configure ]
+ [ -z 1.1.2+dfsg.1-5 ]
+ [ -n 1 ]
+ return 0
+ [ -n  ]
+ local action
+ action=reload
+ mktemp
+ local tmpfile=/tmp/tmp.2sn4he6GS2
+ apache2ctl configtest
+ invoke-rc.d apache2 reload
+ rm -f /tmp/tmp.2sn4he6GS2
+ pathfind apache2
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/apache2 ]
+ [ -x /usr/local/bin/apache2 ]
+ [ -x /usr/sbin/apache2 ]
+ IFS=

+ return 0
+ restart= apache2
+ webserver=lighttpd
+ lighttpd_install
+ [ ! -f /etc/lighttpd/conf-available/50-roundcube.conf ]
+ pathfind lighty-enable-mod
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/lighty-enable-mod ]
+ [ -x /usr/local/bin/lighty-enable-mod ]
+ [ -x /usr/sbin/lighty-enable-mod ]
+ [ -x /usr/bin/lighty-enable-mod ]
+ [ -x /sbin/lighty-enable-mod ]
+ [ -x /bin/lighty-enable-mod ]
+ IFS=

+ return 1
+ pathfind lighttpd
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/lighttpd ]
+ [ -x /usr/local/bin/lighttpd ]
+ [ -x /usr/sbin/lighttpd ]
+ [ -x /usr/bin/lighttpd ]
+ [ -x /sbin/lighttpd ]
+ [ -x /bin/lighttpd ]
+ IFS=

+ return 1
+ continue
+ db_get roundcube/restart-webserver
+ _db_cmd GET roundcube/restart-webserver
+ _db_internal_IFS=

+ IFS=
+ printf %s\n GET roundcube/restart-webserver
+ IFS=

+ IFS=
  read -r _db_internal_line
+ RET=true
+ return 0
+ res=true
+ db_stop
+ echo STOP
+ [ true = true ]
+ webserver=apache2
+ pathfind invoke-rc.d
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/invoke-rc.d ]
+ [ -x /usr/local/bin/invoke-rc.d ]
+ [ -x /usr/sbin/invoke-rc.d ]
+ IFS=

+ return 0
+ invoke-rc.d apache2 reload
+ chown -R www-data:adm /var/log/roundcube
+ chmod -R 750 /var/log/roundcube
+ chown -R www-data:www-data /var/lib/roundcube/temp
+ chmod -R 750 /var/lib/roundcube/temp
+ dpkg-maintscript-helper rm_conffile /etc/roundcube/main.inc.php 1.0.0+dfsg.1-1~ -- configure 1.1.2+dfsg.1-5
+ dpkg-maintscript-helper rm_conffile /etc/roundcube/db.inc.php 1.0.0+dfsg.1-1~ -- configure 1.1.2+dfsg.1-5
+ dpkg-maintscript-helper dir_to_symlink /var/lib/roundcube/config /etc/roundcube 1.1.2+dfsg.1-4 -- configure 1.1.2+dfsg.1-5
+ exit 0
Paramétrage de roundcube (1.1.3+dfsg.1-1) ...
                                                    

Emmanuel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20151112/ffed6f58/attachment-0001.html>


More information about the Pkg-roundcube-maintainers mailing list