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.
commit 860d4893b898699ffe9b9ffdaa9d3c2132be6a41
Author: Lukas Vrabec <lvrabec>
Date: Thu Mar 31 17:12:43 2016 +0200
Allow prosody to stream connect to sasl. This will allow using cyrus authentication in prosody.
Resolves: rhbz#1321049
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-2016-2283.html
Hi, default prosody selinux policy break cyrus sasl auth i'm using saslauthd to bind to openldap # install yum install prosody lua-cyrussasl cyrus-sasl-plain cyrus-sasl # use cyrus authentication in prosody conf VirtualHost "my.dom" authentication = "cyrus" # and you get this in audit.log ####################################################################################### type=AVC msg=audit(1458828007.309:1551): avc: denied { connectto } for pid=10304 comm="lua" path="/run/saslauthd/mux" scontext=system_u:system_r:prosody_t:s0 tcontext=system_u:system_r:saslauthd_t:s0 tclass=unix_stream_socket type=SYSCALL msg=audit(1458828007.309:1551): arch=c000003e syscall=42 success=yes exit=0 a0=12 a1=7ffe8362a510 a2=6e a3=1fde items=0 ppid=1 pid=10304 auid=4294967295 uid=991 gid=988 euid=991 suid=991 fsuid=991 egid=988 sgid=988 fsgid=988 tty=(none) ses=4294967295 comm="lua" exe="/usr/bin/lua" subj=system_u:system_r:prosody_t:s0 key=(null) type=AVC msg=audit(1458828061.707:1560): avc: denied { write } for pid=10304 comm="lua" name="mux" dev="tmpfs" ino=6057442 scontext=system_u:system_r:prosody_t:s0 tcontext=system_u:object_r:saslauthd_var_run_t:s0 tclass=sock_file type=SYSCALL msg=audit(1458828061.707:1560): arch=c000003e syscall=42 success=yes exit=0 a0=13 a1=7ffe8362a510 a2=6e a3=1fd1 items=0 ppid=1 pid=10304 auid=4294967295 uid=991 gid=988 euid=991 suid=991 fsuid=991 egid=988 sgid=988 fsgid=988 tty=(none) ses=4294967295 comm="lua" exe="/usr/bin/lua" subj=system_u:system_r:prosody_t:s0 key=(null) ####################################################################################### # here the output of audit.log ####################################################################################### module prosody_saslauthd 1.0; require { type saslauthd_var_run_t; type prosody_t; type saslauthd_t; class sock_file write; class unix_stream_socket connectto; } #============= prosody_t ============== #!!!! This avc can be allowed using the boolean 'daemons_enable_cluster_mode' allow prosody_t saslauthd_t:unix_stream_socket connectto; allow prosody_t saslauthd_var_run_t:sock_file write; ####################################################################################### using selinux-policy/selinux-policy-targeted 3.13.1-60.el7_2.3 prosody 0.9.10-1.el7