[Bug 275214] sysutils/monit: rc script fails with wrong monitrc permissions

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Nov 2023 14:37:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275214

            Bug ID: 275214
           Summary: sysutils/monit: rc script fails with wrong monitrc
                    permissions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: frank.brendel@eurolog.com
                CC: martinp@tildeslash.com
                CC: martinp@tildeslash.com
             Flags: maintainer-feedback?(martinp@tildeslash.com)

The rc.d script fails on wrong permissions of the Monit configuration file.
Setting a command in monit_setup that would change the permissions doesn't work
because monit_checkconf (set in restart/reload_precmd) is executed before.

Is it possible to fix the permissions within the monit_checkconf function?

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