[Pkg-citadel-devel] Bug#862296: Install hangs in postinst with error about c_Default_cal_zone

John Goerzen jgoerzen at complete.org
Wed May 10 19:53:17 UTC 2017


Package: citadel-server
Version: 902-3
Severity: grave

Hi,

On initial install, this package hangs in postinst, and spews several of these messages across
the console:

Broadcast message from systemd-journald at sid (Wed 2017-05-10 14:45:52 CDT):

citserver[12599]: configuration setting c_default_cal_zone is empty, but must not - check your config!


Broadcast message from systemd-journald at sid (Wed 2017-05-10 14:45:52 CDT):

citserver[12602]: configuration setting c_default_cal_zone is empty, but must not - check your config!

Ctrl-C will not address the issue; eventually I have to killall citserver and killall setup

I will attach a log of the install from script using the readline frontend.  Please note,
although you can't see it, I supplied a random 8-character password.



-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64
 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages citadel-server depends on:
ii  adduser                3.115
ii  debconf [debconf-2.0]  1.5.60
iu  libc-ares2             1.12.0-2
ii  libc6                  2.24-10
iu  libcitadel4            902-1
ii  libcurl3               7.52.1-5
ii  libdb5.3               5.3.28-12+b1
iu  libev4                 1:4.22-1+b1
ii  libexpat1              2.2.0-2
iu  libical2               2.0.0-0.5+b1
ii  libldap-2.4-2          2.4.44+dfsg-4+b1
ii  libpam0g               1.1.8-3.5
iu  libsieve2-1            2.2.6-1.3
ii  libssl1.0.2            1.0.2k-1
ii  lsb-base               9.20161125
ii  openssl                1.1.0e-2
ii  patch                  2.7.5-1+b2
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages citadel-server recommends:
pn  db4.6-util        <none>
ii  shared-mime-info  1.8-1

Versions of packages citadel-server suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.89-2

-- Configuration Files:
/etc/citadel/messages/aideopt [Errno 13] Permission denied: '/etc/citadel/messages/aideopt'
/etc/citadel/messages/changepw [Errno 13] Permission denied: '/etc/citadel/messages/changepw'
/etc/citadel/messages/dotopt [Errno 13] Permission denied: '/etc/citadel/messages/dotopt'
/etc/citadel/messages/entermsg [Errno 13] Permission denied: '/etc/citadel/messages/entermsg'
/etc/citadel/messages/entopt [Errno 13] Permission denied: '/etc/citadel/messages/entopt'
/etc/citadel/messages/goodbye [Errno 13] Permission denied: '/etc/citadel/messages/goodbye'
/etc/citadel/messages/hello [Errno 13] Permission denied: '/etc/citadel/messages/hello'
/etc/citadel/messages/help [Errno 13] Permission denied: '/etc/citadel/messages/help'
/etc/citadel/messages/mainmenu [Errno 13] Permission denied: '/etc/citadel/messages/mainmenu'
/etc/citadel/messages/newuser [Errno 13] Permission denied: '/etc/citadel/messages/newuser'
/etc/citadel/messages/readopt [Errno 13] Permission denied: '/etc/citadel/messages/readopt'
/etc/citadel/messages/register [Errno 13] Permission denied: '/etc/citadel/messages/register'
/etc/citadel/messages/roomaccess [Errno 13] Permission denied: '/etc/citadel/messages/roomaccess'
/etc/citadel/messages/unlisted [Errno 13] Permission denied: '/etc/citadel/messages/unlisted'

-- no debconf information
-------------- next part --------------
Script started on Wed 10 May 2017 02:45:02 PM CDT
root at sid:~# DEBIAN_FRONTEND=readline apt-get install citadel-client citadel-dbg citadel-server libcitadel4-dbg

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 11%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following packages were automatically installed and are no longer required:
  g++-5 hardening-includes libapt-inst1.7 libcommon-sense-perl libfuse2 libgnutls-deb0-28 libicu55 libintl-perl
  libintl-xs-perl libisl13 libjson-perl libjson-xs-perl libmysqlclient18 libperl5.22 libprocps5 libpsl0 libpython3.4-minimal
  libpython3.4-stdlib libstdc++-5-dev libtypes-serialiser-perl libxcb-randr0 libxcb-xfixes0 perl-modules-5.22
  python-ndg-httpsclient python3.4 python3.4-minimal
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libc-ares2 libcitadel4 libev4 libical2 libsieve2-1
Suggested packages:
  citadel-mta
