Bug 766112 - SELinux is preventing /usr/sbin/openvpn from 'read' accesses on the file /home/michael/openvpn/mikeboxx/2F2DBE1818F2540E.pem.
Summary: SELinux is preventing /usr/sbin/openvpn from 'read' accesses on the file /hom...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2caf2b38f53e344c482c1d538cc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-10 08:39 UTC by Michael
Modified: 2011-12-12 12:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-12 12:39:13 UTC
Type: ---


Attachments (Terms of Use)
File: description (2.77 KB, text/plain)
2011-12-10 08:39 UTC, Michael
no flags Details

Description Michael 2011-12-10 08:39:47 UTC
libreport version: 2.0.7
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.4-1.fc16.i686
reason:         SELinux is preventing /usr/sbin/openvpn from 'read' accesses on the file /home/michael/openvpn/mikeboxx/2F2DBE1818F2540E.pem.
time:           Sa 10 Dez 2011 09:39:30 CET

description:    Text file, 2834 bytes

Comment 1 Michael 2011-12-10 08:39:50 UTC
Created attachment 544851 [details]
File: description

Comment 2 Michael 2011-12-10 08:44:45 UTC
i have more than one VPN. in fc15 works all fine. i make on the same hardware a new (fresh) install of fc16 - no (more) VPN works...

Comment 3 Miroslav Grepl 2011-12-12 12:39:13 UTC
SELinux expects the cert files to be labelled home_cert_t, if you copy them to
~/.pki or ~/.cert they will be labeled as home_cert_t.

If not, then run restorecon on them in one of those directories.

If you want to keep them in your location, you need to execute

# restorecon -R -v  /home/michael/openvpn
# chcon -R -t home_cert_t /home/michael/openvpn/mikeboxx


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