Bug 1636002
Summary: | socket-activated services start as the sssd user and then are unable to read the confdb | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Matt Dainty <matt> |
Component: | sssd | Assignee: | Tomas Halman <thalman> |
Status: | CLOSED ERRATA | QA Contact: | Jakub Vavra <jvavra> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 8.1 | CC: | atikhono, bugzilla, cilmar, cww, ddas, dlavu, fedoraproject, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, riehecky, rune, sssd-maint, thalman, tmihinto, tscherf |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sync-to-jira | ||
Fixed In Version: | sssd-2.6.1-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-05-10 15:26:38 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: | 2011216 | ||
Bug Blocks: |
Description
Matt Dainty
2018-10-04 08:28:07 UTC
Ah, I think this is a side effect of how RHEL SSSD is compiled. In RHEL, we compile with sssd user set to "sssd", which causes the User and Group directives to be added to the unit files by default. But also, because for stability reasons, we didn't want to switch sssd from running as root to running as the sssd user in the middle of a RHEL cycle, unless the "user" is set in sssd.conf, then sssd still runs as root and all the files are owned by root as well. So it's a bug. (Maybe even two bugs, because perhaps the files shouldn't be owned by root.root but by root.sssd and then the responders would work as non-root by default_ Upstream ticket: https://github.com/SSSD/sssd/issues/5781 Pushed PR: https://github.com/SSSD/sssd/pull/5782 * `master` * 7db6cfd0674d45a4e769b0beeb551c89cc89f92f - CONFDB: Change ownership before dropping privileges * 92e1679943fd2a2a50c9e0e176a10a875cb3ac56 - CONFDB: Change ownership of config.ldb 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-2022:2070 |