Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 23:48:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195021] New: sysutils/munin-node: ntp_ and ntp_states plugins fail without dns/p5-Net-DNS
Message-ID:  <bug-195021-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195021

            Bug ID: 195021
           Summary: sysutils/munin-node: ntp_ and ntp_states plugins fail
                    without dns/p5-Net-DNS
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: john@saltant.com
                CC: mat@FreeBSD.org, perl@FreeBSD.org
                CC: perl@FreeBSD.org

Created attachment 149421
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149421&action=edit
sysutils/munin-node: Depend upon dns/p5-Net-DNS at runtime

sysutils/munin-node has an unstated runtime dependency on dns/p5-Net-DNS. There
are two plugins that "use Net::DNS;", and they are ntp_ and ntp_states. Without
the dependency installed the plugins fail as illustrated in this log excerpt:

    /var/log/munin/munin-node.log
    -----------------------------
    2014/11/14-00:00:06 [68072] Error output from ntp_states:
    2014/11/14-00:00:06 [68072]     Can't locate Net/DNS.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.16/BSDPAN
/usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16
/usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at
/usr/local/etc/munin/plugins/ntp_states line 43.
    2014/11/14-00:00:06 [68072]     BEGIN failed--compilation aborted at
/usr/local/etc/munin/plugins/ntp_states line 43.
    2014/11/14-00:00:06 [68072] Service 'ntp_states' exited with status 2/0.

Fix:

Apply the attached patch to pick up the missing dependency.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainers CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195021-13>