Recommended packages:
  db4.6-util
The following NEW packages will be installed:
  citadel-client citadel-dbg citadel-server libc-ares2 libcitadel4 libcitadel4-dbg libev4 libical2 libsieve2-1
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,849 kB of archives.
After this operation, 7,572 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libical2:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 74167 files and directories currently installed.)
Preparing to unpack .../0-libical2_2.0.0-0.5+b1_amd64.deb ...
Unpacking libical2:amd64 (2.0.0-0.5+b1) ...
Selecting previously unselected package libsieve2-1.
Preparing to unpack .../1-libsieve2-1_2.2.6-1.3_amd64.deb ...
Unpacking libsieve2-1 (2.2.6-1.3) ...
Selecting previously unselected package libcitadel4.
Preparing to unpack .../2-libcitadel4_902-1_amd64.deb ...
Unpacking libcitadel4 (902-1) ...
Selecting previously unselected package citadel-client.
Preparing to unpack .../3-citadel-client_9.01-1+b1_amd64.deb ...
Unpacking citadel-client (9.01-1+b1) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../4-libc-ares2_1.12.0-2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.12.0-2) ...
Selecting previously unselected package libev4.
Preparing to unpack .../5-libev4_1%3a4.22-1+b1_amd64.deb ...
Unpacking libev4 (1:4.22-1+b1) ...
Selecting previously unselected package citadel-server.
Preparing to unpack .../6-citadel-server_902-3_amd64.deb ...
Unpacking citadel-server (902-3) ...
Selecting previously unselected package citadel-dbg.
Preparing to unpack .../7-citadel-dbg_902-3_amd64.deb ...
Unpacking citadel-dbg (902-3) ...
Selecting previously unselected package libcitadel4-dbg.
Preparing to unpack .../8-libcitadel4-dbg_902-1_amd64.deb ...
Unpacking libcitadel4-dbg (902-1) ...
Setting up libical2:amd64 (2.0.0-0.5+b1) ...
Setting up libev4 (1:4.22-1+b1) ...
Setting up libcitadel4 (902-1) ...
Processing triggers for libc-bin (2.24-10) ...
Processing triggers for systemd (232-23) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libsieve2-1 (2.2.6-1.3) ...
Setting up libc-ares2:amd64 (1.12.0-2) ...
Setting up citadel-client (9.01-1+b1) ...
Setting up citadel-server (902-3) ...
Configuring citadel-server
--------------------------

Please specify the IP address which the server should be listening to. If you specify 0.0.0.0, the server will listen on all 
addresses.

This can usually be left to the default unless multiple instances of Citadel are running on the same computer.

Listening address for the Citadel server: 0.0.0.0


Please choose the user authentication mode. By default Citadel will use its own internal user accounts database. If you choose
"Host", Citadel users will have accounts on the host system, authenticated via /etc/passwd or a PAM source. "LDAP" means an 
RFC 2307 compliant directory server; "Active Directory" means the nonstandard Microsoft Active Directory LDAP scheme.

Do not change this option unless you are sure it is required, since changing back requires a full reinstall of Citadel.

  1. Internal  2. Host  3. LDAP  4. Active Directory

Authentication method to use: 1


Please enter the name of the Citadel user account that should be granted administrative privileges once created. If using 
internal authentication this user account will be created if it does not exist. For external authentication this user account 
has to exist.

Citadel administrator username: admin


While not mandatory, it is highly recommended that you set a password for the administrator user.

Administrator password: 


Please enter the same administrator password again to verify that you have typed it correctly.

Re-enter password to verify: 


applying your settings.



Terminated
dpkg: error processing package citadel-server (--configure):
 subprocess installed post-installation script returned error exit status 143
Setting up libcitadel4-dbg (902-1) ...
dpkg: dependency problems prevent configuration of citadel-dbg:
 citadel-dbg depends on citadel-server (= 902-3); however:
  Package citadel-server is not configured yet.

dpkg: error processing package citadel-dbg (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-10) ...
Processing triggers for systemd (232-23) ...
Errors were encountered while processing:
 citadel-server
 citadel-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
root at sid:~# exit
exit

Script done on Wed 10 May 2017 02:52:09 PM CDT


More information about the Pkg-citadel-devel mailing list