Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 01:57:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204757] [PATCH] deskutils/taskd: Add rc.d script, pkg-message, and taskd user
Message-ID:  <bug-204757-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: ike@michaeleichorn.com
             Flags: maintainer-feedback?(skreuzer@FreeBSD.org)
          Keywords: patch
          Assignee: skreuzer@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.



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