Date: Tue, 27 Mar 2007 21:30:34 +0200 (CEST) From: Andy Hilker <ah@crypta.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110946: [dcc-dccd] start-dccifd chowns /var/run to user dcc Message-ID: <20070327193034.7CD8FECD46B@mail.crypta.net> Resent-Message-ID: <200703272010.l2RKA5Hx063569@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070327193034.7CD8FECD46B>