Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
(In reply to Miroslav Grepl from comment #2)
> What AVC are you getting in permissive mode?
from /var/log/messeges I've found avc: denied:
Jan 12 17:22:03 purple-vds2 kernel: type=1400 audit(1421076123.001:23):
avc: denied { name_connect } for pid=20026 comm="glusterfs" dest=49262 scontext=system_u:system_r:glusterd_t:s0-s0:c
0.c1023 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket
that's in permissive mode
ausearch -m avc -m user_avc -m selinux_err -i -ts today didn't prompt results
#============= glusterd_t ==============
#!!!! This avc is allowed in the current policy
allow glusterd_t ephemeral_port_t:tcp_socket name_connect;
What is your version of policy
# rpm -q selinux-policy
It seems that audit daemon is not running on your machine.
# service auditd start
When audit daemon is not running the only sources of audit records are dmesg and /var/log/messages.
(In reply to Miroslav Grepl from comment #6)
> #============= glusterd_t ==============
>
> #!!!! This avc is allowed in the current policy
> allow glusterd_t ephemeral_port_t:tcp_socket name_connect;
>
>
> What is your version of policy
>
> # rpm -q selinux-policy
selinux-policy-sandbox-3.12.1-153.el7_0.13.noarch
selinux-policy-targeted-3.12.1-153.el7_0.13.noarch
selinux-policy-3.12.1-153.el7_0.13.noarch
selinux-policy-doc-3.12.1-153.el7_0.13.noarch
selinux-policy-devel-3.12.1-153.el7_0.13.noarch
selinux-policy-minimum-3.12.1-153.el7_0.13.noarch
selinux-policy-mls-3.12.1-153.el7_0.13.noarch
(In reply to Miroslav Grepl from comment #9)
> Could you test it with latest RHEL7.1 policy builds? I believe it will work
> with them.
Does not reproduce on 7.1 beta
(In reply to Dan Kenigsberg from comment #11)
> Miroslav, fyi, we need this fixed for rhev-3.5.0 which is scheduled to be
> released on top of rhel-7.0.z.
In this case, we need to get this bugzilla to Modified state and ask for z-stream clone bug.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-0458.html