[Bug 213293] [PATCH] net/rtg: Improve RC script - use daemon(8) and run as non-privileged user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 7 21:26:49 UTC 2016


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

            Bug ID: 213293
           Summary: [PATCH] net/rtg: Improve RC script - use daemon(8) and
                    run as non-privileged user
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: andrew.fengler at scaleengine.com
                CC: freebsd-ports at dan.me.uk
          Keywords: patch
                CC: freebsd-ports at dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports at dan.me.uk)

Created attachment 175517
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175517&action=edit
SVN patch of the changes

Add 'rtg' user and group in UIDs/GIDs.
Use daemon(8) to daemonize rtgpoll.
Add prestart commands to set correct permissions for RTG's files.

Submitted as D7486 in phabricator: https://reviews.freebsd.org/D7486

I've attached a copy of the patch.

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


More information about the freebsd-ports-bugs mailing list