Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43644 - [postfix] incorrect permissions after update, postfix won't start

Attached to Project: Arch Linux
Opened by Sebastiaan Lokhorst (lonaowna) - Saturday, 31 January 2015, 18:19 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 31 January 2015, 19:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

When I updated to postfix-2.11.3-2, I got the following messages from Pacman:

warning: directory ownership differs on /var/lib/postfix/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/trace/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/saved/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/public/
filesystem: 73:75 package: 0:0
warning: directory ownership differs on /var/spool/postfix/maildrop/
filesystem: 73:75 package: 0:0
warning: directory ownership differs on /var/spool/postfix/private/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/incoming/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/hold/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/flush/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/deferred/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/defer/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/corrupt/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/bounce/
filesystem: 73:0 package: 0:0
warning: directory ownership differs on /var/spool/postfix/active/
filesystem: 73:0 package: 0:0

I chowned these directories to 0:0, but after I did that, postfix.service no longer starts. I get the following error in the journal:

postfix[21755]: postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postsuper[21788]: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script[21790]: fatal: Postfix integrity check failed!
systemd[1]: postfix.service: control process exited, code=exited status=1
systemd[1]: Failed to start Postfix Mail Transport Agent.
systemd[1]: Unit postfix.service entered failed state.
systemd[1]: postfix.service failed.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 31 January 2015, 19:52 GMT
Reason for closing:  None
Additional comments about closing:  Reason for request: I did something wrong myself. I reinstalled the package and everything is fine now. Sorry!

Loading...