-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SELinux policy does not allow /etc/sssd/pki/sssd_auth_ca_db.pem to be a symlink #6611
Closed
frasertweedale opened this issue
Mar 8, 2023
· 3 comments
· Fixed by fedora-selinux/selinux-policy#1874
Closed
SELinux policy does not allow /etc/sssd/pki/sssd_auth_ca_db.pem to be a symlink #6611
frasertweedale opened this issue
Mar 8, 2023
· 3 comments
· Fixed by fedora-selinux/selinux-policy#1874
Labels
Comments
I pinged Zdeněk to take a look, but this needs to be reported against selinux-policy, since we do not have our own policy package. |
zpytela
added a commit
to zpytela/selinux-policy
that referenced
this issue
Sep 26, 2023
Previously, sssd was allowed to read only plain configuration files in /etc/sssd. Since this commit it is allowed to read symlinks, too, which supports a scenario where sssd_auth_ca_db.pem points to /etc/ipa/ca.crt so that cert renewals are automatically picked up, with no administrative overhead. Resolves: SSSD/sssd#6611
I've just submitted a pr to address this issue: If also needed in RHEL, please file a jira. |
Thank you Zdeněk. @frasertweedale please report it as required against selinux-policy. |
zpytela
added a commit
to zpytela/selinux-policy
that referenced
this issue
Sep 27, 2023
Previously, sssd was allowed to read only plain configuration files in /etc/sssd. Since this commit it is allowed to read symlinks, too, which supports a scenario where sssd_auth_ca_db.pem points to /etc/ipa/ca.crt so that cert renewals are automatically picked up, with no administrative overhead. Resolves: SSSD/sssd#6611
zpytela
added a commit
to fedora-selinux/selinux-policy
that referenced
this issue
Sep 29, 2023
Previously, sssd was allowed to read only plain configuration files in /etc/sssd. Since this commit it is allowed to read symlinks, too, which supports a scenario where sssd_auth_ca_db.pem points to /etc/ipa/ca.crt so that cert renewals are automatically picked up, with no administrative overhead. Resolves: SSSD/sssd#6611
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For smart card login in FreeIPA context, it can make sense to symlink
sssd_auth_ca_db.pem
to/etc/ipa/ca.crt
so that cert renewals are automatically picked up, with no administrative overhead.However, the SELinux enforcement prevents this file from being read:
This was after a
restorecon -R
of the/etc/sssd
directory.The text was updated successfully, but these errors were encountered: