Opened 12 years ago

Closed 11 years ago

#32573 closed defect (fixed)

munin @1.4.4 fails to install plugins configuration directory

Reported by: matt@… Owned by: alpha@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: kenyon@…
Port: munin

Description

Running OSX 10.7.2 with XCode 4.2.1

After installing munin (node only) following the post-install instructions to run "munin-node-configure --suggest --shell" fails because the plugin config directory doesn't exist.

$ sudo munin-node-configure --suggest --shell | sudo sh
Could not open plugin configuration directory: No such file or directory at
/opt/local/lib/perl5/site_perl/5.12.3/Munin/Node/Service.pm line 81

Creating plugin-conf.d along with the default munin-node.conf and plugins directory would fix the problem.

FYI, the recommended command "$ sudo munin-node-configure --suggest --shell | sh" would fail because sh would not be run as root. That would need another invocation of sudo. "$ sudo munin-node-configure --suggest --shell | sudo sh"

Attachments (1)

munin-initial-setup.diff (1.4 KB) - added by raimue (Rainer Müller) 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to alpha@…
Port: munin added

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Is this still a problem with 1.4.5?

comment:3 Changed 11 years ago by raimue (Rainer Müller)

Yes, this still applies to 1.4.5.

Changed 11 years ago by raimue (Rainer Müller)

Attachment: munin-initial-setup.diff added

comment:4 Changed 11 years ago by raimue (Rainer Müller)

This patch fixes the initial setup by both keeping an empty directory in the destroot which is mandatory, copying the default configuration file and fixing the suggested command for plugin auto-detection.

comment:5 Changed 11 years ago by kenyon@…

This was fixed in changeset [101939], so this ticket should be closed.

comment:6 Changed 11 years ago by kenyon@…

Cc: kenyon@… added

Cc Me!

comment:7 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.