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: Tue, 10 Apr 2018 00:46:56 +0000
  • Message-id: <bug-1087753-21960-4kMtCmFsR4@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1087753
http://bugzilla.opensuse.org/show_bug.cgi?id=1087753#c5

--- Comment #5 from Shad Sterling <me@xxxxxxxxxxxxxxxx> ---
That's my question on serverfault. In my case, logging to syslog doesn't work,
and (naturally?) doesn't log any errors. Logging to `/var/log/dovecot` was the
default when I started using dovecot (a rather long time ago); if you're going
to prohibit using the former default, you should update dovecot so I'll see an
`/etc/dovecot/conf.d/10-logging.conf.rpmnew` with a comment along the lines of

## Logging anywhere but syslog is now prohibited by the default apparmor
profile.
## You can customize the apparmor profile by editing
/etc/apparmor.d/local/usr.sbin.dovecot

Even better if you have the necessary line as a comment in that file. For my
system the necessary line is

/var/log/dovecot w,

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