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.
Description of problem: This problems occurs on i386 architecture only. Tool nslcd from nss-pam-ldapd tries to access /sys/devices/system/cpu/online which has secontext system_u:object_r:sysfs_t:s0 and the access is forbidden. Version-Release number of selected component (if applicable): selinux-policy-3.7.19-212.el6.noarch How reproducible: 100% (on i386 only) Steps to Reproduce: 1. Start nslcd (service nslcd start) 2. See /v/r/a/audit.log Actual results: type=AVC msg=audit(1379070099.317:54): avc: denied { search } for pid=3409 comm="nslcd" name="/" dev=sysfs ino=1 scontext=unconfined_u:system_r:nslcd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir type=AVC msg=audit(1379070099.317:56): avc: denied { search } for pid=3411 comm="nslcd" name="/" dev=sysfs ino=1 scontext=unconfined_u:system_r:nslcd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir type=AVC msg=audit(1379070099.317:55): avc: denied { search } for pid=3410 comm="nslcd" name="/" dev=sysfs ino=1 scontext=unconfined_u:system_r:nslcd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir type=SYSCALL msg=audit(1379070099.317:54): arch=40000003 syscall=5 success=no exit=-13 a0=b22c00 a1=80000 a2=0 a3=15c items=0 ppid=1 pid=3409 auid=0 uid=65 gid=55 euid=65 suid=65 fsuid=65 egid=55 sgid=55 fsgid=55 tty=(none) ses=1 comm="nslcd" exe="/usr/sbin/nslcd" subj=unconfined_u:system_r:nslcd_t:s0 key=(null) type=SYSCALL msg=audit(1379070099.317:56): arch=40000003 syscall=5 success=no exit=-13 a0=b22c00 a1=80000 a2=0 a3=15c items=0 ppid=1 pid=3411 auid=0 uid=65 gid=55 euid=65 suid=65 fsuid=65 egid=55 sgid=55 fsgid=55 tty=(none) ses=1 comm="nslcd" exe="/usr/sbin/nslcd" subj=unconfined_u:system_r:nslcd_t:s0 key=(null) type=SYSCALL msg=audit(1379070099.317:55): arch=40000003 syscall=5 success=no exit=-13 a0=b22c00 a1=80000 a2=0 a3=15c items=0 ppid=1 pid=3410 auid=0 uid=65 gid=55 euid=65 suid=65 fsuid=65 egid=55 sgid=55 fsgid=55 tty=(none) ses=1 comm="nslcd" exe="/usr/sbin/nslcd" subj=unconfined_u:system_r:nslcd_t:s0 key=(null) But nslcd is started successfully (and works fine). Expected results: No AVC. Additional info: Audit2allow says: allow nslcd_t sysfs_t:dir search; I am not sure if nslcd does not access aforementioned file on other architectures or if selinux-policy somehow handles it there.