Here is a -x version of the postinst.

Setting up imapproxy (1.2.6-3) ...
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/imapproxy.postinst 
configure ''
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_version 2.0
+ _db_cmd 'VERSION 2.0'
+ IFS=' '
+ printf '%s\n' 'VERSION 2.0'
+ IFS='
'
+ read -r _db_internal_line
+ RET=2.0
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ set -e
+ DESTFILE=/etc/imapproxy.conf
+ CFGFILE=imapproxy.conf
+ PARAMS='server_hostname proc_username proc_groupname chroot_directory 
listen_port'
+ server_hostname=localhost
+ proc_username=nobody
+ proc_groupname=nogroup
+ chroot_directory=/var/lib/imapproxy/chroot
+ listen_port=143
+ case "$1" in
+ '[' -e /usr/share/debconf/confmodule ']'
+ db_get imapproxy/imap-server
+ _db_cmd 'GET imapproxy/imap-server'
+ IFS=' '
+ printf '%s\n' 'GET imapproxy/imap-server'
+ IFS='
'
+ read -r _db_internal_line
+ RET=localhost
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ server_hostname=localhost
+ '[' localhost = localhost ']'
+ listen_port=1143
+ test -f /etc/imapproxy.conf
++ tempfile
+ TMPFILE=/tmp/fileHeEd0K
+ mv /etc/imapproxy.conf /tmp/fileHeEd0K
+ export PARAMS
+ export server_hostname proc_username proc_groupname chroot_directory 
listen_port
+ /usr/bin/perl - /etc/imapproxy.conf imapproxy.conf
+ '[' '!' -f /var/lib/imapproxy/chroot/etc/localtime ']'
+ for p in '$PARAMS' PARAMS
+ export server_hostname=
+ server_hostname=
+ for p in '$PARAMS' PARAMS
+ export proc_username=
+ proc_username=
+ for p in '$PARAMS' PARAMS
+ export proc_groupname=
+ proc_groupname=
+ for p in '$PARAMS' PARAMS
+ export chroot_directory=
+ chroot_directory=
+ for p in '$PARAMS' PARAMS
+ export listen_port=
+ listen_port=
+ for p in '$PARAMS' PARAMS
+ export PARAMS=
+ PARAMS=
+ rm -f /tmp/fileHeEd0K
+ '[' -e /usr/share/debconf/confmodule ']'
+ db_stop
+ echo STOP
+ '[' -x /etc/init.d/imapproxy ']'
+ update-rc.d imapproxy defaults 98
++ which invoke-rc.d
+ '[' -x /usr/sbin/invoke-rc.d ']'
+ invoke-rc.d imapproxy start
Starting IMAP proxy: /etc/init.d/imapproxy: line 47:  3920 Segmentation fault   
   (core dumped) start-stop-daemon --start --quiet --pidfile=$PIDFILE --exec 
$DAEMON -- $ARGS
invoke-rc.d: initscript imapproxy, action "start" failed.
+ exit 139
dpkg: error processing imapproxy (--configure):
 subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
 imapproxy




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to