Bug 645969 - dhclient fails due to SElinux problems: No network
Summary: dhclient fails due to SElinux problems: No network
Keywords:
Status: CLOSED DUPLICATE of bug 645566
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-23 11:20 UTC by Horst H. von Brand
Modified: 2010-10-25 10:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-25 10:27:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output of sealert (2.31 KB, application/octet-stream)
2010-10-23 11:20 UTC, Horst H. von Brand
no flags Details

Description Horst H. von Brand 2010-10-23 11:20:23 UTC
Created attachment 455241 [details]
Output of sealert

Description of problem:
No WiFi network, the card fails to associate. In /var/log/messages I see:

Oct 22 21:21:22 netbook1 setroubleshoot: SELinux is preventing /sbin/dhclient "s
earch" access on /etc/pki. For complete SELinux messages. run sealert -l e6e1b1a
d-3e29-4584-87f4-6788c050a388

Disbling SElinux (boot with "selinux=0" as kernel parameter) gets network working. Downgraded to dhclient-4.2.0-12.fc15.x86_64, now it works again.

Version-Release number of selected component (if applicable):
dhclient-4.2.0-15.fc15.x86_64
selinux-policy-targeted-3.9.7-4.fc15.noarch
selinux-policy-3.9.7-4.fc15.noarch

How reproducible:
Always

Steps to Reproduce:
1. Start WiFi via NetworkManager
2.
3.
  
Actual results:
No network. Trying by hand ("iwconfig wlan0 essid ...") just gets that the card doesn't associate.

Expected results:


Additional info:

Comment 1 Jiri Popelka 2010-10-25 08:49:40 UTC
Adam, do you have any idea why dhclient-4.2.0-15.fc15 needs access on /etc/pki ?

Comment 3 Adam Tkac 2010-10-25 09:56:51 UTC
(In reply to comment #1)
> Adam, do you have any idea why dhclient-4.2.0-15.fc15 needs access on /etc/pki
> ?

Let me check it.

Comment 4 Adam Tkac 2010-10-25 10:21:39 UTC
(In reply to comment #1)
> Adam, do you have any idea why dhclient-4.2.0-15.fc15 needs access on /etc/pki
> ?

Previously dhclient used bundled bind and bind's libraries were compiled without crypto support (i.e. without linking against libcrypto.so). Now dhclient is linked against system wide bind libraries and those libs are compiled with crypto support. When dhclient is started, it initializes libdns library and crypto routines are automatically initialized. It means openssl reads it's configuration from /etc/pki/tls/openssl.cnf.

In my opinion proper solution is to allow dhclient to read openssl configuration file.

Comment 5 Miroslav Grepl 2010-10-25 10:27:00 UTC

*** This bug has been marked as a duplicate of bug 645566 ***


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