Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 00:15:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258072] sysutils/munin-master: install does not respect root directory for /var/cron/tabs/munin
Message-ID:  <bug-258072-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: tphilipp@potion-studios.com
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@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 rea=
ding
/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 r=
oot
anyways, not even temporarily?)

--=20
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-258072-7788>