Bug 528040
| Summary: | openconnect policy problem with users' certificates | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Woodhouse <dwmw2> | |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> | |
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 11 | |||
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | 3.6.12-93.fc11 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 576991 (view as bug list) | Environment: | ||
| Last Closed: | 2010-01-19 19:34:43 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
|
Description
David Woodhouse
2009-10-08 17:19:02 UTC
David didn't we have another bug where we discussed this? We discussed it in the review bug for openconnect, but mostly in email. Well in Rawhide we have this mapping
/home/[^/]*/\.cert(/.*)? unconfined_u:object_r:home_cert_t:s0
And
allow vpnc_t home_cert_t : file { ioctl read getattr lock open } ;
allow vpnc_t home_cert_t : dir { ioctl read getattr lock search open } ;
allow vpnc_t home_cert_t : lnk_file { read getattr } ;
Is that enough for now?
Yes, I believe so (as discussed in IRC a week or two ago). For F-11, I'll make our certificate-downloading scripts run 'chcon -t home_cert_t -r ~/.cert' and that ought to make it work too. Thanks. Fixed in selinux-policy-3.6.12-93.fc11.noarch selinux-policy-3.6.12-93.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/selinux-policy-3.6.12-93.fc11 selinux-policy-3.6.12-93.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0446 selinux-policy-3.6.12-93.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |