[Bug 266106] dns/inadyn : fix for pidfile creation on transient /var/run configuration

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Aug 2022 03:08:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266106

            Bug ID: 266106
           Summary: dns/inadyn : fix for pidfile creation on transient
                    /var/run configuration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: samm@FreeBSD.org
          Reporter: mike@jellydonut.org
          Assignee: samm@FreeBSD.org
             Flags: maintainer-feedback?(samm@FreeBSD.org)

Created attachment 236236
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236236&action=edit
startup script patch for systems with transient /var/run mount

Hi inadyn maintainer,

I've noticed that dns/inadyn tries to write a pidfile in /var/run/inadyn as its
own unprivileged UID, which doesn't work for systems with a transient /var/run
mount like mine. I've patched /usr/local/etc/rc.d/inadyn to create this and set
permissions if it doesn't exist at startup which resolves my issue, submitting
here for consideration.

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