Bug 986685 - NetworkManager-openvpn cannot view list of ciphers
Summary: NetworkManager-openvpn cannot view list of ciphers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-21 15:25 UTC by Jamie Nguyen
Modified: 2013-07-26 23:06 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-66.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-26 23:06:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grep gnome-control-c /var/log/audit/audit.log (769 bytes, text/plain)
2013-07-21 15:25 UTC, Jamie Nguyen
no flags Details

Description Jamie Nguyen 2013-07-21 15:25:26 UTC
Created attachment 776478 [details]
grep gnome-control-c /var/log/audit/audit.log

When setting up a new openvpn connection via gnome-control-c, there is a drop-down list to choose the cipher to use for the connection (eg, AES-256-CBC). However, this list is completely empty and you cannot change from the default.

gnome-control-c executes /usr/sbin/openvpn to get a list of available ciphers, but SELinux is preventing this.


Version-Release number of selected component (if applicable):

- selinux-policy-3.12.1-65.fc19

Comment 1 Miroslav Grepl 2013-07-22 11:04:32 UTC
If you add a local policy, does it work then?

# grep openvpn /var/log/audit/audit.log |audit2allow -M mypol
# semodule -i mypol.pp

Comment 2 Jamie Nguyen 2013-07-22 11:14:24 UTC
Yeah, I added a local policy (created from the AVCs I attached above) and it works. The policy.te looks like this:


module local-gnome-control-c 1.0;

require {
	type staff_t;
	type openvpn_exec_t;
	class file { read execute open execute_no_trans };
}

#============= staff_t ==============
allow staff_t openvpn_exec_t:file { read execute open execute_no_trans };

Comment 3 Miroslav Grepl 2013-07-22 13:13:55 UTC
Added fixes. Thank you for testing.

Comment 4 Fedora Update System 2013-07-24 14:13:23 UTC
selinux-policy-3.12.1-66.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-66.fc19

Comment 5 Fedora Update System 2013-07-25 00:35:41 UTC
Package selinux-policy-3.12.1-66.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-66.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13543/selinux-policy-3.12.1-66.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-07-26 23:06:35 UTC
selinux-policy-3.12.1-66.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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