On an OpenSUSE Tumbleweed host, updated this morning. After the update and a reboot, every attempt to start dovecot fails with Can't open log file /var/log/dovecot: Permission denied
cat /etc/os-release
includes VERSION_ID="20180314"
/usr/sbin/dovecot --version
yields 2.3.0.1 (ffd8a29)
Dovecot packages currently installed start with dovecot-2.3-1.1
and dovecot23-2.3.0.1-2.1
. I'm not sure what version was installed before the update, but it could not have been more than a week old. The update did not generate any .rpmnew
or similar files.
Nothing in /etc/dovecot
has changed in more than a year, and this problem is new today.
The non-comment lines from /etc/dovecot/conf.d/10-logging.conf
:
log_path = /var/log/dovecot
auth_verbose = yes
auth_verbose_passwords = no
auth_debug = no
auth_debug_passwords = no
mail_debug = yes
plugin {
}
log_timestamp = "%Y-%m%b-%d%a.%H-%M-%S.%Z"
- I've relaxed permissions on
/var/log/dovecot*
to777
- I've relaxed permissions on
/var/log
to775
- I've disabled SELinux with
setenforce 0
- I've disabled apparmor with
service apparmor stop
(and confirmed withservice apparmor status
) - I've tried changing ownership of
/var/log/dovecot*
tomail
anddovecot
- I've renamed
var/log/dovecot
tovar/log/dovecot.old
output of ls -al /var/log/dovecot*
:
-rwxrwxrwx 1 root root 10666 Aug 16 2016 /var/log/dovecot.debug
-rwxrwxrwx 1 root root 1483 Aug 16 2016 /var/log/dovecot.info
-rwxrwxrwx 1 root root 34118709509 Mar 17 12:28 /var/log/dovecot.old
The volume is not full (64%).
Why is dovecot denied permission to open its log, and how do I grant it?