Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2018 08:14:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227965] net-mgmt/icinga2: using pkg/poudriere: wrong access right on crtical folders
Message-ID:  <bug-227965-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227965

            Bug ID: 227965
           Summary: net-mgmt/icinga2: using pkg/poudriere: wrong access
                    right on crtical folders
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lme@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: lme@FreeBSD.org
             Flags: maintainer-feedback?(lme@FreeBSD.org)

We update some servers of our infrastructure utilizing poudriere and pkg. I
realized recently, that when using pkg with poudriere-built packages from o=
ur
repository, soemtimes the access rights of critical folders aren't set in t=
he
correct manner, resulting in a fail of restarting or even starting icinga2.

In particular (my findings) those folders are:

/var/cache/icinga2: it is set to root:icinga after an update, but should be
icinga:icinga. Restart of icinga2 fails if not set correctly.

/var/run/icinga2 and
/var/run/icinga2/cmd: when module livestatus is enabled, the start of the
service will fail, because, as mentioned before, the folders var/run/icinga2
and var/run/icinga2/cmd are owned by root and should be owned by icnga.

Setting the correct access rights results in a normal operation of icinga2.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227965-7788>