NetBSD Problem Report #1798

From gnats  Wed Nov 29 22:24:21 1995
Received: from bloom-beacon.MIT.EDU by pain.lcs.mit.edu (8.6.12/8.6.9) with ESMTP id WAA01485 for <gnats-bugs@gnats.netbsd.org>; Wed, 29 Nov 1995 22:08:47 -0500
Message-Id: <199511300242.VAA00481@pattern.arlington.ma.us>
Date: Wed, 29 Nov 1995 21:42:40 -0500
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: upgrade doesn't put back /.profile
X-Send-Pr-Version: 3.95

>Number:         1798
>Category:       port-i386
>Synopsis:       upgrade doesn't put back /.profile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jtc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 29 22:35:03 +0000 1995
>Closed-Date:    Thu Dec 07 05:26:01 +0000 1995
>Last-Modified:  Thu Dec 07 10:26:17 +0000 1995
>Originator:     John Kohl
>Release:        1.1
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:

System: NetBSD pattern 1.1 NetBSD 1.1 (PATTERN) #0: Fri Nov 24 11:01:09 EST 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386


>Description:
	The upgrade procedure does not put /.profile back in place when
it is done.

>How-To-Repeat:
	Run the upgrade, boot a new kernel single user, and wonder why
you get the upgrade stuff rather than your own system .profile.
>Fix:

*** dot.upgrutils	1995/11/30 02:40:19	1.1
--- distrib/i386/floppies/upgr/dot.upgrutils	1995/11/30 02:41:12
***************
*** 45,50 ****
--- 45,51 ----
  	mv $upgrade_dir/etc/rc.bak $upgrade_dir/etc/rc
  	chroot $upgrade_dir /usr/sbin/pwd_mkdb -p /etc/master.passwd
  	chroot $upgrade_dir /bin/rm /etc/sendmail.fc > /dev/null 2>&1
+ 	mv $upgrade_dir/.profile.bak $upgrade_dir/.profile
  	sync
  	echo	"Done."

>Release-Note:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Thu Dec  7 05:09:02 1995
Responsible-Changed-Why:
Fixed this in my tree, will apply patch next round of checkins.

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Thu Dec  7 05:26:01 1995
State-Changed-Why:
Checked in fix.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.