Bug#860317: upgrade to latest stretch version breaks

Davide Prina davide.prina at gmail.com
Sun Apr 16 09:14:17 UTC 2017


Package: exim4
Version: 4.89-1

Dear Maintainer,

I have the same problem


during upgrade/dist-upgrade or package installation I got this error:

# LANG=en_EN apt -u upgrade
[...]
Setting up exim4-daemon-light (4.89-1) ...
Job for exim4.service failed because of unavailable resources or another 
system error.
See "systemctl status exim4.service" and "journalctl -xe" for details.
invoke-rc.d: initscript exim4, action "start" failed.
● exim4.service - LSB: exim Mail Transport Agent
    Loaded: loaded (/etc/init.d/exim4; generated; vendor preset: enabled)
    Active: failed (Result: resources) since Sun 2017-04-16 11:06:07 
CEST; 6ms ago
      Docs: man:systemd-sysv-generator(8)
   Process: 3884 ExecStart=/etc/init.d/exim4 start (code=exited, 
status=0/SUCCESS)

Apr 16 11:06:06 davide systemd[1]: Starting LSB: exim Mail Transport 
Agent...
Apr 16 11:06:07 davide exim4[3884]: Starting MTA:.
Apr 16 11:06:07 davide systemd[1]: exim4.service: PID file 
/run/exim4/exim.pid not readable (yet?) after start: No such file or 
directory
Apr 16 11:06:07 davide systemd[1]: Failed to start LSB: exim Mail 
Transport Agent.
Apr 16 11:06:07 davide systemd[1]: exim4.service: Unit entered failed state.
Apr 16 11:06:07 davide systemd[1]: exim4.service: Failed with result 
'resources'.
dpkg: error processing package exim4-daemon-light (--configure):
  subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of exim4:
  exim4 depends on exim4-daemon-light | exim4-daemon-heavy | 
exim4-daemon-custom; however:
   Package exim4-daemon-light is not configured yet.
   Package exim4-daemon-heavy is not installed.
   Package exim4-daemon-custom is not installed.

dpkg: error processing package exim4 (--configure):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  exim4-daemon-light
  exim4
E: Sub-process /usr/bin/dpkg returned an error code (1)




$ systemctl status exim4.service
● exim4.service - LSB: exim Mail Transport Agent
    Loaded: loaded (/etc/init.d/exim4; generated; vendor preset: enabled)
    Active: failed (Result: resources) since Sun 2017-04-16 09:42:10 
CEST; 1h 10min ago
      Docs: man:systemd-sysv-generator(8)
   Process: 30201 ExecStart=/etc/init.d/exim4 start (code=exited, 
status=0/SUCCESS)

apr 16 09:42:10 davide systemd[1]: Starting LSB: exim Mail Transport 
Agent...
apr 16 09:42:10 davide exim4[30201]: Starting MTA:.
apr 16 09:42:10 davide systemd[1]: exim4.service: PID file 
/run/exim4/exim.pid not readable (yet?) after start: No such file or 
directory
apr 16 09:42:10 davide systemd[1]: Failed to start LSB: exim Mail 
Transport Agent.
apr 16 09:42:10 davide systemd[1]: ^[[0;1;39mexim4.service: Unit entered 
failed state.
apr 16 09:42:10 davide systemd[1]: ^[[0;1;39mexim4.service: Failed with 
result 'resources'.


$ journalctl -xe
[...]
-- Subject: Unit exim4.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit exim4.service has begun starting up.
Apr 16 09:41:32 davide exim4[29501]: Starting MTA:.
Apr 16 09:41:32 davide systemd[1]: exim4.service: PID file 
/run/exim4/exim.pid not readable (yet?) after start: No such file or 
directory
Apr 16 09:41:32 davide systemd[1]: Failed to start LSB: exim Mail 
Transport Agent.
-- Subject: Unit exim4.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit exim4.service has failed.
--
-- The result is failed.
Apr 16 09:41:32 davide systemd[1]: ^[[0;1;39mexim4.service: Unit entered 
failed state.
Apr 16 09:41:32 davide systemd[1]: ^[[0;1;39mexim4.service: Failed with 
result 'resources'.
[...]


# ls -l /run/exim4/
totale 0



# LANG=en_EN apt install --reinstall exim4
[...]
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for exim4:amd64


I have see bug #854896, but I don't think it is the same problem:

ip6 is enabled:

$ ping ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.058 ms
[...]

$ ip addr
[...]
     inet6 fe80::5ae6:3341:7f38:c2e1/64 scope link
[...]

I try to reconfigure exim4

I try to set domainame (previously was (none))


$ cat /var/log/exim4/mainlog
2017-04-16 07:35:36 1czcqW-0004au-4l <= root at davide.prina U=root P=local 
S=72806
2017-04-16 07:35:36 1czcqW-0004au-4l => davide <root at davide.prina> 
R=local_user T=mail_spool
2017-04-16 07:35:36 1czcqW-0004au-4l Completed
2017-04-16 08:07:04 1czdKy-0005z8-Nm <= daemon at davide.prina U=daemon 
P=local S=67278
2017-04-16 08:07:05 1czdKy-0005z8-Nm => davide <root at davide.prina> 
R=local_user T=mail_spool
2017-04-16 08:07:05 1czdKy-0005z8-Nm Completed
2017-04-16 09:39:32 1czemS-0006A8-F3 <= root at davide.prina U=root P=local 
S=2767
2017-04-16 09:39:33 1czemS-0006A8-F3 => davide <davide at davide.prina> 
R=local_user T=mail_spool
2017-04-16 09:39:33 1czemS-0006A8-F3 Completed


my system is up to date, I have done:
# apt update; apt -u upgrade; apt -u dist-upgrade


Ciao
Davide

-- Package-specific info:
Exim version 4.89 #2 built 09-Mar-2017 16:49:47
Copyright (c) University of Cambridge, 1995 - 2017
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 
- 2017
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM 
DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm 
dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='local'
dc_other_hostnames='davide.localdomain'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:davide.localdomain

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

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]  1.5.60
ii  exim4-base             4.89-1
ih  exim4-daemon-light     4.89-1

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information:
   exim4/drec:



More information about the Pkg-exim4-maintainers mailing list