[Bug 200545] net-mgmt/pnp has conflicting permissions with nagios and breaks the nagios package.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 30 21:29:42 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200545
Bug ID: 200545
Summary: net-mgmt/pnp has conflicting permissions with nagios
and breaks the nagios package.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: lme at FreeBSD.org
Reporter: peter at FreeBSD.org
Flags: maintainer-feedback?(lme at FreeBSD.org)
Assignee: lme at FreeBSD.org
The packaged version of net-mgmt/pnp changes the owner/group of
/var/spool/nagios to root:wheel and breaks the nagios package. This has been
causing problems on the freebsd cluster.
The other problem is nagios itself can't write the perfdata into the locations
it is supposed to be able to write to, because they too are root:wheel.
This is my best guess at how to fix it:
pb00:/p/poudriere/ports/cluster/net-mgmt/pnp # svn diff
Index: pkg-plist
===================================================================
--- pkg-plist (revision 387912)
+++ pkg-plist (working copy)
@@ -668,7 +668,7 @@
@dir %%WWWDIR%%/templates
@dir /var/log/kohana
@dir /var/log/stats
- at dir %%NAGIOSDIR%%/pnp/perfspool
- at dir %%NAGIOSDIR%%/pnp/rrd
- at dir %%NAGIOSDIR%%/pnp
- at dir %%NAGIOSDIR%%
+ at dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,755) %%NAGIOSDIR%%/pnp/perfspool
+ at dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,755) %%NAGIOSDIR%%/pnp/rrd
+ at dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,755) %%NAGIOSDIR%%/pnp
+ at dir(%%NAGIOSUSER%%,%%NAGIOSGROUP%%,775) %%NAGIOSDIR%%
We are using this on the freebsd.org cluster. I'd be grateful if it could be
cleaned up and integrated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list