[Bug 253323] [patch] www/tinyproxy should remove $pidfile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 7 17:21:23 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253323

            Bug ID: 253323
           Summary: [patch] www/tinyproxy should remove $pidfile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: freebsd at oldach.net
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Created attachment 222243
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222243&action=edit
Patch

Since the PidFile is created as root and the daemon drops privileges, it cannot
remove the PidFile upon exit:

Feb  7 17:27:11 nuc tinyproxy[49788]: Could not remove PID file
"/var/run/tinyproxy.pid": Permission denied.

Therefore, have the service script clean up the stale PidFile.

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


More information about the freebsd-ports-bugs mailing list