[Bug 258072] sysutils/munin-master: install does not respect root directory for /var/cron/tabs/munin

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Aug 2021 00:15:51 +0000

            Bug ID: 258072
           Summary: sysutils/munin-master: install does not respect root
                    directory for /var/cron/tabs/munin
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat_at_FreeBSD.org
          Reporter: tphilipp_at_potion-studios.com
          Assignee: mat_at_FreeBSD.org
             Flags: maintainer-feedback?(mat_at_FreeBSD.org)

Since sysutils/munin-master/pkg-install uses crontab(1), the munin crontab file
will always be installed at /var/cron/tabs/munin. This is an issue when
installing munin-master by specifying a different root directory (e.g. for a
jail via "pkg -r <jailroot> install munin-master"). The cron(8) process reading
/var/cron/tabs/munin will try to execute /usr/local/bin/munin-cron, which
doesn't exist, and under the different root hierarchy there won't be any
crontab file at all.

I'm not really sure how to best fix this, as crontab(1) has no notion of
specifying a different root (and copying the tab file around after crontab(1)
created it is messy... I guess nothing should be installed outside of the root
anyways, not even temporarily?)

You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Aug 27 2021 - 00:15:51 UTC

Original text of this message