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.
Bug 1969740 - avc: denied { getattr } for pid=5052 comm="unix_chkpwd" name="/" dev="proc"
Summary: avc: denied { getattr } for pid=5052 comm="unix_chkpwd" name="/" dev="proc"
Keywords:
Status: CLOSED DUPLICATE of bug 1967125
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: 8.5
Assignee: Zdenek Pytela
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-09 07:33 UTC by Frank Liang
Modified: 2021-10-07 18:53 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-09 10:12:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Frank Liang 2021-06-09 07:33:08 UTC
Description of problem:
Started a RHEL-8.5.0-20210609.n.0 guest and found below avc denied log.

# ausearch -m avc
----
time->Wed Jun  9 07:22:15 2021
type=PROCTITLE msg=audit(1623223335.023:155): proctitle=2F7573722F7362696E2F756E69785F63686B707764006563322D757365720063686B657870697279
type=SYSCALL msg=audit(1623223335.023:155): arch=c000003e syscall=138 success=no exit=-13 a0=3 a1=7ffce016f630 a2=0 a3=0 items=0 ppid=5051 pid=5052 auid=1000 uid=0 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm="unix_chkpwd" exe="/usr/sbin/unix_chkpwd" subj=unconfined_u:unconfined_r:chkpwd_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1623223335.023:155): avc:  denied  { getattr } for  pid=5052 comm="unix_chkpwd" name="/" dev="proc" ino=1 scontext=unconfined_u:unconfined_r:chkpwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=filesystem permissive=0

Version-Release number of selected components (if applicable):

RHEL Version:
RHEL-8.5(4.18.0-310.el8.x86_64)

How reproducible:
100%

Steps to Reproduce:
1. start a RHEL-8.5
2. check avc log

Actual results:
unix_chkpwd is denied.

Expected results:
no such log

Additional info:
No such error in RHEL-8.5.0-20210604.n.0.

Comment 1 Zdenek Pytela 2021-06-09 10:12:28 UTC

*** This bug has been marked as a duplicate of bug 1967125 ***


Note You need to log in before you can comment on or make changes to this bug.