ports/148996: net/cvsup-mirror doesn't use preassigned UID/GIDs

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Jul 27 11:30:02 UTC 2010

>Number:         148996
>Category:       ports
>Synopsis:       net/cvsup-mirror doesn't use preassigned UID/GIDs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 11:30:01 UTC 2010
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 8.1-PRERELEASE amd64
System: FreeBSD icarus.home.lan 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jul 13 05:58:50 PDT 2010 root at icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64
	It appears that upon installation of net/cvsup-mirror, two
	user accounts and two groups are created with "dynamic" UID
	and GIDs.  Case in point:

cvsup:*:1077:1100::0:0:CVSup Daemon:/nonexistent:/nonexistent
cvsupin:*:1078:1101::0:0:CVSup Client:/home/cvsupin:/nonexistent


	This port should really be using ports/UIDs and ports/GIDs
	and have these statically mapped.

	While I'm here, I'll point out that upon deinstallation of
	this port, there are some directories in /usr/local
	which aren't cleaned up:

# find / -user 1078 -ls
3603747        4 drwxr-xr-x    3 1078             1101                  512 Jul 27 04:17 /usr/local/etc/cvsup/sup.client
3603748        4 drwxr-xr-x    2 1078             1101                  512 Jul 27 04:21 /usr/local/etc/cvsup/sup.client/distrib
3603755        4 drwxr-xr-x    2 1078             1101                  512 Jul 27 04:17 /usr/local/etc/cvsup/sup

	If this is intentional, something should at least be printed
	upon deinstallation to remind folks.  The same goes for /home/ncvs.
	Install net/cvsup-mirror
	Make use of USERS and GROUPS variables in Makefile.


More information about the freebsd-ports-bugs mailing list