Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269324

Re: Dovecot correct ownership for logs

From Richard <rrosner5@gmail.com>
Newsgroups linux.debian.user
Subject Re: Dovecot correct ownership for logs
Date 2024-05-14 13:20 +0200
Message-ID <IDYml-dhg4-5@gated-at.bofh.it> (permalink)
References <IDKjn-d8Kg-3@gated-at.bofh.it> <IDKt3-d8N7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

AppArmor complaints would be shown in journalctl too. But dmseg doesn't
show anything either. Just switched dovecot back to these log files, waited
for the error message, yet dmesg doesn't have anything new since yesterday.
Systemd was also my guess as it was originally set to ProtectSystem=full
for dovecot.service, but reducing that to yes didn't change anything.

These are the in the Service block of the service, maybe you see anything
that could be a reason too:
[Service]
Type=notify
ExecStart=/usr/sbin/dovecot -F
ExecReload=/usr/bin/doveadm reload
ExecStop=/usr/bin/doveadm stop
PrivateTmp=true
NonBlocking=yes
ProtectSystem=yes
ProtectHome=no
PrivateDevices=true
Restart=on-failure

Best
Richard

Am Mo., 13. Mai 2024 um 22:28 Uhr schrieb Greg Wooledge <greg@wooledge.org>:

> On Mon, May 13, 2024 at 10:16:13PM +0200, Richard wrote:
> > May 13 20:55:37 mail postfix/local[2824184]: 95BCF1000A9: to=<
> user@domain.de>,
> > > relay=local, delay=3.2, delays=1.9/0.29/0/1.1, dsn=4.3.0,
> status=deferred
> > > (temporary failure. Command output: lda(user): Error:
> > > net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied
> Can't
> > > open log file /var/log/dovecot/error.log: Permission denied )
> >
> > This is the content of /var/log/dovecot:
> > -rw-r--r--  1 dovecot dovecot    0 13. Mai 20:50 debug.log
> > -rw-r--r--  1 dovecot dovecot  880 13. Mai 21:21 error.log
> > -rw-r--r--  1 dovecot dovecot  40K 13. Mai 21:20 info.log
>
> The first two things that come to mind are AppArmor, and systemd unit
> files.
>
> Check to see whether there's an AppArmor profile for this program, or
> any lines from AppArmor in dmesg.
>
> If that's not it, look at the systemd unit file(s) that start the
> dovecot service(s), if there are any, and see if they're using any of
> the directives that restrict the locations the program can access.
>
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-13 22:20 +0200
  Re: Dovecot correct ownership for logs Geert Stappers <stappers@stappers.nl> - 2024-05-13 22:30 +0200
  Re: Dovecot correct ownership for logs Greg Wooledge <greg@wooledge.org> - 2024-05-13 22:30 +0200
    Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 13:20 +0200
  Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-14 00:50 +0200
    Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 13:20 +0200
      Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-14 13:40 +0200
        Re: Dovecot correct ownership for logs Greg Wooledge <greg@wooledge.org> - 2024-05-14 13:50 +0200
          Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-14 14:00 +0200
            Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 19:30 +0200
          Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 14:00 +0200
            Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 15:20 +0200
              Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 15:30 +0200
              OT: Top Posting (was: Dovecot correct ownership for logs) "Loris Bennett" <loris.bennett@fu-berlin.de> - 2024-05-14 16:00 +0200
                Re: OT: Top Posting (was: Dovecot correct ownership for logs) Richard <rrosner5@gmail.com> - 2024-05-14 16:10 +0200
                Re: OT: Top Posting gene heskett <gheskett@shentel.net> - 2024-05-14 17:00 +0200
                Re: OT: Top Posting Richard <rrosner5@gmail.com> - 2024-05-14 17:10 +0200
                Re: OT: Top Posting Jeffrey Walton <noloader@gmail.com> - 2024-05-14 21:00 +0200
                Re: OT: Top Posting Larry Martell <larry.martell@gmail.com> - 2024-05-15 00:30 +0200
                Re: OT: Top Posting fxkl47BF@protonmail.com - 2024-05-14 19:10 +0200
                Re: OT: Top Posting Greg Wooledge <greg@wooledge.org> - 2024-05-14 19:50 +0200
                Re: OT: Top Posting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2024-05-14 20:00 +0200
                Re: OT: Top Posting Nicolas George <george@nsup.org> - 2024-05-14 20:20 +0200
                Re: OT: Top Posting Karen Lewellen <klewellen@shellworld.net> - 2024-05-14 20:40 +0200
                Re: OT: Top Posting Greg Wooledge <greg@wooledge.org> - 2024-05-14 21:40 +0200
                Markup in mail messages (was: Re: OT: Top Posting) Max Nikulin <manikulin@gmail.com> - 2024-05-15 04:20 +0200
                Re: Markup in mail messages eben@gmx.us - 2024-05-15 05:40 +0200
                Re: Markup in mail messages Darac Marjal <mailinglist@darac.org.uk> - 2024-05-15 17:00 +0200
                Re: Markup in mail messages David <curmudgeon@telaman.net.au> - 2024-05-15 20:50 +0200
                Re: Markup in mail messages Stefan Monnier <monnier@iro.umontreal.ca> - 2024-05-16 15:30 +0200
                Re: Markup in mail messages <tomas@tuxteam.de> - 2024-05-16 15:50 +0200
                Re: Markup in mail messages Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-16 16:00 +0200
                Re: Markup in mail messages Stefan Monnier <monnier@iro.umontreal.ca> - 2024-05-17 21:30 +0200
                Re: Markup in mail messages Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-17 23:20 +0200
                Re: Markup in mail messages Max Nikulin <manikulin@gmail.com> - 2024-05-18 05:40 +0200
                Re: Markup in mail messages <tomas@tuxteam.de> - 2024-05-18 07:50 +0200
                Re: Markup in mail messages Max Nikulin <manikulin@gmail.com> - 2024-05-16 19:00 +0200
                Re: Markup in mail messages Karl Vogel <vogelke@pobox.com> - 2024-05-17 05:50 +0200
                Re: Markup in mail messages Max Nikulin <manikulin@gmail.com> - 2024-05-17 07:50 +0200
                Re: Markup in mail messages Greg Wooledge <greg@wooledge.org> - 2024-05-17 13:20 +0200
                Re: Markup in mail messages Max Nikulin <manikulin@gmail.com> - 2024-05-18 15:30 +0200
                Re: Markup in mail messages Greg Wooledge <greg@wooledge.org> - 2024-05-18 15:50 +0200
                Re: Markup in mail messages Curt <curty@free.fr> - 2024-05-16 17:10 +0200
                Re: OT: Top Posting debian-user@howorth.org.uk - 2024-05-14 21:40 +0200
                Re: OT: Top Posting Cindy Sue Causey <butterflybytes@gmail.com> - 2024-05-15 16:40 +0200
                Re: OT: Top Posting Nicolas George <george@nsup.org> - 2024-05-15 17:00 +0200
                Re: OT: Top Posting gene heskett <gheskett@shentel.net> - 2024-05-15 20:10 +0200
                Re: OT: Top Posting "Andrew M.A. Cater" <amacater@einval.com> - 2024-05-14 20:30 +0200
                Re: OT: Top Posting Andy Smith <andy@strugglers.net> - 2024-05-14 23:20 +0200
                Re: OT: Top Posting fxkl47BF@protonmail.com - 2024-05-14 23:40 +0200
                Re: OT: Top Posting Cindy Sue Causey <butterflybytes@gmail.com> - 2024-05-15 15:50 +0200
                Re: OT: Top Posting Nicolas George <george@nsup.org> - 2024-05-15 16:10 +0200
                Re: OT: Top Posting gene heskett <gheskett@shentel.net> - 2024-05-15 16:50 +0200
                Re: OT: Top Posting Greg Wooledge <greg@wooledge.org> - 2024-05-15 16:50 +0200
                Re: OT: Top Posting Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-15 18:10 +0200
                Re: OT: Top Posting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2024-05-15 18:50 +0200
                Re: OT: Top Posting (was: Dovecot correct ownership for logs) <tomas@tuxteam.de> - 2024-05-14 17:30 +0200
              Re: Dovecot correct ownership for logs Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-14 16:00 +0200
                Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 20:50 +0200
              Re: Dovecot correct ownership for logs Alain D D Williams <addw@phcomp.co.uk> - 2024-05-14 17:40 +0200
                Re: Dovecot correct ownership for logs Nicolas George <george@nsup.org> - 2024-05-14 17:50 +0200
        Re: Dovecot correct ownership for logs <tomas@tuxteam.de> - 2024-05-14 13:50 +0200
  Re: Dovecot correct ownership for logs <tomas@tuxteam.de> - 2024-05-14 06:40 +0200
    Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 13:40 +0200
      Re: Dovecot correct ownership for logs tomas@tuxteam.de - 2024-05-14 13:50 +0200
        Re: Dovecot correct ownership for logs Florent Rougon <f.rougon@free.fr> - 2024-05-14 14:10 +0200
        Re: Dovecot correct ownership for logs tomas@tuxteam.de - 2024-05-14 14:20 +0200
          Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-15 00:50 +0200
            Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-15 12:30 +0200
              Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-15 12:40 +0200
                Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-15 13:00 +0200
                Re: Dovecot correct ownership for logs jeremy ardley <jeremy.ardley@gmail.com> - 2024-05-15 13:00 +0200
              Re: Dovecot correct ownership for logs Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-15 14:00 +0200
                Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-16 13:10 +0200
                Re: Dovecot correct ownership for logs Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-16 14:40 +0200
                Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-17 10:20 +0200
                Re: Dovecot correct ownership for logs Greg Wooledge <greg@wooledge.org> - 2024-05-17 14:30 +0200
                Re: Dovecot correct ownership for logs Henning Follmann <hfollmann@itcfollmann.com> - 2024-05-17 14:30 +0200
                Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-18 15:20 +0200
        Re: Dovecot correct ownership for logs Richard <rrosner5@gmail.com> - 2024-05-14 14:20 +0200

csiph-web