munin-node tries to "autoconf" /usr/share/munin/plugins/postgres_space_

Bug #414232 reported by Andreas Olsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
munin (Ubuntu)
Fix Released
Medium
Thierry Carrez

Bug Description

Binary package hint: munin

Installing munin-node 1.2.6-13ubuntu1 I receive these errors

Initializing plugins..Restarting munin-node.. * Stopping Munin-Node [ OK ]
 * Starting Munin-Node [ OK ]
# There were some errors:
# Got junk from postgres_space_: Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/munin/plugins/postgres_space_ line 74.
# Got junk from postgres_space_: BEGIN failed--compilation aborted at /usr/share/munin/plugins/postgres_space_ line 74.
failed.
done.
 * Starting Munin-Node

It seems as if munin tries to autoconfigure the plugin postgres_space_, which is far from optimal considering that libdbd-pg-perl is only a Suggested package.

This is basically the same problem as was fixed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503294. Yet somehow the autoconf abilities for postgres_space_ specifically got activated again somewhere between munin 1.2.6-10 and munin 1.2.6-13 (Those were the versions I managed to find at ftp.debian.org).

Anyway, this can be fixed by modifying debian/patches/160-node.d-postgres-plugins.patch, finding the lone line which says "capabilities=autoconf suggest" and change that part to "capabilities=suggest".

Related branches

Revision history for this message
Andreas Olsson (andol) wrote :

Ok, based on http://launchpadlibrarian.net/29930107/munin_1.2.6-12ubuntu1_1.2.6-13ubuntu1.diff.gz I would say "capabilities=autoconf" returned between 1.2.6-12 and munin 1.2.6-13. Hence it's seems as something which (accidentally?) happened while fixing http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518790.

Revision history for this message
Andreas Olsson (andol) wrote :

Marking bug as confirmed, based on response from Debian maintainer.

Changed in munin (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

Attaching a debdiff which (re-)removes the autoconf capability from postgres_space_.

This debdiff also takes care of bug #406276.

Thierry Carrez (ttx)
Changed in munin (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package munin - 1.2.6-13ubuntu2

---------------
munin (1.2.6-13ubuntu2) karmic; urgency=low

  * Don't autoconf the plugin postgres_space_ (LP: #414232)
  * Restart munin-node after plugin initiation (LP: #406276)

 -- Andreas Olsson <email address hidden> Thu, 20 Aug 2009 11:56:42 +0200

Changed in munin (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.