ejabberd and name_bind
Randy Barlow <[email protected]> Wed, 11 Aug 2021 00:25:53 +0000
| Newsgroups | gmane.linux.redhat.fedora.selinux |
|---|---|
| Message-ID | <010f017b3299ea12-fd8bbd93-bced-4bf2-94cd-14999a8fc52d-000000@us-east-2.amazonses.com> |
Greetings! The ejabberd Fedora package has its own SELinux policy module that it ships[0]. A user has reported an issue with an SELinux denial with the default ejabberd config[1]. I spent some time trying to modify the policy to allow the name_bind on the port, but it seems that my attempts result in it still being denied: allow ejabberd_t unreserved_port_t:udp_socket name_bind; As I commented on the ticket, I also found that setting the nis_enabled bool on my system to true would solve the problem. However, I think it would be ideal if I could adjust the ejabberd module to do this on the users' behalf, as it is not obvious to the average user (or even to me) that this boolean could be the solution to the problem. Is there something I could adjust in the ejabberd policy that would resolve this issue? Thanks. [0] https://src.fedoraproject.org/rpms/ejabberd/blob/rawhide/f/ejabberd.te [1] https://bugzilla.redhat.com/show_bug.cgi?id=1901466 _______________________________________________ selinux mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEtfliYHg8ZNUv009vi96gmM0kK3oFAmETGQUACgkQi96gmM0k K3qoJA/9FHUxg+f8kG3JmwVzXxZwBsHNpiOvX1Mdrff1DWJJcdC7xQ6WNtVr4Bf3 QJPtZTPWPgNcnClqi05+CmhxeUT+o7FL77iW1amDpJHo/WUkhrcxqTx2Tp4uFR6R XdT6mPSGVZrIceWMEYVrdIy+smLVGpFQHtA3yP1j8zqOeemn6s5sPIDr+uMLiadW wjtxjUMs61NmKeFnH//r3VtPIaBHqcS2hHOeRo/BEFWIzjMLv3FQ7oOk33UxtLSR qNk+MOCcXIUrfuNhCd0NNsSJOcUOhNcuheXHRizpmvqXTSC8YOLqdxDfVGsHdc0E XQ/dZbkiCkkb5vjg5gb7u+5E7vf3V834dXhuTkNRVDZ8ouQyRPuLN4sXaOjZClq9 nm+chfJxD7nr8vsvd56RTYfBYnc9fU3s4ot4tL0ITlZTVxvDmZfw4gnrt7ThQqhd eMnQxG4G2Ad1cAiLeis02nYMe/NiWF0gIXoDgPbIrYKR0sVnGFoq0O4Pk/+c+HKf 3i0YNzdTLSvqdQfLEL0nKPNmPbHcp2hLdlZ66MtUhlJ+UYWQO/uX2WAk77+onjmC sEcI0oMuMmLWzx7RRk7vy28WwEQfOUYOEfWFK8ldcT2txC4azYTq4v99cjTo1/T9 +8jEtXvHvyYf4WXWsLXWS4tFPoaacuqVMEDtqnYPBVHzGE8RVyM= =RNDm -----END PGP SIGNATURE-----