The bug appears to be in the ganglia.diff.gz file in the package source.

It includes code which creates a debian folder, within which is create a
file ganglia-monitor.postinst

That file includes code which will create the directory
/var/lib/ganglia/rrds and then run chown -R ganglia:ganglia
/var/lib/ganglia

Clearly that code breaks things, so I suggest adding a line chown nobody
/var/lib/ganglia/rrds after that line.

Here's a snip from vim (including line numbers):-
3572 +if [ -d /var/lib/ganglia ]; then
3573 +  mkdir -p /var/lib/ganglia/rrds
3574 +  chown -R ganglia:ganglia /var/lib/ganglia
3575 +  chmod 0755 /var/lib/ganglia
3576 +fi

Here's what it should be (without the line numbers):-
+if [ -d /var/lib/ganglia ]; then
+  mkdir -p /var/lib/ganglia/rrds
+  chown -R ganglia:ganglia /var/lib/ganglia
+  chown nobody /var/lib/ganglia/rrds
+  chmod 0755 /var/lib/ganglia
+fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/444485

Title:
  gmetad doesn't start after installation of ganglia-monitor (gmond)

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to