NetBSD Problem Report #45870
From www@NetBSD.org Wed Jan 25 04:23:34 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 0AD4463C41D
for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 Jan 2012 04:23:34 +0000 (UTC)
Message-Id: <20120125042333.7EE7563C086@www.NetBSD.org>
Date: Wed, 25 Jan 2012 04:23:33 +0000 (UTC)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@NetBSD.org
Subject: postinstall atf check fails: grep: /etc/atf/common.conf: No such file or directory
X-Send-Pr-Version: www-1.0
>Number: 45870
>Category: bin
>Synopsis: postinstall atf check fails: grep: /etc/atf/common.conf: No such file or directory
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jmmv
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 25 04:25:00 +0000 2012
>Closed-Date: Mon Jul 16 22:41:29 +0000 2012
>Last-Modified: Mon Jul 16 22:41:29 +0000 2012
>Originator: matthew green
>Release: -current (2012-01-22)
>Organization:
>Environment:
>Description:
running "postinstall check" on a system installed from a while ago
results in this message:
atf check:
grep: /etc/atf/common.conf: No such file or directory
>How-To-Repeat:
install a pre-atf system (netbsd-4?) and then upgrade and use then
run "postinstall check".
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->jmmv
Responsible-Changed-By: jruoho@NetBSD.org
Responsible-Changed-When: Mon, 06 Feb 2012 18:07:14 +0000
Responsible-Changed-Why:
Reassigning; please verify and/or close.
State-Changed-From-To: open->feedback
State-Changed-By: jmmv@NetBSD.org
State-Changed-When: Mon, 27 Feb 2012 16:45:11 +0000
State-Changed-Why:
Aren't you supposed to run etcupdate *before* postinstall? Running
etcupdate should have taken care of this by installing common.conf.
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: jmmv@NetBSD.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,
mrg@eterna.com.au
Subject: Re: bin/45870 (postinstall atf check fails: grep: /etc/atf/common.conf: No such file or directory)
Date: Mon, 27 Feb 2012 17:50:04 +0100
IMHO postinstall should work completely independent of etcupdate.
It could detect the missing file and bail "fix manually", or it could
detect and fix properly (as in this case it is realy easy).
Martin
From: Julio Merino <jmmv@julipedia.org>
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, mrg@eterna.com.au
Subject: Re: bin/45870 (postinstall atf check fails: grep: /etc/atf/common.conf:
No such file or directory)
Date: Mon, 27 Feb 2012 12:04:12 -0500
On 2/27/12 11:50 AM, Martin Husemann wrote:
> IMHO postinstall should work completely independent of etcupdate.
But does it? Is this the only condition it does not handle?
From: Martin Husemann <martin@duskware.de>
To: Julio Merino <jmmv@julipedia.org>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,
mrg@eterna.com.au
Subject: Re: bin/45870 (postinstall atf check fails: grep: /etc/atf/common.conf: No such file or directory)
Date: Mon, 27 Feb 2012 18:11:32 +0100
On Mon, Feb 27, 2012 at 12:04:12PM -0500, Julio Merino wrote:
> On 2/27/12 11:50 AM, Martin Husemann wrote:
> >IMHO postinstall should work completely independent of etcupdate.
>
> But does it? Is this the only condition it does not handle?
I think so (postinstall is run after a lot build.sh invocation variants
that never run etcupdate, so bugs like this show up and are fixed quickly).
Martin
State-Changed-From-To: feedback->pending-pullups
State-Changed-By: jmmv@NetBSD.org
State-Changed-When: Mon, 27 Feb 2012 17:56:47 +0000
State-Changed-Why:
Should be fixed in current.
From: "Julio Merino" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45870 CVS commit: src/usr.sbin/postinstall
Date: Mon, 27 Feb 2012 17:56:15 +0000
Module Name: src
Committed By: jmmv
Date: Mon Feb 27 17:56:15 UTC 2012
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
Populate /etc/atf with any missing files. Fixes PR bin/45870.
To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 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: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45870 CVS commit: [netbsd-6] src/usr.sbin/postinstall
Date: Mon, 27 Feb 2012 20:28:19 +0000
Module Name: src
Committed By: riz
Date: Mon Feb 27 20:28:19 UTC 2012
Modified Files:
src/usr.sbin/postinstall [netbsd-6]: postinstall
Log Message:
Pull up following revision(s) (requested by jmmv in ticket #59):
usr.sbin/postinstall/postinstall: revision 1.135
Populate /etc/atf with any missing files. Fixes PR bin/45870.
To generate a diff of this commit:
cvs rdiff -u -r1.129.2.4 -r1.129.2.5 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: "Julio Merino" <jmmv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45870 CVS commit: src/usr.sbin/postinstall
Date: Wed, 29 Feb 2012 02:40:29 +0000
Module Name: src
Committed By: jmmv
Date: Wed Feb 29 02:40:28 UTC 2012
Modified Files:
src/usr.sbin/postinstall: postinstall
Log Message:
Properly find atf configuration files in the source tree. My previous
change dealt properly with etc.tgz only. Addresses PR bin/45870.
To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 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: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/45870 CVS commit: src/usr.sbin/postinstall
Date: Sun, 22 Apr 2012 19:03:36 +0000
On Wed, Feb 29, 2012 at 02:45:02AM +0000, Julio Merino wrote:
> From: "Julio Merino" <jmmv@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/45870 CVS commit: src/usr.sbin/postinstall
> Date: Wed, 29 Feb 2012 02:40:29 +0000
>
> Module Name: src
> Committed By: jmmv
> Date: Wed Feb 29 02:40:28 UTC 2012
>
> Modified Files:
> src/usr.sbin/postinstall: postinstall
>
> Log Message:
> Properly find atf configuration files in the source tree. My previous
> change dealt properly with etc.tgz only. Addresses PR bin/45870.
Does this change also need to be pulled up to -6? (It appears so to me...)
--
David A. Holland
dholland@netbsd.org
From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45870 CVS commit: [netbsd-6] src/usr.sbin/postinstall
Date: Mon, 16 Jul 2012 22:08:03 +0000
Module Name: src
Committed By: riz
Date: Mon Jul 16 22:08:03 UTC 2012
Modified Files:
src/usr.sbin/postinstall [netbsd-6]: postinstall
Log Message:
Pull up following revision(s) (requested by jmmv in ticket #419):
usr.sbin/postinstall/postinstall: revision 1.136
Properly find atf configuration files in the source tree. My previous
change dealt properly with etc.tgz only. Addresses PR bin/45870.
To generate a diff of this commit:
cvs rdiff -u -r1.129.2.6 -r1.129.2.7 src/usr.sbin/postinstall/postinstall
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: jmmv@NetBSD.org
State-Changed-When: Mon, 16 Jul 2012 22:41:29 +0000
State-Changed-Why:
Pullups done.
>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.