ports/127995: net/isc-dhcp3-server creates a user/group with dynamic UID/GID (>= 1000)

Ashish Shukla wahjava at gmail.com
Fri Oct 10 11:30:02 UTC 2008


>Number:         127995
>Category:       ports
>Synopsis:       net/isc-dhcp3-server creates a user/group with dynamic UID/GID (>= 1000)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 10 11:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ashish Shukla
>Release:        FreeBSD 7.0-RELEASE-p5 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.lf 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #5: Wed Oct 8 13:11:20 IST 2008 root at chateau.d.lf:/usr/obj/usr/src/sys/ULE amd64

>Description:
When installing port net/isc-dhcp3-server, a user (with a dynamic UID) gets 
created on installation, which in my opinion is incorrect. The expected behavior
is to reserve a UID/GID for the dhcpd in ${PORTSDIR}/{U,G}IDs files.

>How-To-Repeat:
Execute following on a root shell:

# make -C /usr/ports/net/isc-dhcp3-server config install

In the above command make sure DHCP_PARANOIA config option is set. And now do:

# getent passwd dhcpd
dhcpd:*:1002:1002:DHCP Daemon:/nonexistent:/usr/sbin/nologin

If you get UID, and GID > 1000, then this is problem.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list