From nobody@FreeBSD.org  Sat Jul 16 20:41:41 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 511E916A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 16 Jul 2005 20:41:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1A11443D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 16 Jul 2005 20:41:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j6GKfeeX054972
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 16 Jul 2005 20:41:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j6GKfeeu054938;
	Sat, 16 Jul 2005 20:41:40 GMT
	(envelope-from nobody)
Message-Id: <200507162041.j6GKfeeu054938@www.freebsd.org>
Date: Sat, 16 Jul 2005 20:41:40 GMT
From: Jeff Shimbo <jts767@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mergemaster deletes users when upgrading 5.4 -> 6.0
X-Send-Pr-Version: www-2.3

>Number:         83572
>Category:       bin
>Synopsis:       mergemaster deletes users when upgrading 5.4 -> 6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 16 20:50:14 GMT 2005
>Closed-Date:    Wed Oct 12 00:32:29 GMT 2005
>Last-Modified:  Wed Oct 12 00:32:29 GMT 2005
>Originator:     Jeff Shimbo
>Release:        6.0 Beta1
>Organization:
>Environment:
CVSUPed 7/16. Also happened a week or two ago.
>Description:
When upgrading from 5.4 to 6.0 via CVSUP - makeworld/kernel -
installkernel/world, mergemaster deletes non-system users from passwd
(e.g., removes users mysql and me) and removes non-system users from
some groups, e.g., group wheel.

If this is by design, there are two problems:

- Deviation from "90% behavior," i.e., most of the time you are upgrading
  within subversions, e.g., 5.4a -> 5.4b, and the problem does not occur.

- No warning in UPDATING.
>How-To-Repeat:
1. Install RELENG_5
2. CVSUP RELENG_6
3. Upgrade the world per the Handbook, section 19.4.1
4. Scrutinize changes to passwd and group in mergermaster step
>Fix:
Request:
- Warn user in UPDATING
- Be more selective about changes to passwd and group files
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 22 23:18:26 GMT 2005 
Responsible-Changed-Why:  
This sounds particular to mergemaster and not i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83572 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Oct 12 00:30:14 GMT 2005 
State-Changed-Why:  

I'm sorry to say, this has to be user error at some point 
in the program. mergemaster by itself does not make any 
changes to any files (including master.passwd and groups), 
and as far as I know, the upgrade procedure does not install 
anything in /etc.  

If you can reproduce this issue with details on what happened, 
I'll be happy to look at it again, but I don't think that 
mergemaster is at fault here. 

Good luck, 

Doug 



Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Oct 12 00:30:14 GMT 2005 
Responsible-Changed-Why:  

I maintain mergemaster 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83572 
>Unformatted:
