http://bugzilla.opensuse.org/show_bug.cgi?id=1087753
http://bugzilla.opensuse.org/show_bug.cgi?id=1087753#c9
--- Comment #9 from Christian Boltz
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:
*lol*
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.