Description of problem: - if [ -e /etc/selinux/${SELINUXTYPE}/modules1/active/booleans.local ]; then + if [ -e /etc/selinux/${SELINUXTYPE}/modules/active/booleans.local ]; then Seems pretty obvious to me. This is causing my autofs regression tests to generate avc messages. Please fix. Version-Release number of selected component (if applicable): ypbind-1.19-8.el5 How reproducible: 100% Steps to Reproduce: 1. setsebool -P allow_ypbind=1 2. service ypbind stop 3. service ypbind start Actual results: avc messages generated: /sbin/ausearch -sv no -m AVC -m USER_AVC -m SELINUX_ERR -ts 4/8/2008 15:35:16 ---- time->Tue Apr 8 15:35:48 2008 type=SYSCALL msg=audit(1207683348.384:10): arch=c000003e syscall=49 success=no exit=-13 a0=5 a1=7fff80235f10 a2=10 a3=3 items=0 ppid=4024 pid=4034 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="genhomedircon" exe="/usr/bin/python" subj=system_u:system_r:semanage_t:s0 key=(null) type=AVC msg=audit(1207683348.384:10): avc: denied { node_bind } for pid=4034 comm="genhomedircon" scontext=system_u:system_r:semanage_t:s0 tcontext=system_u:object_r:inaddr_any_node_t:s0 tclass=tcp_socket ---- time->Tue Apr 8 15:35:48 2008 type=SYSCALL msg=audit(1207683348.384:11): arch=c000003e syscall=49 success=no exit=-13 a0=5 a1=7fff80235e40 a2=10 a3=3 items=0 ppid=4024 pid=4034 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="genhomedircon" exe="/usr/bin/python" subj=system_u:system_r:semanage_t:s0 key=(null) type=AVC msg=audit(1207683348.384:11): avc: denied { name_bind } for pid=4034 comm="genhomedircon" src=818 scontext=system_u:system_r:semanage_t:s0 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket ---- time->Tue Apr 8 15:35:48 2008 type=SYSCALL msg=audit(1207683348.384:12): arch=c000003e syscall=42 success=no exit=-13 a0=5 a1=7fff802360a0 a2=10 a3=3 items=0 ppid=4024 pid=4034 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="genhomedircon" exe="/usr/bin/python" subj=system_u:system_r:semanage_t:s0 key=(null) type=AVC msg=audit(1207683348.384:12): avc: denied { name_connect } for pid=4034 comm="genhomedircon" dest=111 scontext=system_u:system_r:semanage_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket Expected results: no avc messages
Created attachment 301698 [details] Fix the typo
Thanks for report and patch!