Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 09:41:07 -0700
From:      Lee Brown <leeb@ratnaling.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Wrong log and archive permissions in Nagios
Message-ID:  <CAFPNf5-FWV3uEfPHu0wjJzEYYTmu05z-QvVPVkDApoqxh=4nKA@mail.gmail.com>
In-Reply-To: <7ea82acf-e403-96ca-ce4a-311229149895@nethead.se>
References:  <dd8273ef-6303-fd7d-9a69-21a6087bcbe0@netfence.it> <7ea82acf-e403-96ca-ce4a-311229149895@nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 6, 2018 at 4:43 AM, Per olof Ljungmark <peo@nethead.se> wrote:

> Hi,
>
> On 9/6/18 12:42 PM, Andrea Venturoli wrote:
> > Hello.
> >
> > I run several instances of Nagios and they all share a problem: reports,
> > alert histories, notifications, etc... cannot be viewed due to
> > permission problems.
> > In fact all the files are owned by nagios and access is denied to user
> > www. Of course I can chown/chmod them, but it's not a permanent solution
> > as rotation or new file creation will bring the problem back.
> >
> > I see this was discussed here:
> > https://github.com/NagiosEnterprises/nagioscore/issues/303
> >
> > and I understand correctly this is supposed to be fixed upstream.
> > Is it a problem specific to our FreeBSD port?
>
> This is interesting, which version are you on? I am on 3.5.1_11 and do
> not have this problem because nagios.log in /var/spool/nagios/ is owned
> by nagios:nagios *and* readable by (o)thers, ie. 644.
>
I run  nagios4-4.4.4.1,1 it works fine, as you describe.  Self built with
poudriere.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPNf5-FWV3uEfPHu0wjJzEYYTmu05z-QvVPVkDApoqxh=4nKA>