Bug 639110
Summary: | Can't register systems with satellite using PAM auth + SELinux Enforcing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Marcelo Moreira de Mello <mmello> | ||||||
Component: | Registration | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Šimon Lukašík <slukasik> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 530 | CC: | cperry, jhutar, jpazdziora, mmello, pep, pnovotny | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | oracle-config-1.1-7 spacewalk-setup-1.2.6-10 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 703379 (view as bug list) | Environment: | |||||||
Last Closed: | 2011-06-17 02:46:13 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 677501, 703379 | ||||||||
Attachments: |
|
Description
Marcelo Moreira de Mello
2010-09-30 20:55:22 UTC
Created attachment 450886 [details]
TEST policy module data
Created attachment 450887 [details]
TEST policy module source
Comment on attachment 450887 [details]
TEST policy module source
Changing content type to text/plain on the .te module source.
Taking. For the PAM authentication to work, two things are needed: * allow_httpd_mod_auth_pam boolean set to on; * the new selinux-policy package(s) from bug 579105. However, my tests show that on Satellite 5.4.0 on RHEL 5.5, those AVCs don't mean that the rhnreg_ks wouldn't work -- it passes fine. (In reply to comment #10) > However, my tests show that on Satellite 5.4.0 on RHEL 5.5, those AVCs don't > mean that the rhnreg_ks wouldn't work -- it passes fine. Oops, scratch this -- I was in permissive. Public note - as per comment #9 to have working PAM authentication in enforcing SELinux: They also need updated selinux-policy package plus allow_httpd_mod_auth_pam SELinux boolean needs to be set - this can be done manually by any customer encountering this issue as a work around. I am moving this bug from the sat54-errata tracker to sat600-triage. We will align a long term solution to the Sat 5.4.1 release cycles. Cliff I've just checked that when I upgrade from RHEL 5.5's selinux-policy-targeted-2.4.6-279.el5 to RHEL 5.6's selinux-policy-targeted-2.4.6-300.el5_6.1, PAM auth works on Satellite 5.4.0 on RHEL 5, with # getsebool allow_httpd_mod_auth_pam allow_httpd_mod_auth_pam --> on Moving ON_QA. On RHEL 6, tomcat6 no longer sources setenv.sh so the bug 627859 is back, albeit only on s390x, x86_64 seems to work. Our attempt to add the RHEL 5's tomcat5 behaviour to tomcat6 in RHEL 6 failed: bug 633810. Therefore we needed to hack in the setenv.sh support to tomcat6.conf, SATELLITE-5.4 56b078de2244b9fbdfecc8247cb3ddd17e92d532 and Satellite thirdparty 19e8ad06788e5f21e0fd9c88faa18f640a6f979b. The new tomcatX.conf.3 needed during spacewalk-setup to modify the tomcat6.conf was not added to the spacewalk-setup-1.2.6-9 rpm -- my fault, sorry about that. Fixed in SATELLITE-5.4 d4ca322236e959bcae1806e6272e330b1a27823e. Tagged and built as spacewalk-setup-1.2.6-10. Changing to Verified: Testing procedure: - Automated test Verified against: Satellite 5.4.1 re20110517.0 spacewalk-setup-1.2.6-10 oracle-config-1.1-7 Re-verified in oracle-config-1.1-7, spacewalk-setup-1.2.6-11. Moving to RELEASE_PENDING. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. https://rhn.redhat.com/errata/RHEA-2011-0875.html |