NetBSD Problem Report #40568
From mhitch@vlc2.msu.montana.edu Fri Feb 6 21:28:54 2009
Return-Path: <mhitch@vlc2.msu.montana.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id B051C63C07F
for <gnats-bugs@gnats.NetBSD.org>; Fri, 6 Feb 2009 21:28:54 +0000 (UTC)
Message-Id: <20090206201203.8511C8D@vlc2.msu.montana.edu>
Date: Fri, 6 Feb 2009 13:12:00 -0700 (MST)
From: mhitch@lighting.msu.montana.edu
Reply-To: mhitch@lightning.msu.montana.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: postinstall fails to update /dev/MAKEDEV.local
X-Send-Pr-Version: 3.95
>Number: 40568
>Category: install
>Synopsis: postinstall during (or after) upgrade fails to update /dev/MAKEDEV.local
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: install-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 06 21:30:00 +0000 2009
>Closed-Date: Sun Apr 26 04:33:47 +0000 2009
>Last-Modified: Sun Apr 26 04:33:47 +0000 2009
>Originator: Michael L. Hitch
>Release: NetBSD 5.0_RC1
>Organization:
Montana State Univerisy
>Environment:
System: NetBSD vlc2.msu.montana.edu 5.0_RC1 NetBSD 5.0_RC1 (GENERIC) #7: Tue Feb 3 11:46:47 MST 2009 mhitch@net4.msu.montana.edu:/home/mhitch/NetBSD-5/OBJ/vax/home/mhitch/NetBSD-5/src/sys/arch/vax/compile/GENERIC vax
Architecture: vax
Machine: vax
>Description:
Postinstall fails to update /dev/MAKEDEV.local during sysinst upgrade
or when run during etcupdate or when run manually, and says makedev
failed.
>How-To-Repeat:
Run a sysinst upgrade on a system (5.0_RC1 or -current) and note that
the postinstall run after extracting etc.tgz complains about the
makedev step. Run etcupdate afterwards, and the postinstall run
at the end of that also complains.
The problem appears to be that postinstall is looking in ${SRC_DIR}/etc,
but the file is actually in ${SRC_DIR}/dev when extracted from the
etc.tgz set. When using a source tree as the source, that file is
in src/etc, so postinstall will work when using the source tree.
>Fix:
Search for MAKEDEV.local in both ${SRC_DIR}/dev and ${SRC_DIR}/etc
and use that file (similar to what is done for MAKEDEV).
>Release-Note:
>Audit-Trail:
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40568 CVS commit: [netbsd-5] src
Date: Mon, 9 Feb 2009 03:14:35 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Mon Feb 9 03:14:35 UTC 2009
Modified Files:
src/doc [netbsd-5]: CHANGES-5.0
src/usr.sbin/postinstall [netbsd-5]: postinstall
Log Message:
Back out ticket 328 for now. See PR 40568.
To generate a diff of this commit:
cvs rdiff -r1.1.2.94 -r1.1.2.95 src/doc/CHANGES-5.0
cvs rdiff -r1.76.2.5 -r1.76.2.6 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Michael L. Hitch" <mhitch@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/40568: postinstall fails to update /dev/MAKEDEV.local
Date: Sun, 8 Feb 2009 20:36:55 -0700 (MST)
On Fri, 6 Feb 2009, mhitch@lighting.msu.montana.edu wrote:
I forgot to note that etcupdate does update /dev/MAKEDEV.local.
--
Michael L. Hitch mhitch@NetBSD.org
State-Changed-From-To: open->feedback
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 08 Apr 2009 00:23:26 +0000
State-Changed-Why:
Fixed?
From: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
To: gnats-bugs@NetBSD.org
Cc: snj@NetBSD.org
Subject: Re: install/40568 (postinstall during (or after) upgrade fails to
update /dev/MAKEDEV.local)
Date: Sat, 25 Apr 2009 13:04:18 -0600 (MDT)
On Wed, 8 Apr 2009, snj@NetBSD.org wrote:
> Synopsis: postinstall during (or after) upgrade fails to update /dev/MAKEDEV.local
>
> State-Changed-From-To: open->feedback
> State-Changed-By: snj@NetBSD.org
> State-Changed-When: Wed, 08 Apr 2009 00:23:26 +0000
> State-Changed-Why:
> Fixed?
Finally got a chance to update to 5.0_RC4 and verify that this appears
to work (at least it no longer complains about failure), so I would say
it's fixed.
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Apr 2009 04:33:47 +0000
State-Changed-Why:
Fixed. Thanks for checking :-)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.