Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669304 - mail-mta/postfix-3.3.1-r1 fails to set permissions on /usr/sbin/{postqueue,postdrop}
Summary: mail-mta/postfix-3.3.1-r1 fails to set permissions on /usr/sbin/{postqueue,po...
Status: RESOLVED DUPLICATE of bug 665280
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-10-22 10:48 UTC by Timo Rothenpieler
Modified: 2021-11-09 06:02 UTC (History)
3 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 Timo Rothenpieler 2018-10-22 10:48:42 UTC
After upgrading from 3.2.4 to 3.3.1-r1 I ended up with some of my system services seemingly randomly unable to send mail, even though it worked fine from the command line.

Found the following in my postfix log:
postfix/postfix-script[2883]: warning: not owned by group postdrop: /usr/sbin/postqueue
postfix/postfix-script[2884]: warning: not owned by group postdrop: /usr/sbin/postdrop
postfix/postfix-script[2886]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postqueue
postfix/postfix-script[2887]: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop

After doing as told by the warning (chgrp postdrop and chmod g+s), the warnings disappeared and my services can send mail again.

Looking at the ebuild, I'd assume that the call to "postfix set-permissions" would be supposed to set those.
Doing it manually shows it failing though, because I do not have any .proto or .default config files in my /etc/postfix dir, which probably makes it abort early, never setting those file permissions.
Comment 1 Philippe Chaintreuil 2019-03-26 20:31:37 UTC
Is this a dupe of bug #665280?  ("mail-mta/postfix-3.3.1-r1: Many permissions incorrect after update, postfix functionality impaired")
Comment 2 Eray Aslan gentoo-dev 2021-11-09 06:02:35 UTC

*** This bug has been marked as a duplicate of bug 665280 ***