Bug 42980 - devel/distcc: distccd can't be started by users with gid 0
Summary: devel/distcc: distccd can't be started by users with gid 0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-20 08:00 UTC by Juan Salaverria
Modified: 2002-09-23 15:17 UTC (History)
0 users

See Also:


Attachments
file.diff (404 bytes, patch)
2002-09-20 08:00 UTC, Juan Salaverria
no flags Details | Diff
distcc.diff (1.50 KB, patch)
2002-09-23 14:14 UTC, Frerich Raabe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!