Bug 253323 - [patch] www/tinyproxy should remove $pidfile
Summary: [patch] www/tinyproxy should remove $pidfile
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords: buildisok, patch
Depends on:
Blocks:
 
Reported: 2021-02-07 17:21 UTC by Helge Oldach
Modified: 2022-10-17 12:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Patch (353 bytes, patch)
2021-02-07 17:21 UTC, Helge Oldach
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helge Oldach 2021-02-07 17:21:23 UTC
Created attachment 222243 [details]
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.
Comment 1 Automation User 2021-02-22 01:34:58 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/259557446
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:40 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>