[CentOS] problems with OpenVPN 2.1.4 on Centos 5.5

Thu Jan 20 19:09:29 UTC 2011
Daniel J Walsh <dwalsh at redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/20/2011 01:39 PM, m.roth at 5-cent.us wrote:
> Boris Epstein wrote:
>> On Thu, Jan 20, 2011 at 12:39 PM,  <m.roth at 5-cent.us> wrote:
>>> Boris Epstein wrote:
>>>> On Thu, Jan 20, 2011 at 12:03 PM, Joseph L. Casale
>>>> <jcasale at activenetwerx.com> wrote:
>>>>>> [root at gw5fl 2.0]# . ./vars
>>>>>> bash: /usr/share/doc/openvpn-2.1.4/easy-rsa/2.0/whichopensslcnf:
>>>>>> Permission denied
>>>>>
>>>>> See that error above? Make that script executable... It's a bash
>>>>> script `vars` is calling and not able to execute.
>>>>
>>>> Thanks, did that though this did not fix my problem - I still get the
>>>> same error message.
>>>
>>> Two questions: first, what's the ownership of the file, and the
>>> directory, and second, is selinux enforcing?
>>
>> The SELinux is enforcing.
>>
>> The easy-rsa directory/file permissions are as follows:
>>
>> [root at gw5fl ~]# find /usr/share/doc/openvpn-2.1.4/easy-rsa/2.0 -exec
>> ls -ld {} \;
> <snip>
> You missed it; first, find will cheerfully accept -ls, you don't need
> -exec ls... except in this case, where you need ls -alZ, to see the
> selinux contexts, including on the directories (which ls -l doesn't show).
> 
>          mark
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


chcon -t bin_t -R /usr/share/doc/openvpn-2.1.4/easy-rsa

Will prpbably fix.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk04iGkACgkQrlYvE4MpobPThQCgoYkVZwaYwdEtH+tXfVtUdRO9
3mQAmwXQ2xPGOrS62TD8FA29j1V95Jgz
=de5l
-----END PGP SIGNATURE-----