NetBSD Problem Report #48097

From www@NetBSD.org  Mon Jul 29 20:08:20 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A970D70A58
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Jul 2013 20:08:20 +0000 (UTC)
Message-Id: <20130729200819.3783C70DF7@mollari.NetBSD.org>
Date: Mon, 29 Jul 2013 20:08:19 +0000 (UTC)
From: brad.harder@gmail.com
Reply-To: brad.harder@gmail.com
To: gnats-bugs@NetBSD.org
Subject: etcupdate and postinstall handling of /etc/motd produces errors
X-Send-Pr-Version: www-1.0

>Number:         48097
>Category:       install
>Synopsis:       etcupdate and postinstall handling of /etc/motd produces errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kre
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 29 20:10:00 +0000 2013
>Last-Modified:  Wed Jun 19 22:55:01 +0000 2019
>Originator:     brad harder
>Release:        -current amd64
>Organization:
method logic digital
>Environment:
NetBSD kamloops 6.99.23 NetBSD 6.99.23 (GENERIC) #265: Mon Jul 29 11:19:09 PDT 2013  root@kamloops:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
What do you want to do? [Leave it for later] d
Remove /tmp/temproot? (y/[n]) y
*** Removing /tmp/temproot
*** Cleaning up in /usr/src/etc
*** Running /usr/sbin/postinstall
Source directory: /usr/src
Target directory: /
bluetooth check:
ddbonpanic check:
defaults check:
dhcpcd check:
envsys check:
fontconfig check:
gid check:
gpio check:
hosts check:
iscsi check:
makedev check:
motd check:
eval: cannot open /usr/src/etc/motd: no such file
        Bug reporting messages do not seem to match the installed release
mtree check:
named check:
pam check:
periodic check:
pf check:
pwd_mkdb check:
rc check:
ssh check:
wscons check:
x11 check:
xkb check:
uid check:
varrwho check:
tcpdumpchroot check:
atf check:
catpages check:
obsolete check:
ptyfsoldnodes check:
postinstall checks passed: bluetooth ddbonpanic defaults dhcpcd envsys fontconfig gid gpio hosts iscsi makedev mtree named pam periodic pf pwd_mkdb rc ssh wscons x11 xkb uid varrwho tcpdumpchroot atf catpages obsolete ptyfsoldnodes
postinstall checks failed: motd
To fix, run:
    sh /usr/sbin/postinstall -s '/usr/src' -d / fix motd
Note that this may overwrite local changes.
*** All done
kamloops# postinstall -s /usr/src -d / fix motd
Source directory: /usr/src
Target directory: /
motd fix:
eval: cannot open /usr/src/etc/motd: no such file
eval: cannot open /usr/src/etc/motd: no such file
postinstall fixes passed: motd
postinstall fixes failed:
>How-To-Repeat:
build.sh distribution, etcupdate, postinstall.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: install-manager->kre
Responsible-Changed-By: kre@NetBSD.org
Responsible-Changed-When: Wed, 19 Jun 2019 01:17:49 +0000
Responsible-Changed-Why:
I am looking into this PR


From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/48097: etcupdate and postinstall handling of /etc/motd
 produces errors
Date: Wed, 19 Jun 2019 17:51:20 +0300

 On Mon, Jul 29, 2013 at 20:10:00 +0000, brad.harder@gmail.com wrote:

 > eval: cannot open /usr/src/etc/motd: no such file

 src/etc/motd is no more since 

   revision 1.4
   date: 2012-11-04 15:09:15 +0400;  author: apb;  state: dead;  lines: +0 -0;
   motd needs to be re-generated when DISTRIBVER changes, so change he
   Makefile to use the new ${_NETBSD_VERSION_DEPENDS} mechanism defined in
   bsd.own.mk.

   Rename the default motd file in the source tree from "motd" to
   "motd.default", because otherwise it would conflict with the motd file
   that is now created in the .OBJDIR.

 We have quite a number of different motd files (current, stable, beta,
 rc, release).  etcupdate dodges this by running make distribution in
 src/etc and lets existing makefile logic to decide which one to use.

 -uwe

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/48097: etcupdate and postinstall handling of /etc/motd produces errors
Date: Thu, 20 Jun 2019 03:22:44 +0700

     Date:        Wed, 19 Jun 2019 14:55:01 +0000 (UTC)
     From:        Valery Ushakov <uwe@stderr.spb.ru>
     Message-ID:  <20190619145501.4E1C27A1C0@mollari.NetBSD.org>


   |  On Mon, Jul 29, 2013 at 20:10:00 +0000, brad.harder@gmail.com wrote:
   |  
   |  > eval: cannot open /usr/src/etc/motd: no such file
   |  
   |  src/etc/motd is no more since [...]

 If this PR (one of the older ones) is no longer relevant, please close it,
 that makes one less thing to look at!

 Thanks,

 kre

From: bch <brad.harder@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/48097: etcupdate and postinstall handling of /etc/motd
 produces errors
