Description of problem: katello-installer generates AVCs Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140318.3 How reproducible: always Steps to Reproduce: 1. # katello-installer 2. # katello-installer --capsule-parent-fqdn <fqdn> --capsule-dns true --capsule-dns-forwarders 10.16.36.29 --capsule-dns-forwarders 10.11.5.19 --capsule-dns-forwarders 10.5.30.160 --capsule-dns-interface eth0 --capsule-dns-zone katellolabs.org --capsule-dhcp true --capsule-dhcp-interface eth0 --capsule-tftp true --capsule-puppet true --capsule-puppetca true --capsule-register-in-foreman true --capsule-foreman-oauth-secret <secret> --capsule-pulp false Actual results: === katello-installer === SELinux: 2048 avtab hash slots, 278892 rules. SELinux: 2048 avtab hash slots, 278892 rules. SELinux: 9 users, 12 roles, 3937 types, 220 bools, 1 sens, 1024 cats SELinux: 81 classes, 278892 rules === katello-installer --capsule-parent-fqdn <fqdn> --capsule-dns true --capsule-dns-forwarders 10.16.36.29 --capsule-dns-forwarders 10.11.5.19 --capsule-dns-forwarders 10.5.30.160 --capsule-dns-interface eth0 --capsule-dns-zone katellolabs.org --capsule-dhcp true --capsule-dhcp-interface eth0 --capsule-tftp true --capsule-puppet true --capsule-puppetca true --capsule-register-in-foreman true --capsule-foreman-oauth-secret <secret> --capsule-pulp false === time->Sun Mar 16 17:17:03 2014 type=SYSCALL msg=audit(1395004623.756:191): arch=c000003e syscall=42 success=no exit=-111 a0=f a1=7f5cc05faf00 a2=1c a3=ff00 items=0 ppid=23315 pid=23863 auid=4294967295 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=4294967295 comm="ruby" exe="/opt/rh/ruby193/root/usr/bin/ruby" subj=unconfined_u:system_r:passenger_t:s0 key=(null) type=AVC msg=audit(1395004623.756:191): avc: denied { name_connect } for pid=23863 comm="ruby" dest=9090 scontext=unconfined_u:system_r:passenger_t:s0 tcontext=system_u:object_r:websm_port_t:s0 tclass=tcp_socket Fail: AVC messages found. Expected results: No AVCs should be generated Additional info: This is most probably a known issue, but filling it as I have not seen it anywhere.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Created redmine issue http://projects.theforeman.org/issues/5827 from this bug
Upstream bug assigned to lzap
Fixed upstream, PR pending review.
Moving to POST since upstream bug http://projects.theforeman.org/issues/5827 has been closed
Seeing this in latest build Satellite-6.0.3-RHEL-6-20140619.0. Still related to installer? type=AVC msg=audit(1403208049.892:2114): avc: denied { name_connect } for pid=18332 comm="ruby" dest=9200 scontext=unconfined_u:system_r:passenger_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket type=SYSCALL msg=audit(1403208049.892:2114): arch=c000003e syscall=42 success=no exit=-111 a0=f a1=7f063cdbc050 a2=1c a3=ff00 items=0 ppid=1 pid=18332 auid=0 uid=497 gid=497 euid=497 suid=497 fsuid=497 egid=497 sgid=497 fsgid=497 tty=(none) ses=19 comm="ruby" exe="/opt/rh/ruby193/root/usr/bin/ruby" subj=unconfined_u:system_r:passenger_t:s0 key=(null) reopening for consideration.
I have reported bug 1112607 as well (includes this and 4 other AVCs generated by katello-installer).
The package did not contain my patch. Jason please make sure you rebase foreman-selinux from latest develop upstream branch. Thanks.
*** Bug 1104270 has been marked as a duplicate of this bug. ***
This was delivered with Satellite 6.0 which was released on 10 September 2014.
https://bugzilla.redhat.com/show_bug.cgi?id=1177377