Mailinglist Archive: opensuse-bugs (6221 mails)

< Previous Next >
[Bug 1087753] Dovecot fails to start, complaining "Can't open log file /var/log/dovecot.log: Permission denied"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 05 Apr 2018 19:11:33 +0000
  • Message-id: <>

--- Comment #4 from Christian Boltz <suse-beta@xxxxxxxxx> ---
So we have 3 different issues in this bugreport:

* starting /usr/lib/dovecot/stats - let's handle this in bug 1088161 please
to avoid mixing up several issues in one bugreport

* writing dovecot.log by /usr/sbin/dovecot
The package maintainer just told me that the packaged default is still to
use syslog, so this is likely something you changed locally. Anyway -
please add the following line to /etc/apparmor.d/local/usr.sbin.dovecot:
/var/log/dovecot.log a,
Then run rcapparmor reload and try again. (Obviously you'll have to
re-enable log_path in the dovecot config.)
I'm not sure if a is enough, the last log line indicates w may be needed
(which would be bad because "a" allows append only and "w" full write access
including changes to the existing logfile)

* /usr/lib/dovecot/auth writing to /run/dovecot/old-stats-user - please add
/run/dovecot/old-stats-user w,
to /etc/apparmor.d/local/usr.lib.dovecot.auth, run rcapparmor reload and
check again.

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >