[Bug 277950] RUNDIR should not be set in pkg-plist

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Mar 2024 13:59:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277950

            Bug ID: 277950
           Summary: RUNDIR should not be set in pkg-plist
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trashcan@ellael.org

Created attachment 249475
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249475&action=edit
patch to remove %%RUNDIR%% in dns/knot-resolver/pkg-plist

User might have dropped priviledges while starting kresd. Thus 
file permissions are crucial in the entire RUNDIR tree.

Setting permissions, uid, and guid of RUNDIR in pkg-plist will be
scrutinized after an port upgrade or forced re-installiation of the
port.

kresd will create RUNDIR on a vanilla system anyway and will set
permissions correctly

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