#3819 sssd only sets the SELinux login context if it differs from the default
Closed: Fixed 2 years ago Opened 2 years 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

2 years ago

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

2 years ago

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

2 years ago

Metadata Update from @jhrozek:
- Issue assigned to jhrozek

2 years ago

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

2 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4813

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata