Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Gregory P. Ennis
On Tue, Sep 5, 2017 at 9:49 AM, Gregory P. Ennis wrote: > Thanks for your help. > > I did pick up an additional entry in the audit file : > > > type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for > pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi"

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread James Hogarth
On 4 September 2017 at 23:12, Alexander Dalloz wrote: > Am 04.09.2017 um 23:49 schrieb Gregory P. Ennis: > >> Thanks for your help. >> >> I did pick up an additional entry in the audit file : >> >> >> type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for >>

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread James Hogarth
On 4 September 2017 at 22:49, Gregory P. Ennis wrote: > Thanks for your help. > > I did pick up an additional entry in the audit file : > > > type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for > pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi" dev="dm-0"

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Alexander Dalloz
Am 04.09.2017 um 23:49 schrieb Gregory P. Ennis: Thanks for your help. I did pick up an additional entry in the audit file : type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi" dev="dm-0" ino=537182029

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Clint Dilks
On Tue, Sep 5, 2017 at 9:49 AM, Gregory P. Ennis wrote: > Thanks for your help. > > I did pick up an additional entry in the audit file : > > > type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for > pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi"

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Gregory P. Ennis
t <centos@centos.org> Subject: Re: [CentOS] selinux denial of cgi script with httpd using ssl Date: Tue, 5 Sep 2017 09:38:27 +1200 HI, Try disabling Don't Audit rules semodule -DB Then check /var/log/audit.log To re-enable semodule -B On Tue, Sep 5, 2017 at 5:07 AM, Gregory P. Enni

Re: [CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Clint Dilks
HI, Try disabling Don't Audit rules semodule -DB Then check /var/log/audit.log To re-enable semodule -B On Tue, Sep 5, 2017 at 5:07 AM, Gregory P. Ennis wrote: > Everyone, > > I am trying to use a cgi perl script for a CentOs 7 website that works > fine with selinux

[CentOS] selinux denial of cgi script with httpd using ssl

2017-09-04 Thread Gregory P. Ennis
Everyone, I am trying to use a cgi perl script for a CentOs 7 website that works fine with selinux in permissive mode but fails with selinux in enforcing mode. The problem I have is that I can not find where the selinux error message is being recorded. It does not appear to be in the