Subject: pkg/16365: netsaint-base fails to create user and groups
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 04/15/2002 21:47:00
>Number:         16365
>Category:       pkg
>Synopsis:       netsaint-base fails to create user and groups
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 15 12:48:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Ernesti
>Release:        NetBSD 1.5ZC pkgsrc from 15-Apr-2002 1200 UTC
>Organization:
	
>Environment:
Architecture: i386
Machine: i386
>Description:
	Netsaint-base use fixed default values for users and groups,
	which cause failures if the uid and gids allready exists.
>How-To-Repeat:
	Try to install netsaint-base and notice the install erorrs
	while creating group and users:

Creating group: netsaint
groupadd: can't add group: gid 200 is a duplicate
Creating group: netstadm
Creating user: netsaint
useradd: uid 200 is already in use
Creating user: netstadm
useradd: uid 201 is already in use

	These uid and gids are used for other purpose.
>Fix:
	Do NOT use fixed uid and gids.
>Release-Note:
>Audit-Trail:
>Unformatted: