Re: posttfix and selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-11-12 at 10:16 -0800, Wolfgang S. Rupprecht wrote:
> I'm temporarily running selinux in permissive mode and seeing a few
> security gripes in /var/log/messages.  I assume this means that if I
> were to turn selinux back on fully I'd see some aspect of postfix
> operation start to fail.
> 
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:9): avc:  denied  { create } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:10): avc:  denied  { bind } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:11): avc:  denied  { getattr } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:12): avc:  denied  { write } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:13): avc:  denied  { nlmsg_read } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
>     Nov 12 08:59:32 arbol kernel: audit(1163350772.647:14): avc:  denied  { read } for  pid=3864 comm="smtp" scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:system_r:postfix_smtp_t:s0 tclass=netlink_route_socket
> 
> I've run restorecon as such to fix things up, but
> /etc/postfix/prng_exch seems to un-set the correct settings
> periodically.
> 
>      restorecon -r -n /etc/postfix
> 
> Is this operator error, or do I just need to cool my heals a bit till
> someone fixes the internals of postfix to deal with the selinux
> permissions better?
----
seems odd that they would have missed that but try...

fixfiles -R postfix restore

and see what happens

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux