Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 22:14:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227056] sysutils/sec: Can we allow sec_user to update pidfile?
Message-ID:  <bug-227056-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227056

            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@FreeBSD.org
          Reporter: leres@freebsd.org
                CC: ecu@200ok.org
                CC: ecu@200ok.org
             Flags: maintainer-feedback?(ecu@200ok.org)

We run sec as a non-root user. However the rc.d script does not provide a w=
ay
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 happ=
y to
create a patch for approval.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227056-13>