Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 534538

Summary: mail-filter/amavisd-new /etc/amavisd.conf should be group amavis
Product: Gentoo Linux Reporter: Marc Schiffbauer <mschiff>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.