[Bug 204757] [PATCH] deskutils/taskd: Add rc.d script, pkg-message, and taskd user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 23 01:57:46 UTC 2015


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

            Bug ID: 204757
           Summary: [PATCH] deskutils/taskd: Add rc.d script, pkg-message,
                    and taskd user
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: skreuzer at FreeBSD.org
          Reporter: ike at michaeleichorn.com
             Flags: maintainer-feedback?(skreuzer at FreeBSD.org)
          Keywords: patch
          Assignee: skreuzer at FreeBSD.org

Created attachment 163443
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163443&action=edit
Preliminary patch

Taskd is a server/daemon and could use a rc.d script to start at boot.

After consulting with the maintainer, I have come up with a preliminary patch
to add a basic rc.d script, taskd, and it is attached to this PR.

Since taskd uses a self-signed X509 certificate authority, it requires
significant user configuration. As the rc.d script does not perfectly integrate
with upstream's configuration instructions, a pkg-message is provided to
instruct the user.

KNOWN PROBLEMS WITH PATCH:
1) Does not include modifications to ports/UIDs and ports/GIDs to add taskd
user and group. (I couldn't figure out how (new to svn))

2) portslint had concerns with paths in pkg-message, I don't know what to do.

3) I could not figure out how to improve permissions handling with the
unprivileged user (TASKDDATA directory and /var/log/taskd.log). This would be a
substantial improvement, but in lieu of it the pkg-message provides
instructions to modify the permissions.

4) There is a prexisting problem (CHMOD) that portslint has detected.

5) This is my first ever patch to anything, please review CAREFULLY.

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


More information about the freebsd-ports-bugs mailing list