Bug 479773
Summary: | NIS authentication fails with SELinux set to enforcing | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew John Hughes <ahughes> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | dwalsh, jkubin, mgrepl, rdieter |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-19 15:27:10 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: | 517000 |
Description
Andrew John Hughes
2009-01-13 00:10:11 UTC
No AVC's reported. Strange, could you execute. # semanage permissive -a sshd_t # semodule -DB And then try to ssh into the machine, Then look for sshd avc messages. Execute # semanage permissive -d sshd_t When you are done. type=AVC msg=audit(1231958066.818:158): avc: denied { getattr } for pid=4606 comm="unix_chkpwd" name="/" dev=selinuxfs ino=1 scontext=system_u:system_r:system_chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=filesystem type=AVC msg=audit(1231958066.818:159): avc: denied { search } for pid=4606 comm="unix_chkpwd" name="/" dev=selinuxfs ino=1 scontext=system_u:system_r:system_chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=dir type=AVC msg=audit(1231958066.818:160): avc: denied { search } for pid=4606 comm="unix_chkpwd" name="/" dev=selinuxfs ino=1 scontext=system_u:system_r:system_chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:security_t:s0 tclass=dir type=AVC msg=audit(1231958066.819:161): avc: denied { name_bind } for pid=4606 comm="unix_chkpwd" src=966 scontext=system_u:system_r:system_chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=udp_socket type=AVC msg=audit(1231958066.819:162): avc: denied { name_bind } for pid=4606 comm="unix_chkpwd" src=967 scontext=system_u:system_r:system_chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=udp_socket If you create mynis.te to look like the following: cat mynis.te policy_module(mynis, 1.0) gen_require(` type system_chkpwd_t; ') nis_authenticate(system_chkpwd_t) Then execute # make -f /usr/share/selinux/devel/Makefile # semodule -i mynis.pp Does nis work in enforcing mode? Yes. Miroslav can you add this to F9 and F10 policy. Fixed in selinux-policy-3.5.13-40.fc10.noarch Closing all bugs that have been in modified for over a month. Please reopen if the bug is not actually fixed. |