[Bug 227965] net-mgmt/icinga2: using pkg/poudriere: wrong access right on crtical folders

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 4 08:14:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227965

            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 at FreeBSD.org
          Reporter: ohartmann at walstatt.org
          Assignee: lme at FreeBSD.org
             Flags: maintainer-feedback?(lme at 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 our
repository, soemtimes the access rights of critical folders aren't set in the
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.

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


More information about the freebsd-ports-bugs mailing list