Bug 750601
Summary: | pam_namespace cannot verify status of SELinux in MLS | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Josh <jokajak> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | dapospis, dwalsh, ksrot, mniranja, mvadkert |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pam-1.1.1-12.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
The 'require_selinux' option handling in the pam_namespace module was broken.
Consequence:
It was not possible to prevent log-in when SELinux was switched off with using pam_namespace require_selinux option.
Fix:
The 'require_selinux' option handling in the pam_namespace module was fixed.
Result:
It is now possible to query to prevent log-in when SELinux is switched off with using pam_namespace require_selinux option.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 10:36:43 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: | 782183, 836160 |
Description
Josh
2011-11-01 18:00:17 UTC
josh do you see any avc messages related to sshd_t? And you do have allow_polyinstantiation boolean turned on? setsebool -P allow_polyinstantiation 1 polyinstantiation is enabled and there are no AVC messages related to sshd_t or anything (In reply to comment #3) > polyinstantiation is enabled and there are no AVC messages related to sshd_t or > anything running with semodule -DB does not provide any other denials other than noatsecure siginh rlimitinh Josh, are you really running the genuine RHEL-6 rpms? Also, do you see the same problem when running with targeted policy? (In reply to comment #5) > Josh, are you really running the genuine RHEL-6 rpms? > Also, do you see the same problem when running with targeted policy? Yep, genuine RHEL-6 rpms from 6.1 Just tried it with targeted and I AM seeing the same problem PS: the option is require_selinux but the logged error message is selinux_required Ah, I forgot about this bug. This is actually a real pam_namespace bug that is fixed already in the current upstream releases (and Fedora). (In reply to comment #7) > Ah, I forgot about this bug. This is actually a real pam_namespace bug that is > fixed already in the current upstream releases (and Fedora). Any way it can find its way in to RHEL6.2? I cannot give you any definitive information in regards to RHEL6.2 but I can say it is highly improbable that it would be fixed there. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. Is this limited to MLS? I am unable to connect even in targeted policy. No, this is not limited to MLS. It is sufficient to test it with targeted policy. 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. http://rhn.redhat.com/errata/RHSA-2013-0521.html |