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: Wed, 11 Apr 2018 11:30:11 +0000
  • Message-id: <>

--- Comment #9 from Christian Boltz <suse-beta@xxxxxxxxx> ---
(In reply to Tristan Miller from comment #8)
With this line in /etc/apparmor.d/local/usr.sbin.dovecot, starting dovecot
still results in the same error message -- "Can't open log file
/var/log/dovecot.log: Permission denied". But bizarrely, it *does* write to
that log file, but only to complain that it can't write to the log file:


Apr 11 09:17:10 master: Info: Dovecot v2.3.1 (8e2f634) starting up for imap
Apr 11 09:17:10 master: Error: service(log): child 26965 returned error 80
(Can't open log file)
Apr 11 09:17:10 master: Error: service(log): command startup failed,
throttling for 2 secs

The problem occurs whether I use "a" or "w".

When dovecot writes these log messages, do you get any messages in audit.log?
If so, please paste them. (Ideally test with "a" in the rule.)

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