pcp
[Top] [All Lists]

Re: [pcp] nginx PMDA error

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] nginx PMDA error
From: Tadej JaneÅ <tadej.j@xxxxxx>
Date: Mon, 14 Sep 2015 17:08:45 +0200
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <547701801.30380792.1441927405099.JavaMail.zimbra@xxxxxxxxxx>
References: <1441613884.8358.33.camel@tlinux64> <y0m37yqkqph.fsf@xxxxxxxx> <1441790097.27574.20.camel@tlinux64> <20150909125102.GD16438@xxxxxxxxxx> <1441811714.27574.80.camel@tlinux64> <56429816.29582957.1441838180419.JavaMail.zimbra@xxxxxxxxxx> <1441880005.1141.21.camel@tlinux64> <547701801.30380792.1441927405099.JavaMail.zimbra@xxxxxxxxxx>
Hi Nathan,

On Thu, 2015-09-10 at 19:23 -0400, Nathan Scott wrote:
> > 
> > So the relevant part of /etc/nginx/nginx.conf should look like:
> > 
> >         location /nginx_status {
> >             stub_status on;
> >             access_log off;
> >             allow 127.0.0.1;
> >             allow ::1;
> >             deny all;
> >         }
> 
> Ah yes, good catch - I'll update the man page with that information.

Perfect, thanks!

> > 
> > For 2), I don't know whether I should file this as a bug report with PCP
> > or distribution's (i.e. Fedora's) SELinux policy?
> 
> Yep, selinux-policy - and please CC me.  Other PMDAs (pmdaapache) have a
> similar need to access port 80... so I think the right thing will be for
> pcp_pmcd_t to be allowed access, but lets see what the SELinux folk say.

Done: https://bugzilla.redhat.com/show_bug.cgi?id=1262902

Cheers,
Tadej

<Prev in Thread] Current Thread [Next in Thread>