selinux + mailman +postfix security problem (F14)

Daniel J Walsh dwalsh at redhat.com
Thu Aug 25 18:15:15 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/25/2011 11:52 AM, Fulko Hew wrote:
> On Fedora 14, I am setting up postfix and mailman.
> 
> I had this working once, but I decided to yum erase postfix and
> mailman and redo the configuration to prove I knew how to recreate
> it.
> 
> Turns out I don't know how to recreate a working combination 
> because when creating a new list I now have mailman error log that 
> talks about:
> 
> command failed: /usr/sbin/postalias /etc/mailman/aliases (status:
> 1, Operation not permitted)
> 
> and a corresponding AVC error:
> 
> Aug 25 10:28:54 (null) (null): audit(1314282534.501:4326): avc:
> denied { search } for pid=12121 comm=postalias name=postfix
> ino=295074 dev=dm-0 scontext=system_u:system_r:mailman_cgi_t:s0 
> tcontext=system_u:object_r:postfix_etc_t:s0 tclass=dir
> 
> Suggestions?
> 
> Fulko
> 
> 
> 
restorecon -R -v /etc/mailman

Should change the label.

Should be

system_u:object_r:mailman_data_t:s0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5WkTMACgkQrlYvE4MpobOasgCeIdIyRBaKF3hgzcvscoad168f
iKUAnj/kTOp9HFmYVU0452BY/yanXiyS
=6UeM
-----END PGP SIGNATURE-----


More information about the users mailing list