Bug #427

Nagios package has some broken ownerships on folders

Added by Jeff Bilyk over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:09/06/2010
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

100%

Category:Aports
Target version:Alpine 2.0.2

Description

/var/nagios and /etc/nagios/objects have ownership of 1004:1004. Pre-install script is supposed to first create nagios.nagios but I suspect that either it's getting triggered late or that permissions are not getting set up properly during file copy.

Associated revisions

Revision d0077a67
Added by Carlo Landmeter over 1 year ago

main/nagios: fix install script to add group

fixes #427

Revision 2aebc427
Added by Carlo Landmeter over 1 year ago

main/nagios: fix install script to add group

fixes #427

Revision 45af5bda
Added by Natanael Copa over 1 year ago

main/nagios: create user and group as system user/group

ref #427

Revision ec0a35ab
Added by Natanael Copa over 1 year ago

main/apk-tools: upgrade to 2.0.6

fixes #427

Revision 37cc8212
Added by Natanael Copa over 1 year ago

main/apk-tools: upgrade to 2.0.6

fixes #427
(cherry picked from commit ec0a35ab05242d2f0ad23529f1e94ccaa5b4753a)

Conflicts:

main/apk-tools/APKBUILD

History

Updated by Robert Boisvert over 1 year ago

A side point is that the Nagios group is not created. The net result of this bug is that Nagios must be run as root.

Any ETA on a fix?

Thanks!

Updated by Jeff Bilyk over 1 year ago

Sorry, I'm out of town right now and will be back on Monday. Hopefully can track down the issue either Monday or Tuesday. However, you don“t need to run as root to resolve this, just create the group and chown -r nagios.nagios /var/nagios and /etc/nagios/objects.

Updated by Natanael Copa over 1 year ago

Robert Boisvert wrote:

A side point is that the Nagios group is not created.

I think this is the main problem causing this.

Updated by Natanael Copa over 1 year ago

  • % Done changed from 0 to 90

turns out to be a apk-tools bug after all.

Updated by Carlo Landmeter over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Updated by Natanael Copa over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF