ports/110946: [dcc-dccd] start-dccifd chowns /var/run to user dcc
Andy Hilker
ah at crypta.net
Tue Mar 27 20:10:07 UTC 2007
>Number: 110946
>Category: ports
>Synopsis: [dcc-dccd] 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 20:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Andy Hilker
>Release: FreeBSD 6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386
>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:
More information about the freebsd-ports-bugs
mailing list