[Bug 249151] security/stunnel: cannot create pid file when setuid set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 6 16:40:45 UTC 2020


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

            Bug ID: 249151
           Summary: security/stunnel: cannot create pid file when setuid
                    set
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: matt at matthoran.com
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org

By default the port will run as root and is therefore able to write a pid file
in /var/run. However, when setting setuid in the config file as recommended,
this is not possible. It seems the pid file is not written by stunnel before
dropping privileges. I'm not sure what the best fix for this would be, but it'd
be great if I could run stunnel as non-root.

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


More information about the freebsd-ports-bugs mailing list