Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534538 - mail-filter/amavisd-new /etc/amavisd.conf should be group amavis
Summary: mail-filter/amavisd-new /etc/amavisd.conf should be group amavis
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-03 21:37 UTC by Marc Schiffbauer
Modified: 2015-01-05 15:55 UTC (History)
0 users

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 Marc Schiffbauer gentoo-dev 2015-01-03 21:37:05 UTC
/etc/amavisd.conf is installed with root:root 0640, but then amavis reload will fail because user amavis cannot read its config file.

So root:amavis 0640 would be the correct user:group and perms

Thanks ;)
Comment 1 Eray Aslan gentoo-dev 2015-01-05 11:20:57 UTC
$ grep -B1 etc/amavisd.conf amavisd-new-2.10.1-r1.ebuild 
pkg_postinst() {
	chown root:amavis "${ROOT}/etc/amavisd.conf"
$ ls -l /etc/amavisd.conf 
-rw-r----- 1 root amavis 36700 Sep  9 10:39 /etc/amavisd.conf

Question is why did it not work for you?
Comment 2 Marc Schiffbauer gentoo-dev 2015-01-05 14:46:56 UTC
Whoops. I have to admit that I did not check the ebuild :-/

I will keep an eye on that and report back, if this issue arises again. I think we should close as invalid for now then or leave it open as you wish ;)

Maybe I should add myself to net-mail herd. Would that be ok?
Comment 3 Eray Aslan gentoo-dev 2015-01-05 15:55:14 UTC
Adding yourself to net-mail herd is certainly OK.

Closing as INVALID.  Reopen as you see fit.