Bug 42980

Summary: devel/distcc: distccd can't be started by users with gid 0
Product: Ports & Packages Reporter: Juan Salaverria <rael>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
distcc.diff none

Description Juan Salaverria 2002-09-20 08:00:18 UTC
According to the documentation the daemon cannot be started by a root user for security reasons. In the sources this is accomplished by refusing to run distccd from a user with uid=0 and gid=0. In Linux the gid 0 belongs to the root group, but in FreeBSD this is the gid of the wheel group.

How-To-Repeat: Run distccd from any user with default login group 0
Comment 1 Frerich Raabe 2002-09-23 14:14:05 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch updates the port devel/distcc from version 0.10.1 to 0.10.1_1, 
fixing the bug as described in ports/42980. Patch was approved by the distcc 
author and is already in distcc's CVS.

- - Frerich
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9jxOhKrbzRexv2VkRAj/CAKCUBoM+9qUgWPLiBGM3Z0Zo1xtKbwCgilR0
Gf1F8PH4YKjPvRRxne+WZZ0=
=SAyo
-----END PGP SIGNATURE-----
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-09-23 15:17:52 UTC
State Changed
From-To: open->closed

Committed, thanks!