Red Hat Bugzilla – Bug 823601
can not verify 802.1x network identity in selinux enforcing mode with certificate given nm-applet
Last modified: 2013-01-10 08:12:07 EST
Description of problem:
can not verify 802.1x network identity in selinux enforcing mode with certificate given nm-applet because NetworkManager or wpa_supplicant daemon.
I presume that nm-applet gives just location of the file to NetworkManager daemon which subsequently gives it to wpa_supplicant and when the file happens to have user-only permissions or selinux context, its contents are unreachable by system daemons. The cleanest solution IMO is to let nm-applet hand the certificate over d-bus to NetworkManager daemon which can subsequently give it to wpa_supplicant
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put a CA certificate that is used to sign WPA Enterprise network to $HOME/ca.cert
2. set up the network in nm-applet/nm-connection editor
3. connect to the network
connection fails. Sometimes it generates AVC report (on vbenes's computer), in my case, it's silent.
when you repeat with selinux in permissive or disabled mode, connection to the network works
connect to the network works in enforcing mode, too
might be the same as https://bugzilla.redhat.com/show_bug.cgi?id=682724 .
Could you do
# setenforce 1
# setenforce 0
# semodule -DB
reproduce it and
# ausearch -m avc -ts recent |audit2allow
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.