Bug#762103: exim4-config: Fail to install with Error in GnuTLS initialization: Failed to acquire random data.

Petter Reinholdtsen pere at hungry.com
Thu Sep 18 13:26:01 UTC 2014


Package: exim4-config
Version: 4.84-2
Severity: important
User: debian-edu at lists.debian.org
Usertags: debian-edu

Hi.

I ran into this problem when installing the roaming workstation profile
in Debian Edu Jessie.  I've seen in twice now, but it do not happen
every time.  The installation using debian installer fail because
exim4-config fail to install.  This is the syslog messages when this
happen:

Sep 18 12:42:07 in-target: Setting up exim4-config (4.84-2) ...
Sep 18 12:42:08 in-target: Adding system-user for exim (v4)
Sep 18 14:42:08 groupadd[20772]: group added to /etc/group: name=Debian-exim, GID=119
Sep 18 14:42:08 groupadd[20772]: group added to /etc/gshadow: name=Debian-exim
Sep 18 14:42:08 groupadd[20772]: new group: name=Debian-exim, GID=119
Sep 18 14:42:08 useradd[20777]: new user: name=Debian-exim, UID=109, GID=119, home=/var/spool/exim4, shell=/bin/false
Sep 18 14:42:08 chage[20782]: changed password expiry for Debian-exim
Sep 18 12:42:08 in-target: Error in GnuTLS initialization: Failed to acquire random data.
Sep 18 12:42:08 in-target: 2014-09-18 14:42:08 Exim configuration error:
Sep 18 12:42:08 in-target:   tls_require_ciphers invalid: gnutls_global_init() failed: Failed to acquire random data.
Sep 18 12:42:08 in-target: 2014-09-18 14:42:08 Exim configuration error:
Sep 18 12:42:08 in-target:   tls_require_ciphers invalid: gnutls_global_init() failed: Failed to acquire random data.
Sep 18 12:42:08 in-target: 2014-09-18 14:42:08 Exim configuration error:
Sep 18 12:42:08 in-target:   tls_require_ciphers invalid: gnutls_global_init() failed: Failed to acquire random data.
Sep 18 14:42:08 exim[21097]: [1\2] 2014-09-18 14:42:08 Exim configuration error:
Sep 18 14:42:08 exim[21097]: [2/2]   tls_require_ciphers invalid: gnutls_global_init() failed: Failed to acquire random data.
Sep 18 14:42:08 exim[21097]: [1\2] 2014-09-18 14:42:08 Exim configuration error:
Sep 18 14:42:08 exim[21097]: [2/2]   tls_require_ciphers invalid: gnutls_global_init() failed: Failed to acquire random data.
Sep 18 14:42:08 exim[21097]: exim: could not open panic log - aborting: see message(s) above
Sep 18 12:42:08 in-target: exim: could not open panic log - aborting: see message(s) above
Sep 18 12:42:08 in-target: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing 
Sep 18 12:42:08 in-target: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Sep 18 12:42:08 in-target: dpkg: error processing package exim4-config (--configure):
Sep 18 12:42:08 in-target:  subprocess installed post-installation script returned error exit status 1
Sep 18 12:42:08 in-target: dpkg: dependency problems prevent configuration of exim4-base:
Sep 18 12:42:08 in-target:  exim4-base depends on exim4-config (>= 4.82) | exim4-config-2; however:
Sep 18 12:42:08 in-target:   Package exim4-config is not configured yet.
Sep 18 12:42:08 in-target:   Package exim4-config-2 is not installed.
Sep 18 12:42:08 in-target:   Package exim4-config which provides exim4-config-2 is not configured yet.
Sep 18 12:42:08 in-target: 
Sep 18 12:42:08 in-target: dpkg: error processing package exim4-base (--configure):
Sep 18 12:42:08 in-target:  dependency problems - leaving unconfigured
Sep 18 12:42:08 in-target: dpkg: dependency problems prevent configuration of exim4-daemon-light:
Sep 18 12:42:08 in-target:  exim4-daemon-light depends on exim4-base (>= 4.84); however:
Sep 18 12:42:08 in-target:   Package exim4-base is not configured yet.
Sep 18 12:42:08 in-target: 
Sep 18 12:42:08 in-target: dpkg: error processing package exim4-daemon-light (--configure):
Sep 18 12:42:08 in-target:  dependency problems - leaving unconfigured
Sep 18 12:42:08 in-target: dpkg: dependency problems prevent configuration of bsd-mailx:
Sep 18 12:42:08 in-target:  bsd-mailx depends on default-mta | mail-transport-agent; however:
Sep 18 12:42:08 in-target:   Package default-mta is not installed.
Sep 18 12:42:08 in-target:   Package exim4-daemon-light which provides default-mta is not configured yet.
Sep 18 12:42:08 in-target:   Package mail-transport-agent is not installed.
Sep 18 12:42:08 in-target:   Package exim4-daemon-light which provides mail-transport-agent is not configured yet.
Sep 18 12:42:08 in-target: 
Sep 18 12:42:08 in-target: dpkg: error processing package bsd-mailx (--configure):
Sep 18 12:42:08 in-target:  dependency problems - leaving unconfigured
Sep 18 12:42:08 in-target: Setting up dc (1.06.95-9) ...

Retrying still gave the same error.  Any idea what is wrong?  The
installation was running with dpkg, apt-get and tasksel diverted to run
using eatmydata to speed up the installation.  Is it somehow running out
of entropy?  What could be the cause, and why is it not happening every
time?

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-exim4-maintainers mailing list