Bug 1845987

Summary: Document how to prevent invalid selinux context for default home directories in SSSD-AD direct integration.
Product: Red Hat Enterprise Linux 8 Reporter: Alexey Tikhonov <atikhono>
Component: sssdAssignee: Tomas Halman <thalman>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: abokovoy, atikhono, dlavu, gparente, grajaiya, jhrozek, lslebodn, lvrabec, mkosek, mmalik, mzidek, pbrezina, plautrba, rmetrich, sgoveas, ssekidde, sssd-qe, thalman, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira, review
Fixed In Version: sssd-2.3.0-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1553784 Environment:
Last Closed: 2020-11-04 02:05:17 UTC Type: Bug
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: 1553784    
Bug Blocks:    

Comment 1 Alexey Tikhonov 2020-06-10 14:29:01 UTC
* `master`
    * d8d743870c459b5ff283c89d78b70d1684bd19a9 - man: Document invalid selinux context for homedirs
* `sssd-1-16`
    * adebc962af61b86f78ff3dfb6e33db27149c399d - man: Document invalid selinux context for homedirs

Comment 5 Dan Lavu 2020-08-10 20:14:55 UTC
Verified against sssd-2.3.0-7.el8.x86_64


man sssd-ad

---
           Note that the system typically expects a home directory in /home/%u folder. If you decide to use a different directory structure, some other
           parts of your system may need adjustments.

           For example automated creation of home directories in combination with selinux requires selinux adjustment, otherwise the home directory
           will be created with wrong selinux context.
---

Comment 8 errata-xmlrpc 2020-11-04 02:05:17 UTC
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 (sssd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4569