-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi everybody,
I have a problem with OpenVPN in Fedora 23. When I try to connect to a VPN using the crt located in the same folder as the params, it fails with a no such file error. If I use the NetworkManager (in XFCE), it doesn't work too. I think it could be a SELinux problem (maybe its denying access to openvpn) but I couldn't find any infos about how to fix it. If I am using openvpn and am located in the same folder as the vpn, I have no problems. I already filled a bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1248252).
Please help me :(
Thanks!
- -Amadren Messages always signed using PGP. If not, then it's not me. Fingerprint: 3F24 93A7 BDE9 D8A1 936D 4C9E F88D 49A2 16CB E9CF
On 08/10/15 22:45, Amadren wrote:
I have a problem with OpenVPN in Fedora 23. When I try to connect to a VPN using the crt located in the same folder as the params, it fails with a no such file error. If I use the NetworkManager (in XFCE), it doesn't work too. I think it could be a SELinux problem (maybe its denying access to openvpn) but I couldn't find any infos about how to fix it. If I am using openvpn and am located in the same folder as the vpn, I have no problems. I already filled a bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1248252).
Oh, anyway....
You don't say what folder you have it in.... One best practice is to place your openVPN stuff in ~/.cert which will give you the correct selinux contexts.
That was a nice tip Ed, thanks. As someone relatively new to SELinux, could you point me please to a resource listing all default SELinux contexts?
On Mon, Aug 10, 2015, 11:55 Ed Greshko ed.greshko@greshko.com wrote:
On 08/10/15 22:45, Amadren wrote:
I have a problem with OpenVPN in Fedora 23. When I try to connect to a
VPN using the crt located in the same folder as the params, it fails with a no such file error. If I use the NetworkManager (in XFCE), it doesn't work too. I think it could be a SELinux problem (maybe its denying access to openvpn) but I couldn't find any infos about how to fix it.
If I am using openvpn and am located in the same folder as the vpn, I
have no problems.
I already filled a bugzilla (
https://bugzilla.redhat.com/show_bug.cgi?id=1248252).
Oh, anyway....
You don't say what folder you have it in.... One best practice is to place your openVPN stuff in ~/.cert which will give you the correct selinux contexts.
-- If I wanted a blog or social media I'd go elsewhere -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 08/11/15 11:52, Martin Cigorraga wrote:
That was a nice tip Ed, thanks.
Welcome. I discovered that the hard way a few years ago. Memory still works. :-)
As someone relatively new to SELinux, could you point me please to a resource listing all default SELinux contexts?
There may be a GUI for this but can't recall at the moment (hmmm...memory not so good after all)
But you can find the "default" contexts for user home directories under /etc/selinux/targeted/contexts/files
On Tue, Aug 11, 2015, 01:25 Ed Greshko ed.greshko@greshko.com wrote:
On 08/11/15 11:52, Martin Cigorraga wrote:
That was a nice tip Ed, thanks.
Welcome. I discovered that the hard way a few years ago. Memory still works. :-)
Hehe, sounds like an old tune to me.
As someone relatively new to SELinux, could you point me please to a
resource listing all default SELinux contexts?
There may be a GUI for this but can't recall at the moment (hmmm...memory not so good after all)
But you can find the "default" contexts for user home directories under /etc/selinux/targeted/contexts/
files
Perfect, this is exactly what I was looking for!
Good night- Martín