Bug 856880
| Summary: | policy needs to allow pam_krb5 to create /run/user/$UID from inside of a login process | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nalin Dahyabhai <nalin> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, john, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-20 15:41:36 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: | |||
| Bug Blocks: | 833026 | ||
|
Description
Nalin Dahyabhai
2012-09-13 03:11:38 UTC
Please note that this is login, but I expect that similar access will need to be granted to the various graphical desktop managers, sshd, and such. Yes, basically we allow manage user tmp files without the boolean. So I added the following fix
--- a/policy/modules/system/authlogin.if
+++ b/policy/modules/system/authlogin.if
@@ -206,6 +206,7 @@ interface(`auth_login_pgm_domain',`
userdom_delete_user_tmp_files($1)
userdom_search_admin_dir($1)
userdom_stream_connect($1)
+ userdom_manage_user_tmp_dirs($1)
userdom_manage_user_tmp_files($1)
The change will affect the following domains
# seinfo -xapolydomain
polydomain
xdm_t
local_login_t
rshd_t
sshd_t
remote_login_t
rlogind_t
selinux-policy-3.11.1-21.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-21.fc18 Package selinux-policy-3.11.1-21.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-21.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14225/selinux-policy-3.11.1-21.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-25.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-25.fc18 selinux-policy-3.11.1-21.fc18 has been pushed to the Fedora 18 obsolete repository. If problems still persist, please make note of it in this bug report. |