Bug 1241832

Summary: Wrong SELinux label on domain users home folders
Product: Red Hat Enterprise Linux 7 Reporter: Stef Walter <stefw>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Patrik Kis <pkis>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.1CC: aivaraslaimikis, dwalsh, ebenes, extras-qa, jhrozek, ksrot, pkis, stefw
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: realmd-0.16.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1231128 Environment:
Last Closed: 2015-11-19 03:44:05 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: 1231128    
Bug Blocks:    

Description Stef Walter 2015-07-10 08:06:26 UTC
+++ This bug was initially created as a clone of Bug #1231128 +++

Hi all!

 When joining Fedora to domain with realm tool it creates domain users directories in /home/domainname/username location.
 SELinux labels domainname directory as user_home_dir_t, but username directory as user_home_t.
 So all other directories in username directory labeled as user_home_t.
 Because of that domain users having problems with SELinux policy.
 If there isn't enough info I will provide more. Thanks.

Aivaras

Comment 4 Stef Walter 2015-07-14 18:31:15 UTC
Fixed upstream in realmd 0.16.1 by changing default homedir path to /home/%U@%D

Comment 7 errata-xmlrpc 2015-11-19 03:44:05 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, 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://rhn.redhat.com/errata/RHSA-2015-2184.html