Bug 195838
Summary: | selinux-policy-targeted stops wpa_supplicant from reading certificates | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James <james> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-06-22 00:56:35 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
James
2006-06-18 14:48:54 UTC
I forgot to add that I see this when wpa_supplicant is launched by NetworkManager, and NetworkManager is started as a service via the /etc/init.d mechanism. If I run /usr/sbin/NetworkManager --no-daemon (with SELinux enforcing enabled), everything works fine. This indicates that wpa-supplicant is trying to read the homedirectory? IE It is being denied a search of /home The certificates are in $HOME/pki/. I get something similar if I put them "system-wide", e.g. in /etc/pki/wireless/; in that case, name="home" is replaced with name="pki". Since each user may configure different certificates with nm-applet, I would think that wpa_supplicant should be able to read these areas. You mean cert correct? If you put them in /etc/pki/wireless, they should be labeled cert_t and I will change NetworkManager policy to be able to read cert_t files, You can do this yourself by executing the following. put the cert files in /etc/pki/wireless restorecon -R -v /etc/pki Run network manager to generate avc messages grep cert_t /var/log/message | audit2allow -M wpa semodule -i wpa.pp This should update the policy to allow NetworkManager to read certificate files. Thanks, that worked. |