Bug#989584: dovecot-core: systemd unit does not wait for remote-fs.target

2024-09-02 Thread Peter Chubb
Package: dovecot-core
Version: 1:2.3.21.1+dfsg1-1
Followup-For: Bug #989584

Dear Maintainer,
We have home directories mounted via Autofs from an NFS directory on another
machine.  After a reboot, mailboxes in ~/Mail are not accessible, because
dovecot starts before autofs.  The systemd unit should wait until all
the filesystems dovecot relies on are available.

Peter C



Bug#989584: dovecot-core: systemd unit does not wait for remote-fs.target

2021-06-07 Thread Hamish Moffatt
The effect of this of course that is dovecot doesn't start if its 
configuration depends on files on a remote file system.




Bug#989584: dovecot-core: systemd unit does not wait for remote-fs.target

2021-06-07 Thread Hamish Moffatt
Package: dovecot-core
Version: 1:2.3.4.1-5+deb10u6
Severity: normal

The systemd unit does not specify that dovecot should be started after
remote-fs.target (in after= clause). This is in contrast to the init.d
script, which does specify it should wait for $remote_fs.

Most other similar packages (exim4, apache, greylistd) do wait on
remote-fs.target.

I have checked the package in buster and it is also affected.


Hamish

-- Package-specific info:

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

Kernel: Linux 5.10.0-0.bpo.5-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dovecot-core depends on:
ii  adduser  3.118
ii  libapparmor1 2.13.2-10
ii  libbz2-1.0   1.0.6-9.2~deb10u1
ii  libc62.28-10
ii  libexttextcat-2.0-0  3.4.5-1
ii  libicu63 63.1-6+deb10u1
ii  liblua5.3-0  5.3.3-1.1
ii  liblz4-1 1.8.3-1+deb10u1
ii  liblzma5 5.2.4-1
ii  libpam-runtime   1.3.1-5
ii  libpam0g 1.3.1-5
ii  libsodium23  1.0.17-1
ii  libssl1.11.1.1d-0+deb10u6
ii  libstemmer0d 0+svn585-1+b2
ii  libwrap0 7.6.q-28
ii  lsb-base 10.2019051400
ii  openssl  1.1.1d-0+deb10u6
ii  ssl-cert 1.0.39
ii  ucf  3.0038+nmu1
ii  zlib1g   1:1.2.11.dfsg-1

dovecot-core recommends no packages.

Versions of packages dovecot-core suggests:
pn  dovecot-gssapi
ii  dovecot-imapd 1:2.3.4.1-5+deb10u6
pn  dovecot-ldap  
pn  dovecot-lmtpd 
pn  dovecot-lucene
pn  dovecot-managesieved  
pn  dovecot-mysql 
pn  dovecot-pgsql 
pn  dovecot-pop3d 
pn  dovecot-sieve 
pn  dovecot-solr  
pn  dovecot-sqlite
pn  dovecot-submissiond   
ii  ntp   1:4.2.8p12+dfsg-4

Versions of packages dovecot-core is related to:
ii  dovecot-core [dovecot-common]  1:2.3.4.1-5+deb10u6
pn  dovecot-dev
pn  dovecot-gssapi 
ii  dovecot-imapd  1:2.3.4.1-5+deb10u6
pn  dovecot-ldap   
pn  dovecot-lmtpd  
pn  dovecot-managesieved   
pn  dovecot-mysql  
pn  dovecot-pgsql  
pn  dovecot-pop3d  
pn  dovecot-sieve  
pn  dovecot-sqlite 

-- no debconf information