ports/185781: make install for net/vmstat dies on creating users.
Greg Kennedy
kennedy.greg at gmail.com
Tue Jan 14 20:50:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list