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 1595768 - avc: denied {map} for "comm=mkhomedir" on /usr/libexec/oddjob/mkhomedir
Summary: avc: denied {map} for "comm=mkhomedir" on /usr/libexec/oddjob/mkhomedir
Keywords:
Status: CLOSED DUPLICATE of bug 1592022
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-27 14:01 UTC by Amith
Modified: 2018-06-27 14:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 14:44:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Amith 2018-06-27 14:01:32 UTC
Description of problem:

During the RHEL-7.6 regression runs on SSSD, we observed avc denials wherein command "mkhomedir" is being denied map access on "/usr/libexec/oddjob/mkhomedir".

Here is the Error log:
time->Wed Jun 27 06:58:23 2018
type=PROCTITLE msg=audit(1530097103.046:318): proctitle="(null)"

type=SYSCALL msg=audit(1530097103.046:318): arch=80000016 syscall=11 success=no exit=-13 a0=2aa3f3980a0 a1=2aa3f3a8230 a2=2aa3f3a8360 a3=3fffd0d1634 items=0 ppid=31158 pid=31335 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mkhomedir" exe="/usr/libexec/oddjob/mkhomedir" subj=system_u:system_r:oddjob_t:s0-s0:c0.c1023 key=(null)

type=AVC msg=audit(1530097103.046:318): avc:  denied  { map } for  pid=31335 comm="mkhomedir" path="/usr/libexec/oddjob/mkhomedir" dev="dm-0" ino=53261 scontext=system_u:system_r:oddjob_t:s0-s0:c0.c1023 tcontext=system_u:object_r:oddjob_mkhomedir_exec_t:s0 tclass=file 

permissive=0

Version-Release number of selected component (if applicable):
sssd-1.16.2-4.el7.s390x

How reproducible:
Always.

Steps to Reproduce:
Not sure, we saw AVC errors in the beaker job : https://beaker.engineering.redhat.com/jobs/2571189

Actual results:


Expected results:


Additional info:

Comment 2 Sumit Bose 2018-06-27 14:44:09 UTC
This sounds like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1592022. Please reopen this ticket if updating selinux-policy does not help.

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


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