NetBSD Problem Report #10435

Received: (qmail 8299 invoked from network); 25 Jun 2000 07:02:19 -0000
Message-Id: <200006250702.AAA02169@quatre.pa.dec.com>
Date: Sun, 25 Jun 2000 00:02:13 -0700
From: murray@pa.dec.com (Hal Murray)
Sender: murray@pa.dec.com
Reply-To: murray@pa.dec.com
To: gnats-bugs@gnats.netbsd.org
Subject: sysinst-upgrade gets confused if /etc.old exists
X-Send-Pr-Version: 3.95

>Number:         10435
>Category:       install
>Synopsis:       sysinst-upgrade gets confused if /etc.old exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 25 07:03:00 +0000 2000
>Closed-Date:    Sun Jun 06 19:38:51 +0000 2004
>Last-Modified:  Sun Jun 06 19:38:51 +0000 2004
>Originator:     Hal Murray
>Release:        NetBSD 1.5_ALPHA, 20000620-1.5
>Organization:
        Systems Research Center, Compaq Computer Corporation
>Environment:
        Install floppies, Alpha 600au


>Description:

        I tried to do an upgrade.  sysinst (correctly) objected because 
        I already had an /etc.old on that disk.  So I did the mount, 
        rm, umount dance and tried again. 

        It did a full fsck on my /usr.  That's strange, it didn't 
        have any troubles the first try.  At the end, it asked me 
        if it should mark it clean [yn].  I said "y".  But then it 
        complained about not being able to mount it. 

>How-To-Repeat:
        Create /etc.old
        Try to upgrade
        After sysinst objects, do the mount, rm, and umount by hand.
        Try to upgrade again.

>Fix:
        work around: reboot and start over, possibly rebooting from 
        the disk to make sure things are clean.

        fix: ??
>Release-Note:
>Audit-Trail:

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: re: install/10435: sysinst-upgrade gets confused if /etc.old exists
Date: Sun, 27 Jul 2003 16:53:05 +0100

 It looks as though sysinst managed to leave /usr mounted.

 I fairly sure it gets it right now (but I haven't changed that bit).
 I have recently changed sysinst so that /etc.old isn't left behind
 if /etc isn't installed.

 Does it still fail?

 	David

 -- 
 David Laight: david@l8s.co.uk

From: David Laight <david@l8s.co.uk>(by way of Erik E. Fair)
To: NetBSD GNATS Problem Report Tracking System <gnats-bugs@gnats.netbsd.org>
Cc:  
Subject: re: install/10435: sysinst-upgrade gets confused if /etc.old
 exists
Date: Thu, 4 Dec 2003 13:56:41 -0800

 It looks as though sysinst managed to leave /usr mounted.

 I fairly sure it gets it right now (but I haven't changed that bit).
 I have recently changed sysinst so that /etc.old isn't left behind
 if /etc isn't installed.

 Does it still fail?

 	David

 -- 
 David Laight: david@l8s.co.uk
State-Changed-From-To: open->closed 
State-Changed-By: dsl 
State-Changed-When: Sun Jun 6 19:37:42 UTC 2004 
State-Changed-Why:  
sysinst actually had problems because it tried to use rmdir(1) - which isn't 
on the install media. 
However for 2.0 /etc is handled a different way and etc.old isn't used anymore. 
>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.