Date: Wed, 19 Jun 2019 14:00:31 -0700

 --000000000000b73a48058bb38507
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 I think this was either attended-to directly or got fixed in some churn in
 the same space. I=E2=80=99m happy closing this...

 -bch


 On Wed, Jun 19, 2019 at 13:25 Robert Elz <kre@munnari.oz.au> wrote:

 > The following reply was made to PR install/48097; it has been noted by
 > GNATS.
 >
 > From: Robert Elz <kre@munnari.OZ.AU>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: install/48097: etcupdate and postinstall handling of
 > /etc/motd produces errors
 > Date: Thu, 20 Jun 2019 03:22:44 +0700
 >
 >      Date:        Wed, 19 Jun 2019 14:55:01 +0000 (UTC)
 >      From:        Valery Ushakov <uwe@stderr.spb.ru>
 >      Message-ID:  <20190619145501.4E1C27A1C0@mollari.NetBSD.org>
 >
 >
 >    |  On Mon, Jul 29, 2013 at 20:10:00 +0000, brad.harder@gmail.com wrote=
 :
 >    |
 >    |  > eval: cannot open /usr/src/etc/motd: no such file
 >    |
 >    |  src/etc/motd is no more since [...]
 >
 >  If this PR (one of the older ones) is no longer relevant, please close i=
 t,
 >  that makes one less thing to look at!
 >
 >  Thanks,
 >
 >  kre
 >
 >

 --000000000000b73a48058bb38507
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div><div dir=3D"auto">I think this was either attended-to directly or got =
 fixed in some churn in the same space. I=E2=80=99m happy closing this...</d=
 iv></div><div dir=3D"auto"><br></div><div dir=3D"auto">-bch</div><div dir=
 =3D"auto"><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
 ass=3D"gmail_attr">On Wed, Jun 19, 2019 at 13:25 Robert Elz &lt;<a href=3D"=
 mailto:kre@munnari.oz.au">kre@munnari.oz.au</a>&gt; wrote:<br></div><blockq=
 uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
 solid;padding-left:1ex">The following reply was made to PR install/48097; i=
 t has been noted by GNATS.<br>
 <br>
 From: Robert Elz &lt;<a href=3D"mailto:kre@munnari.OZ.AU" target=3D"_blank"=
 >kre@munnari.OZ.AU</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <br>
 Subject: Re: install/48097: etcupdate and postinstall handling of /etc/motd=
  produces errors<br>
 Date: Thu, 20 Jun 2019 03:22:44 +0700<br>
 <br>
 =C2=A0 =C2=A0 =C2=A0Date:=C2=A0 =C2=A0 =C2=A0 =C2=A0 Wed, 19 Jun 2019 14:55=
 :01 +0000 (UTC)<br>
 =C2=A0 =C2=A0 =C2=A0From:=C2=A0 =C2=A0 =C2=A0 =C2=A0 Valery Ushakov &lt;<a =
 href=3D"mailto:uwe@stderr.spb.ru" target=3D"_blank">uwe@stderr.spb.ru</a>&g=
 t;<br>
 =C2=A0 =C2=A0 =C2=A0Message-ID:=C2=A0 &lt;<a href=3D"mailto:20190619145501.=
 4E1C27A1C0@mollari.NetBSD.org" target=3D"_blank">20190619145501.4E1C27A1C0@=
 mollari.NetBSD.org</a>&gt;<br>
 <br>
 <br>
 =C2=A0 =C2=A0|=C2=A0 On Mon, Jul 29, 2013 at 20:10:00 +0000, <a href=3D"mai=
 lto:brad.harder@gmail.com" target=3D"_blank">brad.harder@gmail.com</a> wrot=
 e:<br>
 =C2=A0 =C2=A0|=C2=A0 <br>
 =C2=A0 =C2=A0|=C2=A0 &gt; eval: cannot open /usr/src/etc/motd: no such file=
 <br>
 =C2=A0 =C2=A0|=C2=A0 <br>
 =C2=A0 =C2=A0|=C2=A0 src/etc/motd is no more since [...]<br>
 <br>
 =C2=A0If this PR (one of the older ones) is no longer relevant, please clos=
 e it,<br>
 =C2=A0that makes one less thing to look at!<br>
 <br>
 =C2=A0Thanks,<br>
 <br>
 =C2=A0kre<br>
 <br>
 </blockquote></div></div>

 --000000000000b73a48058bb38507--

From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/48097: etcupdate and postinstall handling of /etc/motd
 produces errors
Date: Thu, 20 Jun 2019 01:51:40 +0300

 On Wed, Jun 19, 2019 at 21:05:02 +0000, bch wrote:

 > I think this was either attended-to directly or got fixed in some
 > churn in the same space.  I'm happy closing this...

 No, the current motd file now gives you the https url while
 postinstall still checks for http :) If you edit motd to use http,
 you'll see the failure again.

 -uwe

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.