Bug#1080434: exim4-base: exim4 starts before home directories are mounted
Peter Chubb
peter.chubb at unsw.edu.au
Tue Sep 3 22:18:35 BST 2024
Package: exim4-base
Version: 4.98-1
Severity: normal
Dear Maintainer,
After a recent apt update and reboot, exim4 started and grabbed a
reference to /home before autofs started making home directories
available. This meant it could not deliver email.
Autofs map for /home looks like:
* nfs-server:/export/home/&
exim4 needs to look for ~/.forward when delivering email; (and we often end up
delivering into ~/Mail/inbox for each user)
I think exim4's systemd unit file needs something like
After= ... remote-fs.target autofs.service
RequireMountsFor=/home/someuser
to make sure that home directories are available by the time it starts (but
systemd is a bit of a mystery to me)
Package-specific info:
Exim version 4.98 #2 built 11-Jul-2024 05:41:31
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2024
Hints DB:
Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013)
Support for: Content_Scanning crypteq Expand_dlfunc iconv() IPv6 PAM Perl GnuTLS move_frozen_messages TLS_resume DANE DKIM DNSSEC ESMTP_Limits ESMTP_Wellknown Event I18N OCSP PIPECONNECT PRDR PROXY Queue_Ramp SOCKS SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot external plaintext spa tls
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated
Configuration file is /var/lib/exim4/config.autogenerated
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages exim4-base depends on:
ii adduser 3.137
ii cron [cron-daemon] 3.0pl1-189
ii debconf [debconf-2.0] 1.5.87
ii exim4-config [exim4-config-2] 4.98-1
ii libc6 2.40-2
ii libdb5.3t64 5.3.28+dfsg2-7
ii libfile-fcntllock-perl 0.22-4+b3
ii netbase 6.4
ii perl 5.38.2-5
ii systemd-sysv 256.5-2
Versions of packages exim4-base recommends:
pn bsd-mailx | mailx <none>
ii psmisc 23.7-1
Versions of packages exim4-base suggests:
pn exim4-doc-html | exim4-doc-info <none>
pn eximon4 <none>
ii file 1:5.45-3
pn mail-reader <none>
ii openssl 3.3.1-7
pn spf-tools-perl <none>
pn swaks <none>
-- debconf information:
exim4/purge_spool: false
exim4-base/drec:
More information about the Pkg-exim4-maintainers
mailing list