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, 19 Apr 2018 19:18:53 +0000
  • Message-id: <bug-1087753-21960-c6x7YYZjQR@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1087753
http://bugzilla.opensuse.org/show_bug.cgi?id=1087753#c14

--- Comment #14 from Tristan Miller <psychonaut@xxxxxxxxxxxxxxxxx> ---
(In reply to Tristan Miller from comment #13)
(In reply to Christian Boltz from comment #9)
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.)

No, no messages appear in audit.log.

Oh, sorry -- I had forgotten to re-enable logging in /etc/dovecot/dovecot.conf.
I re-enabled it and tried again just now. Here's what gets written to
audit.log when starting dovecot:

type=AVC msg=audit(1524165468.008:2651): apparmor="ALLOWED" operation="open"
profile="/usr/sbin/dovecot" name="/var/log/dovecot.log" pid=8197 comm="dovecot"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
type=AVC msg=audit(1524165468.008:2652): apparmor="ALLOWED"
operation="file_perm" profile="/usr/sbin/dovecot" name="/var/log/dovecot.log"
pid=8197 comm="dovecot" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
type=AVC msg=audit(1524165468.016:2653): apparmor="DENIED" operation="open"
profile="/usr/lib/dovecot/log" name="/var/log/dovecot.log" pid=8200 comm="log"
requested_mask="ac" denied_mask="ac" fsuid=0 ouid=0

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