Date: Tue, 27 Jul 2010 04:29:46 -0700 (PDT) From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/148996: net/cvsup-mirror doesn't use preassigned UID/GIDs Message-ID: <20100727112946.748369B425@icarus.home.lan> Resent-Message-ID: <201007271130.o6RBU1Wo049340@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 11:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 8.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jul 13 05:58:50 PDT 2010 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64 >Description: 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 cvsup:*:1100: cvsupin:*:1101: 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. >How-To-Repeat: Install net/cvsup-mirror >Fix: Make use of USERS and GROUPS variables in Makefile. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100727112946.748369B425>