Ticket #807 (new defect)

Opened 2 years ago

Last modified 2 years ago

Update from 1.2.6 to 1.4.2: Wrong owner of /var/lib/munin/plugin-state

Reported by: ingvar Assigned to: ingvar
Priority: normal Milestone: Munin 1.4.4
Component: rpm package Version: 1.4.2
Severity: minor Keywords:
Cc:

Description

After an update from 1.2.6 to 1.4.2 on my fedora system, I found that some of the plugins were failing, because of wrong ownership of /var/lib/munin/plugin-state :

drwxr-xr-x 2 nobody munin 4096 2009-12-18 01:13 /var/lib/munin/plugin-state

Change History

12/18/09 01:32:44 changed by ingvar

chowing the directory to munin:munin, and the plugins works again.

12/21/09 09:38:52 changed by janl

  • owner changed from nobody to ingvar.
  • component changed from plugins to rpm package.

12/23/09 12:16:36 changed by janl

The makefile does this:

	mkdir -p $(PLUGSTATE)

	$(CHOWN) $(PLUGINUSER):$(GROUP) $(PLUGSTATE)
	$(CHMOD) 0775 $(PLUGSTATE)

whic is correct. In addition munin-node/run now has correct umask for creating state files.