Date: Tue, 14 Jan 2014 20:45:04 GMT From: Greg Kennedy <kennedy.greg@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185781: make install for net/vmstat dies on creating users. Message-ID: <201401142045.s0EKj43A076930@oldred.freebsd.org> Resent-Message-ID: <201401142050.s0EKo08G091124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185781 >Category: ports >Synopsis: make install for net/vmstat dies on creating users. >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: Tue Jan 14 20:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Greg Kennedy >Release: 9.2-STABLE >Organization: >Environment: FreeBSD server.greg-kennedy.com 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 02:38:15 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: After compiling vnstat, the installation process dies on the section "Creating users and/or groups." A group 'vnstat' is created. A user is then created, but the installation thinks that vnstat user disappeared in the process, so it bombs. Subsequent runs die on user creation - perhaps it should reuse existing created user. --output follows-- ===> Creating users and/or groups. Creating group `vnstat' with gid `284'. Creating user `vnstat' with uid `284'. pw: user 'vnstat' disappeared during update *** [create-users-groups] Error code 67 Stop in /usr/ports/net/vnstat. *** [install] Error code 1 Stop in /usr/ports/net/vnstat. $ make install ===> Creating users and/or groups. Using existing group `vnstat'. Creating user `vnstat' with uid `284'. pw: user 'vnstat' already exists *** [create-users-groups] Error code 74 Stop in /usr/ports/net/vnstat. *** [install] Error code 1 Stop in /usr/ports/net/vnstat. >How-To-Repeat: cd /usr/ports/net/vnstat make install clean (don't select any options) ..wait for crash make install ..crash with a different output this time >Fix: First instance of creating user should not think the user disappeared in the process. Subsequent runs should find duplicate user and re-use its ID instead of just dying. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401142045.s0EKj43A076930>