Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673210 - net-mail/dovecot-2.3.4 /var/run/dovecot//stats-writer failed: Permission
Summary: net-mail/dovecot-2.3.4 /var/run/dovecot//stats-writer failed: Permission
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-15 21:29 UTC by Kilburn Abrahams
Modified: 2021-04-10 19:49 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2018-12-15 21:29:26 UTC
Upgraded from 2.3.3 to 2.3.4 and this appears in the logs even when stats service is not used. 2.3.3 does not throw this error. Even although this appears in the logs, the mail still gets delivered.

The permissions on /var/run/dovecot//stats-writer seems to be the same on 2.3.3 and 2.3.4.

Dec 15 21:11:32 EBox postfix/pipe[17738]: CC1E3234002B: to=<user@domain.com>, relay=dovecot, delay=5.8, delays=5.4/0.01/0/0.39, dsn=2.0.0, status=sent (delivered via dovecot service (lda(user@domain.com,)Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permissio))  

Reproducible: Always

Steps to Reproduce:
1. upgrade dovecot to 2.3.4
2. restart dovecot
3. receive mail and observe logs
Actual Results:  
No error in logs
Comment 1 Tomáš Mózes 2019-02-20 08:44:43 UTC
Same here on 2.3.4.1.

https://forum.iredmail.org/topic15113-error-netconnectunixvarrundovecotstatswriter-failed.html

service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}
Comment 2 WOLfgang Schricker 2021-04-10 19:49:28 UTC
(In reply to Tomáš Mózes from comment #1)
> service stats {
>     unix_listener stats-reader {
>         user = vmail
>         group = vmail
>         mode = 0660
>     }
> 
>     unix_listener stats-writer {
>         user = vmail
>         group = vmail
>         mode = 0660
>     }
> }

Content inserted in (new file) /etc/dovecot/conf.d/10-stats.conf.
No more error in dovecot-2.3.13-r100.