#3819 sssd only sets the SELinux login context if it differs from the default
Closed: Fixed a year ago Opened a year ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1619706

When a Linux users have a non-standard home directories, we need to generate fc mappings for their home. This is usually done by genhomedircon which is executed by semanage when a new Linux new to SELinux user mapping is added.

In the case when a user had non-standard home directory and did not have explicit mapping to an SELinux user, genhomedircon was not run and it wouldn't even know that it would need to generate new fc mappings as the user was hidden for it.

So the issue is that sssd didn't add users explicitly if they only had the default context. That was an optimization, but it was going too far.


Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1619706

a year ago

Metadata Update from @jhrozek:
- Issue tagged with: PR, bug

a year ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.4

a year ago

Metadata Update from @jhrozek:
- Issue assigned to jhrozek

a year ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata