Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 19:23:57 GMT
From:      Andy Hilker<ah@crypta.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110943: start-dccifd  chowns /var/run to user dcc
Message-ID:  <200703271923.l2RJNvK7021230@www.freebsd.org>
Resent-Message-ID: <200703271930.l2RJU6Bu055565@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110943
>Category:       ports
>Synopsis:       start-dccifd  chowns /var/run to user dcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 27 19:30:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andy Hilker
>Release:        6.2-RELEASE-p2
>Organization:
>Environment:
6.2-RELEASE-p2 
>Description:
If i use the defaults rundir /var/run, the start-dccifd will chown
/var/run from root:wheel to dcc:wheel. I think this is not useful
for other programs! Usually this directory should be owned by
root:wheel.

Sure I have altered my configuration to use /var/run/dcc/ instead,
but by default the port will "damage" the system. It would be nice,
if this can be avoided (for example by altering rc startscript and
default dcc config?).

>How-To-Repeat:
Install dcc-dccd-1.3.50 from ports, activate dccifd in rc.conf and in /usr/local/dcc/dcc_conf ... or simply look at /usr/local/dcc/libexec/start-dccifd (line #183)
>Fix:
several solutions, i do not know what is the best for all:

A) change rundir in makefile to /var/run/dcc and let it patch all following files (rc script, dcc_conf, ...)

B) fix the error where it comes from...
>Release-Note:
>Audit-Trail:
>Unformatted:



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