RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 823601 - can not verify 802.1x network identity in selinux enforcing mode with certificate given nm-applet
Summary: can not verify 802.1x network identity in selinux enforcing mode with certifi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: NetworkManager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 6.4
Assignee: Dan Williams
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-21 15:51 UTC by David Jaša
Modified: 2013-01-10 13:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-14 10:25:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2012-05-21 15:51:39 UTC
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):
NetworkManager-gnome-0.8.1-32.el6.x86_64
NetworkManager-0.8.1-32.el6.x86_64
wpa_supplicant-0.7.3-3.el6.x86_64

How reproducible:
always

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
  
Actual results:
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

Expected results:
connect to the network works in enforcing mode, too

Additional info:

Comment 1 David Jaša 2012-05-21 15:54:32 UTC
might be the same as https://bugzilla.redhat.com/show_bug.cgi?id=682724 .

Comment 2 Miroslav Grepl 2012-05-30 09:06:48 UTC
Could you do

# setenforce 1
# setenforce 0
# semodule -DB

reproduce it and

# ausearch -m avc -ts recent |audit2allow

Comment 5 RHEL Program Management 2012-07-10 08:42:35 UTC
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.

Comment 6 RHEL Program Management 2012-07-11 00:04:02 UTC
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.

Comment 7 RHEL Program Management 2012-12-14 08:44:58 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.