[Bug 227056] sysutils/sec: Can we allow sec_user to update pidfile?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 28 22:14:25 UTC 2018


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

            Bug ID: 227056
           Summary: sysutils/sec: Can we allow sec_user to update pidfile?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: leres at freebsd.org
                CC: ecu at 200ok.org
                CC: ecu at 200ok.org
             Flags: maintainer-feedback?(ecu at 200ok.org)

We run sec as a non-root user. However the rc.d script does not provide a way
to change the pid file. I can think of several ways to solve this:

    - Change pidfile to /var/run/sec/sec.pid
      Optionally chown /var/run/sec to sec_user

    - Optionally add sec_pidfile to rc.conf to override pidfile

If the maintainer could provide feedback on the preferred solution I'm happy to
create a patch for approval.

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


More information about the freebsd-ports-bugs mailing list